Hi!

30-Дек-2004 00:35 Arkady V.Belousov wrote to
[email protected]:

>> Remove hack in Int 21h AH=38h, revert bad change in _CmdInstall
>> +++ inthndlr.c        29 Dec 2004 19:27:31 -0000      1.87.2.11
>> -          rc = DosGetCountryInformation(cntry, FP_DS_DX);
>> -          if (rc >= SUCCESS)
>> -          {
>> -            /* HACK FIXME */
------------------------^^^^^

     Note: keyword here not "hack", but "fixme". Code below should return
correct current code in AX and BX instead built-in 1...

>> -            if (cntry == (UWORD) - 1)
>> -              cntry = 1;
>> -            /* END OF HACK */
>> -            lr.AX = lr.BX = cntry;
>> -          }
>> +          rc = DosGetCountryInformation(lr.BX ? lr.BX : NLS_DEFAULT, 
>> FP_DS_DX);
>>          }

     ...but:

AVB>      Bug: INT 21/38 should return country code in AX and BX when CF=0, even
AVB> if initially there was AL=0 or AL=-1. New code returns wrong value when
AVB> AL=0 or -1 - in this case there will _not_ returned requred country code.




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Freedos-kernel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to