X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Andrew Cottrell Newsgroups: comp.os.msdos.djgpp Subject: Re: cp.exe bug Date: Sun, 05 Sep 2004 10:01:10 +1000 Organization: HOME Message-ID: References: <01c4929c$Blat.v2.2.2$92cbcdc0 AT zahav DOT net DOT il> X-Newsreader: Forte Agent 2.0/32.652 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 29 NNTP-Posting-Host: 220.233.15.233 X-Trace: 1094334235 un-2park-reader-01.sydney.pipenetworks.com.au 31717 220.233.15.233:1254 X-Complaints-To: Abuse, including message IDs to abuse AT pipenetworks DOT com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >>>cp.exe from fil41b.zip (beta) has a bug. >>>If mydirectory directory contains more than 2000 files, >>>and no sub directory inside (maybe this is not related). >>> >>>C:> cp -r mydirectory newdir >>>cp: cannot access `mydirectory': No such file or directory (ENOENT) >>>C:> >>> >>>However, mydirectory does exist and is accessable. >>>If I use cp.exe from fil41b.zip (alpha), the copy is successful. There were bugs found with cp.exe in fileutils / libc code during the DJGPP changes to get it working on Win 2000 / XP. If my memory is correct then this looks like one of them that has allready been fixed. The date of the cp.exe executable should be October or Novemeber 2003 from memroy. If you do not have this version then try the fileutils at the following URL:- http://clio.rice.edu/djgpp/win2k/main_204.htm As I have not put any source for the fileutils to download then there should have been no changes to the fileutils source code. LIBC would Please read the following to find out more about the 2.04 beta release. http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp-announce/2003/12/06/22:18:05 Andrew