apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/file_io/win32 filedup.c
Date Fri, 11 Jan 2002 09:53:21 GMT
wrowe       02/01/11 01:53:21

  Modified:    file_io/win32 filedup.c
  Log:
    Compiler doesn't distinguish between void** and void*, apparently.
    It didn't notice this, I did.
  
  Revision  Changes    Path
  1.36      +3 -3      apr/file_io/win32/filedup.c
  
  Index: filedup.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/win32/filedup.c,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- filedup.c	11 Jan 2002 09:51:23 -0000	1.35
  +++ filedup.c	11 Jan 2002 09:53:21 -0000	1.36
  @@ -66,7 +66,7 @@
       HANDLE newhand = NULL;
           
       if (!DuplicateHandle(hproc, old_file->filehand, 
  -                         hproc, newhand, 0, FALSE, 
  +                         hproc, &newhand, 0, FALSE, 
                            DUPLICATE_SAME_ACCESS)) {
           return apr_get_os_error();
       }
  @@ -111,7 +111,7 @@
   
       if (stdhandle != -1) {
           if (!DuplicateHandle(hproc, old_file->filehand, 
  -                             hproc, newhand, 0,
  +                             hproc, &newhand, 0,
                                TRUE, DUPLICATE_SAME_ACCESS)) {
               return apr_get_os_error();
           }
  @@ -122,7 +122,7 @@
       }
       else {
           if (!DuplicateHandle(hproc, old_file->filehand, 
  -                             hproc, newhand, 0,
  +                             hproc, &newhand, 0,
                                FALSE, DUPLICATE_SAME_ACCESS)) {
               return apr_get_os_error();
           }
  
  
  

Mime
View raw message