OSDN Git Service

* errno.cc (_sys_errlist): Add ECANCELED, ENOTRECOVERABLE, EOWNERDEAD.
authorericb <ericb>
Fri, 19 Sep 2008 23:29:24 +0000 (23:29 +0000)
committerericb <ericb>
Fri, 19 Sep 2008 23:29:24 +0000 (23:29 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/errno.cc

index f4f9171..f280ce3 100644 (file)
@@ -1,3 +1,8 @@
+2008-09-19  Eric Blake  <ebb9@byu.net>
+
+       * errno.cc (_sys_errlist): Add ECANCELED, ENOTRECOVERABLE,
+       EOWNERDEAD.
+
 2008-09-15  Christopher Faylor  <me+cygwin@cgf.cx>
 
        * cygtls.h (unionent): Move from net.cc.
index 119838a..2d8207c 100644 (file)
@@ -192,9 +192,9 @@ const char *_sys_errlist[] NO_COPY_INIT =
 /* EL2HLT 44 */                  "Level 2 halted",
 /* EDEADLK 45 */         "Resource deadlock avoided",
 /* ENOLCK 46 */                  "No locks available",
-                         "error 47",
-                         "error 48",
-                         "error 49",
+                         "error 47",
+                         "error 48",
+                         "error 49",
 /* EBADE 50 */           "Invalid exchange",
 /* EBADR 51 */           "Invalid request descriptor",
 /* EXFULL 52 */                  "Exchange full",
@@ -203,8 +203,8 @@ const char *_sys_errlist[] NO_COPY_INIT =
 /* EBADSLT 55 */         "Invalid slot",
 /* EDEADLOCK 56 */       "File locking deadlock error",
 /* EBFONT 57 */                  "Bad font file format",
-                         "error 58",
-                         "error 59",
+                         "error 58",
+                         "error 59",
 /* ENOSTR 60 */                  "Device not a stream",
 /* ENODATA 61 */         "No data available",
 /* ETIME 62 */           "Timer expired",
@@ -217,13 +217,13 @@ const char *_sys_errlist[] NO_COPY_INIT =
 /* ESRMNT 69 */                  "Srmount error",
 /* ECOMM 70 */           "Communication error on send",
 /* EPROTO 71 */                  "Protocol error",
-                         "error 72",
-                         "error 73",
+                         "error 72",
+                         "error 73",
 /* EMULTIHOP 74 */       "Multihop attempted",
 /* ELBIN 75 */           "Inode is remote (not really error)",
 /* EDOTDOT 76 */         "RFS specific error",
 /* EBADMSG 77 */         "Bad message",
-                         "error 78",
+                         "error 78",
 /* EFTYPE 79 */                  "Inappropriate file type or format",
 /* ENOTUNIQ 80 */        "Name not unique on network",
 /* EBADFD 81 */                  "File descriptor in bad state",
@@ -238,22 +238,22 @@ const char *_sys_errlist[] NO_COPY_INIT =
 /* ENOTEMPTY 90        */        "Directory not empty",
 /* ENAMETOOLONG 91 */    "File name too long",
 /* ELOOP 92 */           "Too many levels of symbolic links",
-                         "error 93",
-                         "error 94",
+                         "error 93",
+                         "error 94",
 /* EOPNOTSUPP 95 */      "Operation not supported",
 /* EPFNOSUPPORT 96 */    "Protocol family not supported",
-                         "error 97",
-                         "error 98",
-                         "error 99",
-                         "error 100",
-                         "error 101",
-                         "error 102",
-                         "error 103",
+                         "error 97",
+                         "error 98",
+                         "error 99",
+                         "error 100",
+                         "error 101",
+                         "error 102",
+                         "error 103",
 /* ECONNRESET 104 */     "Connection reset by peer",
 /* ENOBUFS 105 */        "No buffer space available",
 /* EAFNOSUPPORT 106 */   "Address family not supported by protocol",
 /* EPROTOTYPE 107 */     "Protocol wrong type for socket",
-/* ENOTSOCK 108 */       "Socket operation on non-socket",
+/* ENOTSOCK 108 */       "Socket operation on non-socket",
 /* ENOPROTOOPT 109 */    "Protocol not available",
 /* ESHUTDOWN 110 */      "Cannot send after transport endpoint shutdown",
 /* ECONNREFUSED 111 */   "Connection refused",
@@ -279,12 +279,15 @@ const char *_sys_errlist[] NO_COPY_INIT =
 /* EUSERS 131 */         "Too many users",
 /* EDQUOT 132 */         "Disk quota exceeded",
 /* ESTALE 133 */         "Stale NFS file handle",
-/* ENOTSUP 134 */        "Not supported",
+/* ENOTSUP 134 */        "Not supported",
 /* ENOMEDIUM 135 */      "No medium found",
-/* ENOSHARE 136 */       "No such host or network path",
+/* ENOSHARE 136 */       "No such host or network path",
 /* ECASECLASH 137 */     "Filename exists with different case",
 /* EILSEQ 138 */         "Invalid or incomplete multibyte or wide character",
-/* EOVERFLOW 139 */      "Value too large for defined data type"
+/* EOVERFLOW 139 */      "Value too large for defined data type",
+/* ECANCELED 140 */      "Operation canceled",
+/* ENOTRECOVERABLE 141 */ "State not recoverable",
+/* EOWNERDEAD 142 */     "Previous owner died"
 };
 
 int NO_COPY_INIT _sys_nerr = sizeof (_sys_errlist) / sizeof (_sys_errlist[0]);