wrowe 2002/12/16 17:08:45
Modified: file_io/os2 filestat.c
Log:
Brian, for your review. Start catching those scenarios which are UNKFILE
rather than NOFILE on OS2.
Revision Changes Path
1.30 +7 -0 apr/file_io/os2/filestat.c
Index: filestat.c
===================================================================
RCS file: /home/cvs/apr/file_io/os2/filestat.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- filestat.c 13 Oct 2002 03:34:32 -0000 1.29
+++ filestat.c 17 Dec 2002 01:08:45 -0000 1.30
@@ -69,6 +69,7 @@
finfo->filetype = APR_DIR;
else
finfo->filetype = APR_REG;
+ /* XXX: No other possible types from FS3? */
finfo->user = 0;
finfo->group = 0;
@@ -107,6 +108,12 @@
case 2:
*ftype = APR_PIPE;
+ break;
+
+ default:
+ /* Brian, is this correct???
+ */
+ *ftype = APR_UNKFILE;
break;
}