From: Andre Noll Date: Sat, 15 Dec 2007 16:14:17 +0000 (+0100) Subject: Kill unused E_FSTAT. X-Git-Tag: v0.3.0~55 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=ac4c4bfa02e9d8adfcc561dfd2377d7c138ce82f;p=paraslash.git Kill unused E_FSTAT. --- 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). */