Re: [racket-users] windows, file-or-directory-modify-seconds, can't find errno set to ENOENT

2019-11-01 Thread 'Wayne Harris' via Racket Users
‐‐‐ Original Message ‐‐‐ On Friday, November 1, 2019 6:40 PM, 'Wayne Harris' via Racket Users wrote: > ‐‐‐ Original Message ‐‐‐ > On Friday, November 1, 2019 5:46 PM, Matthew Flatt mfl...@cs.utah.edu wrote: > > > Racket uses the native Windows API for filesystem operations, so

Re: [racket-users] windows, file-or-directory-modify-seconds, can't find errno set to ENOENT

2019-11-01 Thread 'Wayne Harris' via Racket Users
‐‐‐ Original Message ‐‐‐ On Friday, November 1, 2019 5:46 PM, Matthew Flatt wrote: > Racket uses the native Windows API for filesystem operations, so it > generally creates exceptions with a 'windows value in the `errno` field > instead of a 'posix value. The `UNC_stat` function is also

Re: [racket-users] windows, file-or-directory-modify-seconds, can't find errno set to ENOENT

2019-11-01 Thread Matthew Flatt
Racket uses the native Windows API for filesystem operations, so it generally creates exceptions with a 'windows value in the `errno` field instead of a 'posix value. The `UNC_stat` function is also implemented in "rktio_fs.c". But you don't seem to be getting a 'windows error, either, and I

[racket-users] windows, file-or-directory-modify-seconds, can't find errno set to ENOENT

2019-11-01 Thread 'Wayne Harris' via Racket Users
I have a function called ``older-than-days?'' which produces true if a path is older than a number of days. (Source code at the end of the message.) rac...@util.rkt> (older-than-days? 30 "c:/autoexec.bat") #t On Windows, if I give it a non-existent file, I can't seem to get an errno set to