? ChangeLog.tmp ? bar ? list ? config/cf/foo ? programs/Xserver/hw/xfree86/input/hyperpen/xf86HyperPen.c.foo Index: ChangeLog =================================================================== RCS file: /cvs/xorg/xc/ChangeLog,v retrieving revision 1.803 diff -u -r1.803 ChangeLog --- ChangeLog 8 Mar 2005 02:53:36 -0000 1.803 +++ ChangeLog 8 Mar 2005 10:23:49 -0000 @@ -1,3 +1,10 @@ +2005-03-08 Egbert Eich + + * programs/Xserver/hw/xfree86/os-support/shared/libc_wrapper.c: + (xf86open), (xf86strerror), (xf86GetErrno): + * programs/Xserver/hw/xfree86/os-support/xf86_libc.h: + Adding more errnos to the libc wrapper. + 2005-03-07 Alan Coopersmith * xc/lib/X11/imEvToWire.c: Index: programs/Xserver/hw/xfree86/os-support/xf86_libc.h =================================================================== RCS file: /cvs/xorg/xc/programs/Xserver/hw/xfree86/os-support/xf86_libc.h,v retrieving revision 1.3 diff -u -r1.3 xf86_libc.h --- programs/Xserver/hw/xfree86/os-support/xf86_libc.h 2 Mar 2005 11:20:29 -0000 1.3 +++ programs/Xserver/hw/xfree86/os-support/xf86_libc.h 8 Mar 2005 10:23:52 -0000 @@ -186,6 +186,20 @@ #define xf86_ENODEV 1023 #define xf86_EIO 1024 +#define xf86_ESRCH 1025 +#define xf86_ENXIO 1026 +#define xf86_E2BIG 1027 +#define xf86_ENOEXEC 1028 +#define xf86_ECHILD 1029 +#define xf86_ENOTBLK 1030 +#define xf86_EXDEV 1031 +#define xf86_EFBIG 1032 +#define xf86_ESPIPE 1033 +#define xf86_EMLINK 1034 +#define xf86_EDOM 1035 +#define xf86_ERANGE 1036 + + /* sysv IPV */ /* xf86shmget() */ #define XF86IPC_CREAT 01000 Index: programs/Xserver/hw/xfree86/os-support/shared/libc_wrapper.c =================================================================== RCS file: /cvs/xorg/xc/programs/Xserver/hw/xfree86/os-support/shared/libc_wrapper.c,v retrieving revision 1.3 diff -u -r1.3 libc_wrapper.c --- programs/Xserver/hw/xfree86/os-support/shared/libc_wrapper.c 30 Jul 2004 20:51:08 -0000 1.3 +++ programs/Xserver/hw/xfree86/os-support/shared/libc_wrapper.c 8 Mar 2005 10:23:52 -0000 @@ -429,6 +429,7 @@ } va_end(ap); xf86errno = xf86GetErrno(); + return fd; } @@ -917,9 +918,48 @@ mapnum (ETXTBSY); /* not POSIX 1 */ #endif mapnum (ENOTTY); +#ifdef ENOSYS + mapnum (ENOSYS); +#endif mapnum (EBUSY); mapnum (ENODEV); mapnum (EIO); +#ifdef ESRCH + mapnum (ESRCH); +#endif +#ifdef ENXIO + mapnum (ENXIO); +#endif +#ifdef E2BIG + mapnum (E2BIG); +#endif +#ifdef ENOEXEC + mapnum (ENOEXEC); +#endif +#ifdef ECHILD + mapnum (ECHILD); +#endif +#ifdef ENOTBLK + mapnum (ENOTBLK); +#endif +#ifdef EXDEV + mapnum (EXDEV); +#endif +#ifdef EFBIG + mapnum (EFBIG); +#endif +#ifdef ESPIPE + mapnum (ESPIPE); +#endif +#ifdef EMLINK + mapnum (EMLINK); +#endif +#ifdef EDOM + mapnum (EDOM); +#endif +#ifdef ERANGE + mapnum (ERANGE); +#endif default: err = 999; @@ -1865,11 +1905,49 @@ mapnum (ETXTBSY); /* not POSIX 1 */ #endif mapnum (ENOTTY); +#ifdef ENOSYS + mapnum (ENOSYS); +#endif mapnum (EBUSY); mapnum (ENODEV); mapnum (EIO); - - default: +#ifdef ESRCH + mapnum (ESRCH); +#endif +#ifdef ENXIO + mapnum (ENXIO); +#endif +#ifdef E2BIG + mapnum (E2BIG); +#endif +#ifdef ENOEXEC + mapnum (ENOEXEC); +#endif +#ifdef ECHILD + mapnum (ECHILD); +#endif +#ifdef ENOTBLK + mapnum (ENOTBLK); +#endif +#ifdef EXDEV + mapnum (EXDEV); +#endif +#ifdef EFBIG + mapnum (EFBIG); +#endif +#ifdef ESPIPE + mapnum (ESPIPE); +#endif +#ifdef EMLINK + mapnum (EMLINK); +#endif +#ifdef EDOM + mapnum (EDOM); +#endif +#ifdef ERANGE + mapnum (ERANGE); +#endif + default: return (xf86_UNKNOWN); } }