X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Mon, 01 Jun 2015 20:38:45 +0200 From: Damien User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050416 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP v2.05: some thoughts References: <55673F0B DOT 1090103 AT iki DOT fi> <5569d1c7$0$3304$426a34cc AT news DOT free DOT fr> <556AA560 DOT 1060202 AT iki DOT fi> In-Reply-To: <556AA560.1060202@iki.fi> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Lines: 55 Message-ID: <556ca66a$0$3039$426a34cc@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 01 Jun 2015 20:37:30 CEST NNTP-Posting-Host: 82.230.26.21 X-Trace: 1433183850 news-4.free.fr 3039 82.230.26.21:34446 X-Complaints-To: abuse AT proxad DOT net Bytes: 2744 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Andris Pavenis (andris DOT pavenis AT iki DOT fi) wrote: > On 05/30/2015 06:06 PM, Damien wrote: > >> Hello, >> >> I did some test with this version 2.05 and did not get any problem >> using it. The change in memory deallocation time is impressive (less >> than 1s for a bunch of deallocations when it tooks 5s with version 2.04). >> >> Some time ago, I had signaled a trouble with XP NTVDM. The bug is in >> XP, not in DJGPP, and is still present with Seven, but it could easily >> be workarounded in DJGPP. You can get the explanation and associated >> patch in >> http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp/2005/11/21/15:28:15 >> >> The program that allows showing this is the following: >> #include >> #include >> #include >> >> int main(void) { >> struct ffblk desc; >> int status; >> >> strcpy(desc.lfn_magic, "LFN32"); >> status = findfirst("*", &desc, FA_RDONLY | FA_HIDDEN | FA_SYSTEM | >> FA_LABEL | FA_DIREC | FA_ARCH); >> while (status == 0) { >> printf("%s\n", desc.ff_name); >> status = findnext(&desc); >> } >> >> return 0; >> } >> This program shall be executed in a directoy containing 2 files (one >> named a_long_filename, second one named €_euro_char) to show the problem. >> >> > Verified problem presence on Windows Vista and tested change. > > Applied modified patch. Original patch did not apply due to other source > changes. > It happens often when patch is about 10 years OK. > > Andris > > Hello, Thanks for taking care of this and updating the patch. Regards, Damien