From: Eli Zaretskii Newsgroups: comp.os.msdos.djgpp Subject: Re: touch.exe fails for win2000 Date: Sat, 29 Apr 2000 10:25:58 +0200 Organization: NetVision Israel Lines: 22 Message-ID: <390A9C96.850C8FF9@is.elta.co.il> References: <39090D96 DOT EF4DF7DE AT caresystems DOT com DOT au> <39094750 DOT D841F555 AT is DOT elta DOT co DOT il> NNTP-Posting-Host: ras1-p56.rvt.netvision.net.il Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.netvision.net.il 956993146 29313 62.0.172.58 (29 Apr 2000 07:25:46 GMT) X-Complaints-To: abuse AT netvision DOT net DOT il NNTP-Posting-Date: 29 Apr 2000 07:25:46 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 Mike Demoulin wrote: > > >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. > > Setting LFN=n worked. Should I report this as a bug? To whom would you like to report this bug? If you think it's a DJGPP bug, you have already reported it. However, to solve it, someone needs to step with a debugger into the library function `utime' called by `touch' and see why does it fail on Windows 2000. Only then would it be possible to look for solutions. If you want to help solve this bug, please try debugging `utime'. The source of that function is freely available in v2/djlsr203.zip, and the function itself is pretty short. If you want to report that to Microsoft, please do. However, even then I'd guess you will need to know what exactly doesn't work in function 5705h, in order to make a useful bug report.