X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=error.h;h=e8920d29ee8afe4d518534711a58c937d873928d;hb=f561ba2a444fa5ad161e5c415ee0f2f83527bda7;hp=ca97dba675b330e09ede386e66055259d9700f53;hpb=a044e78188411351d798842df1778316c881f5ed;p=paraslash.git diff --git a/error.h b/error.h index ca97dba6..e8920d29 100644 --- a/error.h +++ b/error.h @@ -153,7 +153,6 @@ extern const char **para_errlist[]; PARA_ERROR(BAD_TABLE_NAME, "invalid table"), \ PARA_ERROR(INPUT_TOO_LARGE, "input too large for stdin command"), \ PARA_ERROR(READ, "read error"), \ - PARA_ERROR(ATOL, "failed to convert to long"), \ PARA_ERROR(AFS_SYNTAX, "afs syntax error"), \ @@ -349,6 +348,10 @@ extern const char **para_errlist[]; #define STRING_ERRORS \ PARA_ERROR(MKSTEMP, "mkstemp error: unable to create tmp file"), \ PARA_ERROR(FCHMOD, "fchmod error: can not set mode"), \ + PARA_ERROR(ATOI_OVERFLOW, "value too large"), \ + PARA_ERROR(STRTOLL, "unknown strtoll error"), \ + PARA_ERROR(ATOI_NO_DIGITS, "no digits found in string"), \ + PARA_ERROR(ATOI_JUNK_AT_END, "further characters after number"), \ #define EXEC_ERRORS \ @@ -388,6 +391,7 @@ extern const char **para_errlist[]; #define VSS_ERRORS \ + PARA_ERROR(BAD_AUDIO_FILE_SUFFIX, "unknown suffix"), \ PARA_ERROR(AUDIO_FORMAT, "audio format not recognized"), \ PARA_ERROR(CHUNK, "unable to get chunk"), \ @@ -496,6 +500,7 @@ extern const char **para_errlist[]; PARA_ERROR(OPENDIR, "can not open directory"), \ PARA_ERROR(NOSPC, "no space left on device"), \ PARA_ERROR(OPEN, "failed to open file"), \ + PARA_ERROR(CHDIR_PERM, "insufficient permissions to chdir"), \ #define WRITE_ERRORS \