Update of /cvsroot/mahogany/M/include
In directory sc8-pr-cvs1:/tmp/cvs-serv18764/include
Modified Files:
MFCache.h
Log Message:
don't give error messages about failing to save cache file more than once
Index: MFCache.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/MFCache.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -b -u -2 -r1.12 -r1.13
--- MFCache.h 4 Jul 2002 17:22:36 -0000 1.12
+++ MFCache.h 12 Jul 2003 18:56:48 -0000 1.13
@@ -80,4 +80,7 @@
bool IsDirty() const { return m_isDirty; }
+ // have we failed to save our contents the last time Save() was called?
+ bool HasFailedToSave() const { return m_hasFailedToSave; }
+
// override some CacheFile methods
@@ -105,4 +108,8 @@
// the dirty flag, i.e. has anything changed since we were last saved?
bool m_isDirty;
+
+ // this flag is set if our Save() failed and is used to prevent calling it
+ // again, and again, and again...
+ bool m_hasFailedToSave;
};
-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates