Removing a directory under Windows can be done by
invoking the 'rmdir' command through a 'system' call.
Here is a patch:
RCS file: /cvsroot/glean/glean/src/glean/environ.cpp,v
retrieving revision 1.3
diff -u -r1.3 environ.cpp
--- src/glean/environ.cpp 29 Oct 2005 14:43:51 -0000 1.3
+++ src/glean/environ.cpp 24 Aug 2006 07:00:38 -0000
@@ -42,7 +42,7 @@
#elif defined(MS)
+#include <stdio.h>
#endif</stdio.h>
namespace GLEAN {
@@ -89,7 +89,10 @@
if (opt.mode == Options::run) {
if (opt.overwrite) {
// XXX a Windows programmer needs to complete this