wrong order for POSIX_SOURCE; bug report 4.3BSD/sys/238
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Tue, 22 Aug 1989 03:15:46 +0000 (19:15 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Tue, 22 Aug 1989 03:15:46 +0000 (19:15 -0800)
SCCS-vsn: sys/sys/errno.h 7.5

usr/src/sys/sys/errno.h

index ba5f847..2cae184 100644 (file)
@@ -14,7 +14,7 @@
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- *     @(#)errno.h     7.4 (Berkeley) %G%
+ *     @(#)errno.h     7.5 (Berkeley) %G%
  */
 
 #define        EPERM           1               /* Operation not permitted */
  */
 
 #define        EPERM           1               /* Operation not permitted */
 #define        ERANGE          34              /* Result too large */
 
 /* non-blocking and interrupt i/o */
 #define        ERANGE          34              /* Result too large */
 
 /* non-blocking and interrupt i/o */
+#define        EDEADLK         35              /* Resource deadlock avoided */
+#define        EAGAIN          EDEADLK         /* Resource temporarily unavailable */
 #ifndef _POSIX_SOURCE
 #ifndef _POSIX_SOURCE
-#define        EWOULDBLOCK     35              /* Operation would block */
-#endif
-#define        EDEADLK         EWOULDBLOCK     /* Resource deadlock avoided */
-#define        EAGAIN          EWOULDBLOCK     /* Resource temporarily unavailable */
-#ifndef _POSIX_SOURCE
+#define        EWOULDBLOCK     EDEADLK         /* Operation would block */
 #define        EINPROGRESS     36              /* Operation now in progress */
 #define        EALREADY        37              /* Operation already in progress */
 
 #define        EINPROGRESS     36              /* Operation now in progress */
 #define        EALREADY        37              /* Operation already in progress */