apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: apr/file_io/unix mktemp.c
Date Fri, 18 Jan 2002 19:16:29 GMT
jerenkrantz    02/01/18 11:16:29

  Modified:    .        CHANGES
               file_io/unix mktemp.c
  Log:
  apr_file_mktemp should APR_CREATE the tmp file
  Submitted by:	John Sterling <sterling@covalent.net>
  Reviewed by:	Justin Erenkrantz
  
  Revision  Changes    Path
  1.209     +3 -0      apr/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr/CHANGES,v
  retrieving revision 1.208
  retrieving revision 1.209
  diff -u -r1.208 -r1.209
  --- CHANGES	15 Jan 2002 14:24:51 -0000	1.208
  +++ CHANGES	18 Jan 2002 19:16:28 -0000	1.209
  @@ -1,5 +1,8 @@
   Changes with APR b1  
   
  +  *) Ensure that apr_file_mktemp creates the temp file if it isn't there.
  +     [John Sterling <sterling@covalent.net>]
  +
     *) Make sure to pre-mark anon SysV shared memory segments as
        removed. [Jim Jagielski]
   
  
  
  
  1.20      +2 -1      apr/file_io/unix/mktemp.c
  
  Index: mktemp.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/unix/mktemp.c,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- mktemp.c	8 Jan 2002 12:29:38 -0000	1.19
  +++ mktemp.c	18 Jan 2002 19:16:29 -0000	1.20
  @@ -207,7 +207,8 @@
   #ifdef HAVE_MKSTEMP
       int fd;
   #endif
  -    flags = (!flags) ? APR_READ | APR_WRITE | APR_EXCL | APR_DELONCLOSE : flags;
  +    flags = (!flags) ? APR_CREATE | APR_READ | APR_WRITE | APR_EXCL | 
  +                       APR_DELONCLOSE : flags;
   #ifndef HAVE_MKSTEMP
       return gettemp(template, fp, flags, p);
   #else
  
  
  

Mime
View raw message