bjh 99/10/18 07:55:20
Modified: src/lib/apr/file_io/os2 open.c
Log:
OS/2: Fix flags to DosOpen() so that mutually exclusive flags aren't used
at the same time.
Revision Changes Path
1.8 +1 -1 apache-2.0/src/lib/apr/file_io/os2/open.c
Index: open.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/os2/open.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- open.c 1999/10/18 10:23:21 1.7
+++ open.c 1999/10/18 14:55:19 1.8
@@ -112,7 +112,7 @@
if (flag & APR_TRUNCATE) {
oflags |= OPEN_ACTION_REPLACE_IF_EXISTS;
- } else {
+ } else if ((oflags & 0xF) == 0) {
oflags |= OPEN_ACTION_OPEN_IF_EXISTS;
}