Update of /cvsroot/monetdb/MonetDB/src/gdk
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1319/src/gdk

Modified Files:
        gdk_bbp.mx 
Log Message:
propagated changes of Thursday Mar 06 2008 - Monday Mar 17 2008
from the MonetDB_1-22 branch to the development trunk

===================================================================
2008/03/13 - sjoerd: src/gdk/gdk_bbp.mx,1.208.2.8
Close the SUBCOMMIT directory.  Without this it is *impossible* to
recover the database on Windows.  You will always get this when you
try:

!ERROR: GDKremovedir: rmdir(bat\BACKUP\SUBCOMMIT) failed.
!OS: The process cannot access the file because it is being used by another 
process.
!ERROR: BBPrecover_subdir: recovery failed. Please check whether your disk is 
full or write-protected.
!FATAL: BBPinit: cannot properly process bat\BACKUP\SUBCOMMIT.
===================================================================



Index: gdk_bbp.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/gdk/gdk_bbp.mx,v
retrieving revision 1.212
retrieving revision 1.213
diff -u -d -r1.212 -r1.213
--- gdk_bbp.mx  7 Mar 2008 12:15:07 -0000       1.212
+++ gdk_bbp.mx  17 Mar 2008 09:42:26 -0000      1.213
@@ -3156,6 +3156,8 @@
                if (ret < 0)
                        break;
        }
+       closedir(dirp);
+
        /* delete the directory */
        if (ret == 0) {
                ret = GDKremovedir(SUBDIR);


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to