[sword-cvs] sword/src/mgr filemgr.cpp,1.23,1.24
sword@www.crosswire.org
sword@www.crosswire.org
Mon, 24 Feb 2003 21:12:49 -0700
Update of /usr/local/cvsroot/sword/src/mgr
In directory www:/tmp/cvs-serv2325/src/mgr
Modified Files:
filemgr.cpp
Log Message:
no message
Index: filemgr.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/mgr/filemgr.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** filemgr.cpp 1 Oct 2002 19:52:40 -0000 1.23
--- filemgr.cpp 25 Feb 2003 04:12:47 -0000 1.24
***************
*** 44,48 ****
! FileDesc::FileDesc(FileMgr *parent, char *path, int mode, int perms, bool tryDowngrade) {
this->parent = parent;
this->path = 0;
--- 44,48 ----
! FileDesc::FileDesc(FileMgr *parent, const char *path, int mode, int perms, bool tryDowngrade) {
this->parent = parent;
this->path = 0;
***************
*** 89,97 ****
! FileDesc *FileMgr::open(char *path, int mode, bool tryDowngrade) {
return open(path, mode, S_IREAD | S_IWRITE, tryDowngrade);
}
! FileDesc *FileMgr::open(char *path, int mode, int perms, bool tryDowngrade) {
FileDesc **tmp, *tmp2;
--- 89,97 ----
! FileDesc *FileMgr::open(const char *path, int mode, bool tryDowngrade) {
return open(path, mode, S_IREAD | S_IWRITE, tryDowngrade);
}
! FileDesc *FileMgr::open(const char *path, int mode, int perms, bool tryDowngrade) {
FileDesc **tmp, *tmp2;