mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-26 23:34:18 +02:00
Fix COUNTRY.SYS error processing logic when UCASE is used as FUCASE
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1052 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
1e507dae69
commit
08e3c61ebc
@ -1235,8 +1235,8 @@ err:printf("%s has invalid format\n", filename);
|
||||
continue;
|
||||
if (lseek(fd, hdr[i].offset) == 0xffffffffL
|
||||
|| read(fd, &subf_data, 10) < 10
|
||||
|| memcmp(subf_data.signature, table[hdr[i].id].sig, 8) && hdr[i].id == 4
|
||||
&& memcmp(subf_data.signature, table[2].sig, 8) /* UCASE for FUCASE ^*/
|
||||
|| memcmp(subf_data.signature, table[hdr[i].id].sig, 8) && (hdr[i].id !=4
|
||||
|| memcmp(subf_data.signature, table[2].sig, 8)) /* UCASE for FUCASE ^*/
|
||||
|| read(fd, subf_data.buffer, subf_data.length) < subf_data.length)
|
||||
goto err;
|
||||
if (hdr[i].id == 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user