+2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * Makefile.am (libsupport_la_SOURCES): remove rmdir.C
+
+ * rmdir.C: delete file
+
+ * lyxlib.h: remove rmdir decl
+
2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
* .cvsignore: add package.C
package.h \
putenv.C \
rename.C \
- rmdir.C \
socktools.C \
socktools.h \
std_istream.h \
bool putenv(std::string const & varname, std::string const & value);
/// unlink the given file
int unlink(std::string const & file);
-/// remove the given directory
-int rmdir(std::string const & file);
/// (securely) create a temporary file in the given dir with the given prefix
std::string const tempName(std::string const & dir = std::string(),
std::string const & mask = std::string());
+++ /dev/null
-/**
- * \file rmdir.C
- * This file is part of LyX, the document processor.
- * Licence details can be found in the file COPYING.
- *
- * \author Lars Gullik Bjønnes
- *
- * Full author contact details are available in file CREDITS.
- */
-
-#include <config.h>
-
-#include "support/lyxlib.h"
-
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-
-int lyx::support::rmdir(std::string const & dir)
-{
- return ::rmdir(dir.c_str());
-}