]> git.lyx.org Git - features.git/commitdiff
get rid of rmdir
authorLars Gullik Bjønnes <larsbj@gullik.org>
Mon, 31 Jan 2005 15:12:23 +0000 (15:12 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Mon, 31 Jan 2005 15:12:23 +0000 (15:12 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9555 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/ChangeLog
src/support/Makefile.am
src/support/lyxlib.h
src/support/rmdir.C [deleted file]

index f324dc6963b1e50720ceb91f688988e06a9dcf55..29bfff2cc3b89472ff3b40352a91e9f627007cee 100644 (file)
@@ -1,3 +1,11 @@
+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
index e70b2c6e48c5d8a98463f7e2de09729ec68422d9..a039c82768cd531f8582c243e91c684d557aeb31 100644 (file)
@@ -65,7 +65,6 @@ libsupport_la_SOURCES = \
        package.h \
        putenv.C \
        rename.C \
-       rmdir.C \
        socktools.C \
        socktools.h \
        std_istream.h \
index 4b5569967c76713469e0f3cbd32b48a9bbb65c8f..235a113744e7b23279fb8892f8d466827a1a34ea 100644 (file)
@@ -44,8 +44,6 @@ int mkdir(std::string const & pathname, unsigned long int mode);
 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());
diff --git a/src/support/rmdir.C b/src/support/rmdir.C
deleted file mode 100644 (file)
index ffa86f1..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * \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());
-}