diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2016-01-04 23:18:25 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2016-01-04 23:18:25 +0100 |
commit | e768b5005afcb86f314c68679086dfb2a810ba46 (patch) | |
tree | 86d5219bdb301c6c79f78440ef8017818daa72d0 /src | |
parent | add news (diff) | |
download | libhaiku-e768b5005afcb86f314c68679086dfb2a810ba46.tar.gz libhaiku-e768b5005afcb86f314c68679086dfb2a810ba46.tar.bz2 libhaiku-e768b5005afcb86f314c68679086dfb2a810ba46.tar.xz |
EUCLEAN, EOWNERDEAD
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/libhaiku.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/libhaiku.c b/src/libhaiku.c index 07cccd9..58b3d5c 100644 --- a/src/libhaiku.c +++ b/src/libhaiku.c @@ -167,6 +167,11 @@ void libhaiku_perror(const char* s) "Spring will come again,\n""But it will not bring with it\n""Any of your files.\n"); #endif +#ifdef EOWNERDEAD + case EOWNERDEAD: /* Reusing haiku from ENOENT. */ + H("Three things are certain:\n""Death, taxes, and lost data.\n""Guess which has occurred.\n"); +#endif + #ifdef EMSGSIZE case EMSGSIZE: H("A file that big?\n""It might be very useful.\n""But now it is gone.\n"); @@ -177,8 +182,13 @@ void libhaiku_perror(const char* s) H("Yesterday it worked.\n""Today it is not working.\n""Windows is like that.\n"); #endif +#ifdef EUCLEAN + case EUCLEAN: +#endif #ifdef ENOTRECOVERABLE case ENOTRECOVERABLE: +#endif +#if defined(EUCLEAN) || defined(ENOTRECOVERABLE) H("Chaos reigns within.\n""Reflect, repent, and reboot.\n""Order shall return.\n"); #endif @@ -348,7 +358,6 @@ EHOSTUNREACH 113 No route to host EALREADY 114 Operation already in progress EINPROGRESS 115 Operation now in progress ESTALE 116 Stale file handle -EUCLEAN 117 Structure needs cleaning ENOTNAM 118 Not a XENIX named type file ENAVAIL 119 No XENIX semaphores available EISNAM 120 Is a named type file @@ -360,6 +369,5 @@ ENOKEY 126 Required key not available EKEYEXPIRED 127 Key has expired EKEYREVOKED 128 Key has been revoked EKEYREJECTED 129 Key was rejected by service -EOWNERDEAD 130 Owner died */ |