mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
get rid of rmdir
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9555 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
13c9092705
commit
177a1c42aa
@ -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
|
||||
|
@ -65,7 +65,6 @@ libsupport_la_SOURCES = \
|
||||
package.h \
|
||||
putenv.C \
|
||||
rename.C \
|
||||
rmdir.C \
|
||||
socktools.C \
|
||||
socktools.h \
|
||||
std_istream.h \
|
||||
|
@ -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());
|
||||
|
@ -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());
|
||||
}
|
Loading…
Reference in New Issue
Block a user