]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Kill unused E_FSTAT.
authorAndre Noll <maan@systemlinux.org>
Sat, 15 Dec 2007 16:14:17 +0000 (17:14 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 15 Dec 2007 16:14:17 +0000 (17:14 +0100)
error.h
fd.c

diff --git a/error.h b/error.h
index 72b169ac10fb2b190e84928d1e8d82e375bdcee3..c05948afea6e2937bdb24467377ba272544ef6f0 100644 (file)
--- a/error.h
+++ b/error.h
@@ -64,7 +64,6 @@ extern const char **para_errlist[];
        PARA_ERROR(INDEX_CORRUPTION, "index corruption detected"), \
        PARA_ERROR(INVALID_OBJECT, "reference to invalid object"), \
        PARA_ERROR(STAT, "can not stat file"), \
-       PARA_ERROR(FSTAT, "fstat error"), \
        PARA_ERROR(RENAME, "rename failed"), \
        PARA_ERROR(WRITE, "write error"), \
        PARA_ERROR(LSEEK, "lseek error"), \
diff --git a/fd.c b/fd.c
index 0adab0f2c0732862f03201119f975873211b5c38..8f506ff83044dd23ec098961d9607908bc7ce402 100644 (file)
--- a/fd.c
+++ b/fd.c
@@ -311,8 +311,7 @@ int para_mkdir(const char *path, mode_t mode)
  * open call is closed after mmap().  Otherwise the file is kept open and the
  * file descriptor is returned in \a fd_ptr.
  *
- * \return Positive on success, negative on errors. Possible errors include: \p
- * E_FSTAT, any errors returned by para_open(), \p E_EMPTY, \p E_MMAP.
+ * \return Standard.
  *
  * \sa para_open(), mmap(2).
  */