apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr/file_io/unix tempdir.c
Date Wed, 28 Apr 2004 11:43:00 GMT
trawick     2004/04/28 04:43:00

  Modified:    file_io/unix Tag: APR_0_9_BRANCH tempdir.c
  Log:
  backport apr_temp_dir_get() fix from apr-1.0
  
  1.0 fix by:  Thom May
  reviewed by: nd
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.2.2.2   +1 -1      apr/file_io/unix/tempdir.c
  
  Index: tempdir.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/unix/tempdir.c,v
  retrieving revision 1.2.2.1
  retrieving revision 1.2.2.2
  diff -u -r1.2.2.1 -r1.2.2.2
  --- tempdir.c	13 Feb 2004 09:33:43 -0000	1.2.2.1
  +++ tempdir.c	28 Apr 2004 11:43:00 -0000	1.2.2.2
  @@ -30,7 +30,7 @@
   static int test_tempdir(const char *temp_dir, apr_pool_t *p)
   {
       apr_file_t *dummy_file;
  -    const char *path = apr_pstrcat(p, temp_dir, "/apr-tmp", NULL);
  +    const char *path = apr_pstrcat(p, temp_dir, "/apr-tmp.XXXXXX", NULL);
   
       if (apr_file_mktemp(&dummy_file, (char *)path, 0, p) == APR_SUCCESS) {
           if (apr_file_putc('!', dummy_file) == APR_SUCCESS) {
  
  
  

Mime
View raw message