bjh 2003/11/19 04:21:13
Modified: file_io/os2 filestat.c
Log:
OS/2: Include APR_FINFO_LINK in the valid flags by default. As OS/2 doesn't
have sym-links we can be sure the filename isn't one. This keeps the call
to apr_stat() in apr_filepath_merge() happy instead of getting APR_INCOMPLETE.
Revision Changes Path
1.39 +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.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- filestat.c 3 Sep 2003 18:26:57 -0000 1.38
+++ filestat.c 19 Nov 2003 12:21:13 -0000 1.39
@@ -85,7 +85,7 @@
fstatus->ftimeCreation );
finfo->valid = APR_FINFO_TYPE | APR_FINFO_PROT | APR_FINFO_SIZE
| APR_FINFO_CSIZE | APR_FINFO_MTIME
- | APR_FINFO_CTIME | APR_FINFO_ATIME;
+ | APR_FINFO_CTIME | APR_FINFO_ATIME | APR_FINFO_LINK;
}