From ac4c4bfa02e9d8adfcc561dfd2377d7c138ce82f Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 15 Dec 2007 17:14:17 +0100 Subject: [PATCH 1/1] Kill unused E_FSTAT. --- error.h | 1 - fd.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/error.h b/error.h index 72b169ac..c05948af 100644 --- 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 0adab0f2..8f506ff8 100644 --- 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). */ -- 2.30.2