You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bn...@apache.org on 2002/02/22 21:04:21 UTC

cvs commit: apr/file_io/unix filestat.c

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 {