You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bj...@apache.org on 2001/09/19 18:01:40 UTC
cvs commit: apr/file_io/os2 filestat.c
bjh 01/09/19 09:01:39
Modified: file_io/os2 filestat.c
Log:
OS/2: Fix value of protection field so that it matches the definitions
in apr_file_info.h
Revision Changes Path
1.24 +1 -1 apr/file_io/os2/filestat.c
Index: filestat.c
===================================================================
RCS file: /home/cvs/apr/file_io/os2/filestat.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- filestat.c 2001/08/31 17:55:31 1.23
+++ filestat.c 2001/09/19 16:01:39 1.24
@@ -63,7 +63,7 @@
static void FS3_to_finfo(apr_finfo_t *finfo, FILESTATUS3 *fstatus)
{
- finfo->protection = (fstatus->attrFile & FILE_READONLY) ? 0555 : 0777;
+ finfo->protection = (fstatus->attrFile & FILE_READONLY) ? 0x555 : 0x777;
if (fstatus->attrFile & FILE_DIRECTORY)
finfo->filetype = APR_DIR;