Mail Archives: djgpp-workers/2002/03/02/10:41:26
Hello.
Eli Zaretskii wrote:
[snip]
> cp will print this:
>
> dir1 -> dir2/dir1
> dir1/file1 -> dir2/dir1/file1
> cp: preserving times for dir2/dir1: Permission denied (EACCES)
> dir1/file2 -> dir2/dir1/file2
> dir1/file3 -> dir2/dir1/file3
>
> I understand why the error message is printed, but the DJGPP port
> shouldn't print it, since we know DOS/Windows doesn't let us change
> the time stamps of directories, so this failure is normal behavior,
> not something the user should be bothered with.
Since later versions of Windows can support this, I don't think the warning
needs to be suppressed.
Fileutils 4.0 avoids trying to set the timestamp in some cases, to avoid
failing on older versions of Windows. For the Fileutils 4.1 port, I'll make it
conditional on the OS version - i.e. try setting for Windows 2000 and later -
so the functionality is supported, where possible.
BTW src/libc/dos/dos/getdos_v.txh
does not describe _os_trueversion at all. I think it should, like it does for
_os_minor and _os_major.
Thanks for the bug report.
Thanks, bye, Rich =]
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
- Raw text -