apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: apr/file_io/unix filedup.c
Date Mon, 14 Jan 2002 22:33:22 GMT
bnicholes    02/01/14 14:33:21

  Modified:    file_io/unix filedup.c
  Log:
  dup2() appears to be broken.  Sticking with dup() until we can fix it.
  
  Revision  Changes    Path
  1.43      +4 -0      apr/file_io/unix/filedup.c
  
  Index: filedup.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/unix/filedup.c,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- filedup.c	12 Jan 2002 15:07:17 -0000	1.42
  +++ filedup.c	14 Jan 2002 22:33:21 -0000	1.43
  @@ -141,6 +141,10 @@
   APR_DECLARE(apr_status_t) apr_file_dup2(apr_file_t **new_file,
                                           apr_file_t *old_file, apr_pool_t *p)
   {
  +#ifdef NETWARE
  +    return _file_dup(new_file, old_file, p, 1);
  +#else
       return _file_dup(new_file, old_file, p, 2);
  +#endif
   }
   
  
  
  

Mime
View raw message