[sword-devel] bug found?

Martin Gruner sword-devel@crosswire.org
Mon, 3 Mar 2003 17:16:06 +0100


While looking through some sources to improve the docs, I noticed something 
that might be a possible bug in FileMgr.

It looks like

  FileDesc *open (const char *path, int mode, int perms = S_IREAD | S_IWRITE, 
bool tryDowngrade = false);

will add the newly created file to the internal list of files that FileMgr 
keeps, but

  FileDesc *open (const char *path, int mode, bool tryDowngrade);

won't do so, though both functions are public. Could somebody who knows more 
tell me if this is correct and why this is so?
Thanks,

Martin