www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/28/04:41:15

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: touch.exe fails for win2000
Date: Fri, 28 Apr 2000 10:09:52 +0200
Organization: NetVision Israel
Lines: 24
Message-ID: <39094750.D841F555@is.elta.co.il>
References: <slrn8ggm5v DOT 3vvtka9 DOT mad AT asylum DOT fasttrack DOT net> <39090D96 DOT EF4DF7DE AT caresystems DOT com DOT au>
NNTP-Posting-Host: ras1-p71.rvt.netvision.net.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 956905778 16217 62.0.172.73 (28 Apr 2000 07:09:38 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 28 Apr 2000 07:09:38 GMT
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en,ru,hebrew
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019