- Timestamp:
- Aug 28, 2006, 2:36:40 AM (19 years ago)
- Location:
- trunk/libc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libc/ChangeLog.LIBC
r2793 r2794 5 5 2006-08-27: knut st. osmundsen <bird-gccos2-spam@anduin.net> 6 6 - libc: 7 o Corrected DosSetFHState mask. Fixes #118. 7 8 o Implemented the new length modifiers for *scanf. Adjusted the length 8 9 modifier implementation for *printf. Fixes #76. (from 0.6) -
trunk/libc/src/kNIX/filehandles.c
r2739 r2794 1391 1391 if (fulNewState != fulState) 1392 1392 { 1393 fulNewState &= 0x7f88; /* Mask the flags accepted the API. */1393 fulNewState &= OPEN_FLAGS_WRITE_THROUGH | OPEN_FLAGS_FAIL_ON_ERROR | OPEN_FLAGS_NO_CACHE | OPEN_FLAGS_NOINHERIT; /* Turn off non-participating bits. */ 1394 1394 rc = DosSetFHState(fh, fulNewState); 1395 1395 } … … 1502 1502 { 1503 1503 fulState = fulState & ~OPEN_FLAGS_NOINHERIT; 1504 fulState &= 0x7f88; /* Mask the flags accepted by the API. */1504 fulState &= OPEN_FLAGS_WRITE_THROUGH | OPEN_FLAGS_FAIL_ON_ERROR | OPEN_FLAGS_NO_CACHE | OPEN_FLAGS_NOINHERIT; /* Turn off non-participating bits. */ 1505 1505 rc = DosSetFHState(iFH, fulState); 1506 1506 } … … 1624 1624 { 1625 1625 fulState |= OPEN_FLAGS_NOINHERIT; 1626 fulState &= 0x7f88; /* Mask the flags accepted by the API. */1626 fulState &= OPEN_FLAGS_WRITE_THROUGH | OPEN_FLAGS_FAIL_ON_ERROR | OPEN_FLAGS_NO_CACHE | OPEN_FLAGS_NOINHERIT; /* Turn off non-participating bits. */ 1627 1627 rc = DosSetFHState(iFH, fulState); 1628 1628 } … … 1693 1693 { 1694 1694 fulState |= OPEN_FLAGS_NOINHERIT; 1695 fulState &= 0x7f88; /* Mask the flags accepted by the API. */1695 fulState &= OPEN_FLAGS_WRITE_THROUGH | OPEN_FLAGS_FAIL_ON_ERROR | OPEN_FLAGS_NO_CACHE | OPEN_FLAGS_NOINHERIT; /* Turn off non-participating bits. */ 1696 1696 rc = DosSetFHState(iFH, fulState); 1697 1697 }
Note:
See TracChangeset
for help on using the changeset viewer.