Changeset 2795 for branches/libc-0.6/src/emx
- Timestamp:
- Aug 28, 2006, 2:37:24 AM (19 years ago)
- Location:
- branches/libc-0.6/src/emx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libc-0.6/src/emx/ChangeLog.LIBC
r2792 r2795 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. -
branches/libc-0.6/src/emx/src/lib/sys/filehandles.c
r2570 r2795 1291 1291 if (fulNewState != fulState) 1292 1292 { 1293 fulNewState &= 0x7f88; /* Mask the flags accepted the API. */1293 fulNewState &= OPEN_FLAGS_WRITE_THROUGH | OPEN_FLAGS_FAIL_ON_ERROR | OPEN_FLAGS_NO_CACHE | OPEN_FLAGS_NOINHERIT; /* Turn off non-participating bits. */ 1294 1294 rc = DosSetFHState(fh, fulNewState); 1295 1295 } … … 1384 1384 { 1385 1385 fulState = fulState & ~OPEN_FLAGS_NOINHERIT; 1386 fulState &= 0x7f88; /* Mask the flags accepted by the API. */1386 fulState &= OPEN_FLAGS_WRITE_THROUGH | OPEN_FLAGS_FAIL_ON_ERROR | OPEN_FLAGS_NO_CACHE | OPEN_FLAGS_NOINHERIT; /* Turn off non-participating bits. */ 1387 1387 rc = DosSetFHState(iFH, fulState); 1388 1388 } … … 1506 1506 { 1507 1507 fulState |= OPEN_FLAGS_NOINHERIT; 1508 fulState &= 0x7f88; /* Mask the flags accepted by the API. */1508 fulState &= OPEN_FLAGS_WRITE_THROUGH | OPEN_FLAGS_FAIL_ON_ERROR | OPEN_FLAGS_NO_CACHE | OPEN_FLAGS_NOINHERIT; /* Turn off non-participating bits. */ 1509 1509 rc = DosSetFHState(iFH, fulState); 1510 1510 } … … 1575 1575 { 1576 1576 fulState |= OPEN_FLAGS_NOINHERIT; 1577 fulState &= 0x7f88; /* Mask the flags accepted by the API. */1577 fulState &= OPEN_FLAGS_WRITE_THROUGH | OPEN_FLAGS_FAIL_ON_ERROR | OPEN_FLAGS_NO_CACHE | OPEN_FLAGS_NOINHERIT; /* Turn off non-participating bits. */ 1578 1578 rc = DosSetFHState(iFH, fulState); 1579 1579 }
Note:
See TracChangeset
for help on using the changeset viewer.