[sword-svn] r1807 - trunk/include
chrislit at crosswire.org
chrislit at crosswire.org
Thu May 12 17:44:17 MST 2005
Author: chrislit
Date: 2005-05-12 17:44:17 -0700 (Thu, 12 May 2005)
New Revision: 1807
Modified:
trunk/include/filemgr.h
Log:
changed S_I{READ|WRITE} to I{READ|WRITE}
removed declaration of S_I{READ|WRITE} for VC
Modified: trunk/include/filemgr.h
===================================================================
--- trunk/include/filemgr.h 2005-05-12 23:46:39 UTC (rev 1806)
+++ trunk/include/filemgr.h 2005-05-13 00:44:17 UTC (rev 1807)
@@ -25,11 +25,6 @@
#include <sys/stat.h>
#include <fcntl.h>
-#ifndef S_IREAD
-#define S_IREAD 0000400 // Read permission, owner
-#define S_IWRITE 0000200 // Write permission, owner
-#endif
-
#include <defs.h>
#include <swbuf.h>
#include <swcacher.h>
@@ -137,7 +132,7 @@
* @param tryDowngrade
* @return FileDesc object for the requested file.
*/
- FileDesc *open(const char *path, int mode, int perms = S_IREAD | S_IWRITE, bool tryDowngrade = false);
+ FileDesc *open(const char *path, int mode, int perms = IREAD | IWRITE, bool tryDowngrade = false);
/** Close a given file and delete its FileDesc object.
* Will only close the file if it was created by this FileMgr object.
More information about the sword-cvs
mailing list