summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/fileutl.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-01-12 17:09:04 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-01-12 17:09:04 +0100
commit36f1098aed548651a32a2c15cc9ad80c4330b4d9 (patch)
treedff27e3b63f2e2a5587f3d53a8477b3551739759 /apt-pkg/contrib/fileutl.h
parent758729c8084a19859d3c9ccf948bb2ec507b0d0c (diff)
* apt-pkg/contrib/fileutl.cc:
- add a RealFileExists method and check that your configuration files are real files to avoid endless loops if not (Closes: #604401)
Diffstat (limited to 'apt-pkg/contrib/fileutl.h')
-rw-r--r--apt-pkg/contrib/fileutl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/contrib/fileutl.h b/apt-pkg/contrib/fileutl.h
index 1380f06b4..146d917d8 100644
--- a/apt-pkg/contrib/fileutl.h
+++ b/apt-pkg/contrib/fileutl.h
@@ -93,6 +93,7 @@ bool RunScripts(const char *Cnf);
bool CopyFile(FileFd &From,FileFd &To);
int GetLock(string File,bool Errors = true);
bool FileExists(string File);
+bool RealFileExists(string File);
bool DirectoryExists(string const &Path) __attrib_const;
bool CreateDirectory(string const &Parent, string const &Path);