Changeset 2810
- Timestamp:
- Sep 9, 2006, 4:15:12 AM (19 years ago)
- Files:
-
- 2 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libc-0.6/src/emx/ChangeLog.LIBC
r2798 r2810 2 2 3 3 TODO: open replace on RAMFS fails with error 32! 4 5 2006-09-08: knut st. osmundsen <bird-gccos2-spam@anduin.net> 6 - libc: 7 o #122: Fixed file creation when opening with read-only access. 4 8 5 9 2006-08-27: knut st. osmundsen <bird-gccos2-spam@anduin.net> -
branches/libc-0.6/src/emx/src/lib/io/_vsopen.c
r2316 r2810 39 39 * Validate input 40 40 */ 41 if ( (fOpen & O_ACCMODE) == O_RDONLY 42 && (fOpen & (O_TRUNC | O_CREAT))) 41 if ((fOpen & O_ACCMODE) == O_ACCMODE) 43 42 { 44 43 errno = EINVAL; … … 155 154 156 155 /* 157 * Reopen the file in write-only Mode if Ctrl-Z hack applied.156 * Reopen the file in write-only mode if Ctrl-Z hack applied. 158 157 */ 159 158 if (fCtrlZKludge) -
branches/libc-0.6/src/emx/src/lib/sys/b_ioFileOpen.c
r2522 r2810 74 74 * Validate input. 75 75 */ 76 if ( (fLibc & O_ACCMODE) == O_RDONLY 77 && (fLibc & (O_TRUNC | O_CREAT))) 76 if ((fOpen & O_ACCMODE) == O_ACCMODE) 78 77 LIBCLOG_ERROR_RETURN_INT(-EINVAL); 79 78 -
branches/libc-0.6/src/libctests/libc/Makefile
r2809 r2810 145 145 IO := \ 146 146 io/open-1.c \ 147 io/open-2.c \ 147 148 io/sprintf-1.c \ 148 149 io/sscanf-1.c -
trunk/libc/ChangeLog.LIBC
r2799 r2810 2 2 3 3 TODO: open replace on RAMFS fails with error 32! 4 5 2006-09-08: knut st. osmundsen <bird-gccos2-spam@anduin.net> 6 - libc: 7 o #122: Fixed file creation when opening with read-only access. 4 8 5 9 2006-08-27: knut st. osmundsen <bird-gccos2-spam@anduin.net> -
trunk/libc/src/kNIX/os2/b_ioFileOpen.c
r2739 r2810 74 74 * Validate input. 75 75 */ 76 if ( (fLibc & O_ACCMODE) == O_RDONLY 77 && (fLibc & (O_TRUNC | O_CREAT))) 76 if ((fOpen & O_ACCMODE) == O_ACCMODE) 78 77 LIBCLOG_ERROR_RETURN_INT(-EINVAL); 79 78 -
trunk/libc/src/libc/io/_vsopen.c
r2739 r2810 39 39 * Validate input 40 40 */ 41 if ( (fOpen & O_ACCMODE) == O_RDONLY 42 && (fOpen & (O_TRUNC | O_CREAT))) 41 if ((fOpen & O_ACCMODE) == O_ACCMODE) 43 42 { 44 43 errno = EINVAL; -
trunk/libc/tests/libc/Makefile
r2809 r2810 145 145 IO := \ 146 146 io/open-1.c \ 147 io/open-2.c \ 147 148 io/sprintf-1.c \ 148 149 io/sscanf-1.c
Note:
See TracChangeset
for help on using the changeset viewer.