should define _IOT__IOTBASE_unsigned and _IOT__IOTBASE_size_t
Samuel Thibault
samuel.thibault@ens-lyon.org
Sat Jul 21 21:16:00 GMT 2007
(http://sourceware.org/bugzilla/show_bug.cgi?id=4719)
Some applications use unsigned and size_t in ioctls, so bits/ioctls.h
should define _IOT__IOTBASE_unsigned and _IOT__IOTBASE_size_t, here is a
patch.
Samuel
-------------- next part --------------
2007-07-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
* libc/sysdeps/mach/hurd/bits/iotls.h (_IOT__IOTBASE_unsigned,
_IOT__IOTBASE_size_t): New macros.
Index: sysdeps/mach/hurd/bits/ioctls.h
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/bits/ioctls.h,v
retrieving revision 1.8
diff -u -p -r1.8 ioctls.h
--- libc/sysdeps/mach/hurd/bits/ioctls.h 7 Jan 2006 23:29:39 -0000 1.8
+++ libc/sysdeps/mach/hurd/bits/ioctls.h 1 Jul 2007 22:26:21 -0000
@@ -112,6 +112,8 @@ enum __ioctl_datum { IOC_8, IOC_16, IOC_
#define _IOT__IOTBASE_int _IOT_SIMPLE (int)
#define _IOT__IOTBASE_char _IOT_SIMPLE (char)
#define _IOT__IOTBASE_short _IOT_SIMPLE (short)
+#define _IOT__IOTBASE_unsigned _IOT_SIMPLE (unsigned)
+#define _IOT__IOTBASE_size_t _IOT_SIMPLE (size_t)
/* Standard flavors of ioctls.
More information about the Libc-alpha
mailing list