[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
one more fix for GNU/kFreeBSD
From: |
Petr Salinger |
Subject: |
one more fix for GNU/kFreeBSD |
Date: |
Sat, 5 Sep 2009 11:15:29 +0200 (CEST) |
Hi,
please could you also add patch bellow.
GNU/kFreeBSD doesn't have TAB1 and TAB2.
It have been applied for a while in debian package, see also
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520368
Petr
diff -urNad coreutils-7.2~/src/stty.c coreutils-7.2/src/stty.c
--- coreutils-7.2~/src/stty.c 2009-03-29 13:43:41.000000000 -0400
+++ coreutils-7.2/src/stty.c 2009-04-07 21:11:35.096288547 -0400
@@ -279,10 +279,18 @@
{"cr0", output, SANE_SET, CR0, CRDLY},
#endif
#ifdef TABDLY
+#ifdef TAB3
{"tab3", output, SANE_UNSET, TAB3, TABDLY},
+#endif
+#ifdef TAB2
{"tab2", output, SANE_UNSET, TAB2, TABDLY},
+#endif
+#ifdef TAB1
{"tab1", output, SANE_UNSET, TAB1, TABDLY},
+#endif
+#ifdef TAB0
{"tab0", output, SANE_SET, TAB0, TABDLY},
+#endif
#else
# ifdef OXTABS
{"tab3", output, SANE_UNSET, OXTABS, 0},
Re: snapshot in a few hours, Eric Blake, 2009/09/04