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 filestat.c
Date Fri, 22 Feb 2002 20:04:21 GMT
bnicholes    02/02/22 12:04:21

  Modified:    file_io/unix filestat.c
  Log:
  Removed the NetWare #ifdef's.  NetWare has its own version of filestat.c
  
  Revision  Changes    Path
  1.51      +0 -10     apr/file_io/unix/filestat.c
  
  Index: filestat.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/unix/filestat.c,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- filestat.c	11 Feb 2002 21:03:44 -0000	1.50
  +++ filestat.c	22 Feb 2002 20:04:21 -0000	1.51
  @@ -84,12 +84,8 @@
   static void fill_out_finfo(apr_finfo_t *finfo, struct stat *info,
                              apr_int32_t wanted)
   { 
  -#ifdef NETWARE
  -    finfo->valid = APR_FINFO_MIN | APR_FINFO_IDENT | APR_FINFO_NLINK;
  -#else
       finfo->valid = APR_FINFO_MIN | APR_FINFO_IDENT | APR_FINFO_NLINK
                    | APR_FINFO_OWNER | APR_FINFO_PROT;
  -#endif
       finfo->protection = apr_unix_mode2perms(info->st_mode);
       finfo->filetype = filetype_from_mode(info->st_mode);
       finfo->user = info->st_uid;
  @@ -204,12 +200,6 @@
           fill_out_finfo(finfo, &info, wanted);
           if (wanted & APR_FINFO_LINK)
               wanted &= ~APR_FINFO_LINK;
  -#ifdef NETWARE
  -        if (wanted & APR_FINFO_NAME) {
  -            finfo->name = apr_pstrdup(cont, info.st_name);
  -            finfo->valid |= APR_FINFO_NAME;
  -        }
  -#endif
           return (wanted & ~finfo->valid) ? APR_INCOMPLETE : APR_SUCCESS;
       }
       else {
  
  
  

Mime
View raw message