From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: which crashes Date: 23 Sep 2001 18:07:20 GMT Organization: Cornell University Lines: 33 Sender: asu1 AT cornell DOT invalid (on slip-32-102-40-235.ny.us.prserv.net) Message-ID: References: <2593-Sun23Sep2001185000+0300-eliz AT is DOT elta DOT co DOT il> NNTP-Posting-Host: slip-32-102-40-235.ny.us.prserv.net X-Trace: news01.cit.cornell.edu 1001268440 13553 32.102.40.235 (23 Sep 2001 18:07:20 GMT) X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu NNTP-Posting-Date: 23 Sep 2001 18:07:20 GMT User-Agent: Xnews/4.06.22 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Eli Zaretskii" wrote in news:2593-Sun23Sep2001185000+0300-eliz AT is DOT elta DOT co DOT il: > FWIW, I think there's one more, this time harmless, bug in both for > loops: the call to strlen(full_path) inside the call to xrealloc > causes the allocated string to grow larger and larger, for no good > reason. If someone plans on uploading a fixed version (hint, hint ;-), > I'd suggest to fix that as well... i'll look into it but can't really promise anything now. >> === AUTOEXEC.BAT (relevant section) === > > You didn't show all the relevant sections, I think: the bug only > raises its ugly head if the environment variable WHICH is set. This > is the risk in showing ``only relevant sections'' ;-) it was the only relevant section is the autoexec.bat. i do not use COMMON sections, and each configuration is isolated. however, i forgot to include the relevant section from DJGPP.ENV where I have WHICH=.pl oooopps! thanks for the response and the patch. sinan. -- -------------------------------- A. Sinan Unur http://www.unur.com/