mpeters wrote:When I run the following code in Windows It returns an error
mpeters wrote:If you do a touch: without the time: parameter, it does set the file timestamp to the current time.
CfsFileDescriptor class>>#tm: aDateAndTimeArray
"Construct a utimbuf from @aDateAndTimeArray."
| time |
^(OSUInt32 new: 4)
at: 0 put: (time := (CfsOSTmPtr fromDateAndTime: aDateAndTimeArray) mktime);
at: 2 put: time;
Users browsing this forum: No registered users and 1 guest