facebook twitter google+ linkedin reddit delicious stumbleupon

FileModifySeconds.so

Gang stalking electronic harassment implants website sharing buttons gang stalking electronic harassment implants

gsehi.com > Computing > Software > Mac OS > FileModifySeconds.so

Extensions folder Finder icon

ZIP file icon Download FileModifySeconds.so (StuffIt X, 1.2 K)

Purpose

On January 28, 2006, PLT-Scheme 1.0.1 started to display a negative value for (file-or-directory-modify-seconds path). Such values can’t be converted to dates.

This extension solves this problem. It introduces a new function (file-modify-seconds path).

Limitations

This fix will work until Monday, February 6th, 2040.

Background

It was written in C.

It’s PPC code.

Use

Copy FileModifySeconds.so to the same folder as your source code and open the source code in DrScheme.

Example

Example 1

(require-library "date.ss")

(define test "Temp:Test.htm")
(define md-sec (file-or-directory-modify-seconds test))
(define md-dat (seconds->date md-sec))
(define readable (date->string md-dat))

readable

Result:

seconds->date: integer -767635917 is out-of-range

Example 2

(require-library "date.ss")
(load-extension "FileModifySeconds.so")

(define test "Temp:Test.htm")
(define md-sec (file-modify-seconds test))
(define md-dat (seconds->date md-sec))
(define readable (date->string md-dat))

readable

Result:

"Saturday, October 10th, 2015"

Disclaimer

This software is provided as is. There is no guarantee whatsoever. I will under no circumstance accept any liability for possible damage.

This software is licensed to you, for your own use. This is copyrighted software. You are not obtaining title to the software or any copyright rights. You may not sublicense, rent, lease, convey, modify, translate, convert to other programming languages, decompile, or disassemble this software for any purpose.

You may make as many copies of this software as you need for back-up purposes. In addition, you may use this program on more than one computer.

I disclaim all warranties relating to this software, whether expressed or implied, including but not limited to any implied warranties of merchantability and fitness for a particular purpose, and all such warranties are expressly and specifically disclaimed. I will never be liable for any indirect, consequential, or incidental damages arising out of the use or inability to use such software even if I have been advised of the possibility of such damages or claims. In no event shall my liability for any damages ever exceed the price paid for the license to use the software, regardless of the form of the claim. The person using the software bears all risk as to the quality and performance of the software.

© 2017 Cliff Huylebroeck