X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=error.h;h=302d7e9f4c8693b560157c5e74f2f71cb969906e;hb=f51c95fa0edaaf651387456e716899433a0c579c;hp=9bc8ed525316f81027dcb9dbb9fa8f8206ed3e3e;hpb=0e8849e41ffaffdc94231568ff0a0a061500e341;p=paraslash.git diff --git a/error.h b/error.h index 9bc8ed52..302d7e9f 100644 --- a/error.h +++ b/error.h @@ -131,15 +131,15 @@ extern const char **para_errlist[]; PARA_ERROR(INDEX_CORRUPTION, "fixme"), \ PARA_ERROR(BAD_OFFSET, "fixme"), \ PARA_ERROR(INVALID_OBJECT, "fixme"), \ - PARA_ERROR(MKDIR, "fixme"), \ - PARA_ERROR(OPEN, "fixme"), \ - PARA_ERROR(STAT, "fixme"), \ - PARA_ERROR(FSTAT, "fixme"), \ + PARA_ERROR(MKDIR, "failed to create directory"), \ + PARA_ERROR(OPEN, "failed to open file"), \ + PARA_ERROR(STAT, "can not stat file"), \ + PARA_ERROR(FSTAT, "fstat error"), \ PARA_ERROR(RENAME, "fixme"), \ - PARA_ERROR(EMPTY, "fixme"), \ + PARA_ERROR(EMPTY, "file empty"), \ PARA_ERROR(NOSPC, "fixme"), \ - PARA_ERROR(MMAP, "fixme"), \ - PARA_ERROR(MUNMAP, "fixme"), \ + PARA_ERROR(MMAP, "mmap error"), \ + PARA_ERROR(MUNMAP, "munmap failed"), \ PARA_ERROR(WRITE, "fixme"), \ PARA_ERROR(LSEEK, "fixme"), \ PARA_ERROR(BUSY, "fixme"), \ @@ -197,13 +197,12 @@ extern const char **para_errlist[]; PARA_ERROR(BAD_AFS, "fixme"), \ PARA_ERROR(LOCALTIME, "fixme"), \ PARA_ERROR(STRFTIME, "fixme"), \ - PARA_ERROR(BAD_PATH, "fixme"), \ + PARA_ERROR(BAD_PATH, "invalid path"), \ PARA_ERROR(BAD_SORT, "fixme"), \ PARA_ERROR(FNMATCH, "fixme"), \ PARA_ERROR(NO_MATCH, "fixme"), \ PARA_ERROR(NO_AFHI, "fixme"), \ PARA_ERROR(AFT_SYNTAX, "syntax error"), \ - PARA_ERROR(AFS_STAT, "stat(2) failed"), \ PARA_ERROR(HASH_MISMATCH, "fixme"), \