diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2002-12-17 01:08:45 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2002-12-17 01:08:45 +0000 |
commit | 0d8e4815e74b4f7c1bd18520408673b796bc000a (patch) | |
tree | 011967548bc03be2216f06c0c24ed990ba064f1f /file_io/os2/filestat.c | |
parent | 964afce18a6edea26e5f583ed365d0570d2b79cf (diff) | |
download | libapr-0d8e4815e74b4f7c1bd18520408673b796bc000a.tar.gz |
Brian, for your review. Start catching those scenarios which are UNKFILE
rather than NOFILE on OS2.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64184 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/os2/filestat.c')
-rw-r--r-- | file_io/os2/filestat.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/file_io/os2/filestat.c b/file_io/os2/filestat.c index 6634a1823..7749b35c9 100644 --- a/file_io/os2/filestat.c +++ b/file_io/os2/filestat.c @@ -69,6 +69,7 @@ static void FS3_to_finfo(apr_finfo_t *finfo, FILESTATUS3 *fstatus) finfo->filetype = APR_DIR; else finfo->filetype = APR_REG; + /* XXX: No other possible types from FS3? */ finfo->user = 0; finfo->group = 0; @@ -108,6 +109,12 @@ static apr_status_t handle_type(apr_filetype_e *ftype, HFILE file) case 2: *ftype = APR_PIPE; break; + + default: + /* Brian, is this correct??? + */ + *ftype = APR_UNKFILE; + break; } return APR_SUCCESS; |