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 Tue, 16 Oct 2001 23:24:10 GMT
bnicholes    01/10/16 16:24:10

  Modified:    file_io/unix filestat.c
  Log:
  Added the default file attributes for NetWare
  
  Revision  Changes    Path
  1.48      +4 -0      apr/file_io/unix/filestat.c
  
  Index: filestat.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/unix/filestat.c,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- filestat.c	2001/09/14 23:21:37	1.47
  +++ filestat.c	2001/10/16 23:24:09	1.48
  @@ -84,8 +84,12 @@
   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;
  
  
  

Mime
View raw message