X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "one2001boy AT yahoo DOT com" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: cp.exe bug References: <01c4929c$Blat.v2.2.2$92cbcdc0 AT zahav DOT net DOT il> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 42 Message-ID: <_ex_c.11840$QJ3.11029@newssvr21.news.prodigy.com> NNTP-Posting-Host: 68.125.129.136 X-Complaints-To: abuse AT prodigy DOT net X-Trace: newssvr21.news.prodigy.com 1094361146 ST000 68.125.129.136 (Sun, 05 Sep 2004 01:12:26 EDT) NNTP-Posting-Date: Sun, 05 Sep 2004 01:12:26 EDT Organization: SBC http://yahoo.sbc.com X-UserInfo1: Q[R_PJONEZVSSWLSX@]D]_\@VR]^@B AT MCPWZKB]MPXHTEPIB_NVUAH_[BL[\IRKIANGGJBFNJF_DOLSCENSY^U AT FRFUEXR@KFXYDBPWBCDQJA AT X_DCBHXR[C@\EOKCJLED_SZ AT RMWYXYWE_P@\\GOIW^@SYFFSWHFIXMADO@^[ADPRPETLBJ]RDGENSKQQZN Date: Sun, 05 Sep 2004 05:12:26 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Andrew Cottrell wrote: >>>>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. so it is the change of libc for beta building? I tried cp.exe from your link below again, the beta version of cp.exe doesn't work. If the directory contains less files such as a couple of files, "cp -r" will work. However, the alpha version of cp.exe works fine for directory with either many files or less files. > > 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 >