Change 11503 by jhi@wayland on 2001/07/30 13:52:14

        Integrate change #11051 from macperl; O_RDONLY is not zero
        everywhere.

Affected files ...

... //depot/perl/doio.c#166 integrate

Differences ...

==== //depot/perl/doio.c#166 (text) ====
Index: perl/doio.c
--- perl/doio.c.~1~     Mon Jul 30 08:00:05 2001
+++ perl/doio.c Mon Jul 30 08:00:05 2001
@@ -174,7 +174,7 @@
             IoTYPE(io) = IoTYPE_RDWR;
             break;
        }
-       writing = (result > 0);
+       writing = (result != O_RDONLY);
 
        if (result == O_RDONLY) {
            mode[ix++] = 'r';
End of Patch.

Reply via email to