apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject cvs commit: apr/file_io/unix dir.c
Date Sun, 15 Dec 2002 00:15:06 GMT
brianp      2002/12/14 16:15:06

  Modified:    file_io/unix dir.c
  Log:
  fix dependency on a nonexistent function, and remove an unused variable
  
  Revision  Changes    Path
  1.66      +1 -4      apr/file_io/unix/dir.c
  
  Index: dir.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/unix/dir.c,v
  retrieving revision 1.65
  retrieving revision 1.66
  diff -u -r1.65 -r1.66
  --- dir.c	14 Dec 2002 05:55:03 -0000	1.65
  +++ dir.c	15 Dec 2002 00:15:06 -0000	1.66
  @@ -171,9 +171,6 @@
                             apr_dir_t *thedir)
   {
       apr_status_t ret = 0;
  -#ifdef DIRENT_TYPE
  -    apr_filetype_e type;
  -#endif
   #if APR_HAS_THREADS && defined(_POSIX_THREAD_SAFE_FUNCTIONS) \
                       && !defined(READDIR_IS_THREAD_SAFE)
       struct dirent *retent;
  @@ -242,7 +239,7 @@
           finfo->pool = thedir->pool;
           finfo->valid = 0;
   #ifdef DIRENT_TYPE
  -        finfo->filetype = apr_type_from_dirent_type(thedir->entry->DIRENT_TYPE);
  +        finfo->filetype = apr_filetype_from_dirent_type(thedir->entry->DIRENT_TYPE);
           finfo->valid |= APR_FINFO_TYPE;
   #endif
   #ifdef DIRENT_INODE
  
  
  

Mime
View raw message