apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aa...@apache.org
Subject cvs commit: apr/locks/unix crossproc.c
Date Tue, 23 Oct 2001 19:51:32 GMT
aaron       01/10/23 12:51:32

  Modified:    locks/unix crossproc.c
  Log:
  apr_file_mkstemp() already returned the error that we were interested in,
  so we don't have to depend on errno any longer.
  
  Revision  Changes    Path
  1.55      +1 -3      apr/locks/unix/crossproc.c
  
  Index: crossproc.c
  ===================================================================
  RCS file: /home/cvs/apr/locks/unix/crossproc.c,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -r1.54 -r1.55
  --- crossproc.c	2001/09/24 05:41:57	1.54
  +++ crossproc.c	2001/10/23 19:51:32	1.55
  @@ -390,10 +390,8 @@
       }
   
       if (rv != APR_SUCCESS) {
  -        apr_status_t stat = errno;
  -
           fcntl_cleanup(new);
  -        return stat;
  +        return rv;
       }
   
       new->curr_locked=0;
  
  
  

Mime
View raw message