You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2001/03/02 22:07:42 UTC
cvs commit: apr/file_io/unix filestat.c
trawick 01/03/02 13:07:41
Modified: file_io/unix filestat.c
Log:
mode_t works better than int for the mode, since on SGI mode_t is wider
PR: 6980
Revision Changes Path
1.45 +1 -1 apr/file_io/unix/filestat.c
Index: filestat.c
===================================================================
RCS file: /home/cvs/apr/file_io/unix/filestat.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- filestat.c 2001/02/16 04:15:37 1.44
+++ filestat.c 2001/03/02 21:07:37 1.45
@@ -58,7 +58,7 @@
#include "apr_strings.h"
#include "apr_errno.h"
-static apr_filetype_e filetype_from_mode(int mode)
+static apr_filetype_e filetype_from_mode(mode_t mode)
{
apr_filetype_e type = APR_NOFILE;