At Mon, 10 May 2021 17:16:53 -0700 (PDT), Don Green wrote:
> From Racket doc: "File permissions are transferred from src to dest; on 
> Windows, the modification time of src is also transferred to dest."
> 
> Is the above line meant to imply that a unix/linux version of Racket will 
> NOT preserve file attributes using copy-file?

Yes, that's right.

The intent is to mirror the most common convention for file copies on
each platform. On Unix, `cp` sets the copied file's timestamp to the
current time. On Windows, `copy` gives the copy the original file's
timestamp. (These conventions are also reflected by the system APIs
that racket uses.)


Matthew

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/20210511051842.d4%40sirmail.smtps.cs.utah.edu.

Reply via email to