[sword-cvs] sword/src/mgr filemgr.cpp,1.34,1.35

sword@www.crosswire.org sword@www.crosswire.org
Sat, 17 Jan 2004 00:00:10 -0700


Update of /cvs/core/sword/src/mgr
In directory www:/tmp/cvs-serv16316/src/mgr

Modified Files:
	filemgr.cpp 
Log Message:
ce fixes

Index: filemgr.cpp
===================================================================
RCS file: /cvs/core/sword/src/mgr/filemgr.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- filemgr.cpp	17 Jan 2004 04:33:25 -0000	1.34
+++ filemgr.cpp	17 Jan 2004 07:00:08 -0000	1.35
@@ -80,10 +80,16 @@
 int FileDesc::getFd() {
 	if (fd == -77)
 		fd = parent->sysOpen(this);
+//	if ((fd < -1) && (fd != -77))  // kludge to hand ce
+//		return 777;
 	return fd;
 }
-
-
+/*
+unsigned int FileDesc::getFdu() {
+	getFd();
+	return (unsigned int)fd;
+}
+*/
 FileMgr::FileMgr(int maxFiles) {
 	this->maxFiles = maxFiles;		// must be at least 2
 	files = 0;