Mail Archives: djgpp/2000/04/28/04:41:15
leon wrote:
>
> Mike Demoulin wrote:
> >
> > Touch.exe fails for win2000 with EIO. Is this a known bug, or is there a
> > ready fix? I searched the archives with no joy, and am stumped on this
> > one. Any help woldb be apreciated.
>
> where could one get this touch application?
`touch' is part of the GNU Fileutils package (v2gnu/fil316b.zip).
To the original poster: no, this is not a known bug.
I'm guessing that Windows 2000 doesn't like the system calls issued by
`touch' to set the file's time stamp. Someone should step with a debugger
into the library function `utime', which `touch' calls, and see what's going
on there on W2K. I cannot do this myself, since I don't have access to a W2K
machine.
You could try to set LFN=n and see if that makes the problem go away. If it
does, it means that W2K somehow doesn't support function 5705h of Int 21h
provided by Windows 9X for setting the file's last-access time, or has some
problem with that function.
- Raw text -