This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Add TAB3 to GNU/Hurd
- From: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- To: libc-alpha at sources dot redhat dot com
- Date: Fri, 7 Sep 2007 19:15:22 +0200
- Subject: [PATCH] Add TAB3 to GNU/Hurd
Hi,
POSIX defines the TAB3 macro,, here is a patch that adds it to GNU/Hurd.
Samuel
2007-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
* sysdeps/mach/hurd/bits/ioctls.h (TAB3): New macro.
Index: sysdeps/mach/hurd/bits/ioctls.h
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/bits/ioctls.h,v
retrieving revision 1.9
diff -u -p -r1.9 ioctls.h
--- sysdeps/mach/hurd/bits/ioctls.h 10 Aug 2007 22:50:53 -0000 1.9
+++ sysdeps/mach/hurd/bits/ioctls.h 7 Sep 2007 16:48:51 -0000
@@ -295,6 +295,7 @@ enum __ioctl_datum { IOC_8, IOC_16, IOC_
#define TAB0 0x00000000
#define TAB1 0x00000400 /* tty 37 */
#define TAB2 0x00000800
+#define TAB3 0x00000c00
#define XTABS 0x00000c00 /* expand tabs on output */
#define CRDLY 0x00003000 /* \r delay */
#define CRDELAY CRDLY /* traditional BSD name */