Mail Archives: djgpp/2015/06/01/14:45:12
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 <stdio.h>
>> #include <string.h>
>> #include <dir.h>
>>
>> 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
- Raw text -