httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@hyperreal.org
Subject cvs commit: apache-2.0/src/lib/apr/file_io/unix open.c
Date Sat, 11 Sep 1999 20:42:58 GMT
ben         99/09/11 13:42:58

  Modified:    src/lib/apr/file_io/unix open.c
  Log:
  Test for open failure correctly.
  
  Revision  Changes    Path
  1.8       +1 -1      apache-2.0/src/lib/apr/file_io/unix/open.c
  
  Index: open.c
  ===================================================================
  RCS file: /export/home/cvs/apache-2.0/src/lib/apr/file_io/unix/open.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- open.c	1999/09/07 21:24:37	1.7
  +++ open.c	1999/09/11 20:42:58	1.8
  @@ -168,7 +168,7 @@
           }    
       }
   
  -    if ((*new)->filedes < 0 && (*new)->filehand == NULL) {
  +    if ((*new)->filedes < 0 || (*new)->filehand == NULL) {
          (*new)->filedes = -1;
          (*new)->eof_hit = 1;
           return errno;
  
  
  

Mime
View raw message