summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1994-09-08 04:48:40 +0000
committerJim Meyering <jim@meyering.net>1994-09-08 04:48:40 +0000
commit00dceaff2edd1c6ee2d2b12454decddada6f7a09 (patch)
treecd7f4f42826706b549c82f41464faa76b988f851
parent556b9f622fa00fb142496ff03d7d6b7fd66a793c (diff)
downloadcoreutils-00dceaff2edd1c6ee2d2b12454decddada6f7a09.tar.xz
merge with 1.10i
-rw-r--r--lib/getdate.y1
-rw-r--r--old/sh-utils/ChangeLog17
-rw-r--r--src/stty.c16
3 files changed, 31 insertions, 3 deletions
diff --git a/lib/getdate.y b/lib/getdate.y
index 759701560..bb4db7e46 100644
--- a/lib/getdate.y
+++ b/lib/getdate.y
@@ -484,7 +484,6 @@ static TABLE const TimezoneTable[] = {
{ "idlw", tZONE, HOUR(12) }, /* International Date Line West */
{ "cet", tZONE, -HOUR(1) }, /* Central European */
{ "met", tZONE, -HOUR(1) }, /* Middle European */
- { "metdst", tDAYZONE, -HOUR(1) }, /* Middle European Daylight */
{ "mewt", tZONE, -HOUR(1) }, /* Middle European Winter */
{ "mest", tDAYZONE, -HOUR(1) }, /* Middle European Summer */
{ "mesz", tDAYZONE, -HOUR(1) }, /* Middle European Summer */
diff --git a/old/sh-utils/ChangeLog b/old/sh-utils/ChangeLog
index 990c31eb7..3f3ae8e76 100644
--- a/old/sh-utils/ChangeLog
+++ b/old/sh-utils/ChangeLog
@@ -1,3 +1,18 @@
+Sat Sep 03 00:41:53 1994 Jim Meyering (meyering@comco.com)
+
+ * lib/Makefile.in (safe-lstat.c, safe-lstat.h, safe-stat.c,
+ safe-stat.h): Use $(srcdir) to find source files.
+ (.c.o): Use -I. to get safe-lstat.h and safe-stat.h from the
+ build directory.
+ * src/Makefile.in (incl): Add -I../lib to get lib/safe-lstat.h and
+ lib/safe-stat.h from the build directory. From Michael I Bushnell
+ <mib@geech.gnu.ai.mit.edu>.
+
+ * Makefile.in: Remove rules to create installation directories.
+ * {src,man}/Makefile.in: Put them here instead.
+
+ * configure.in: Update to take advantage of autoconf 2.0 features.
+
Sat Aug 27 16:57:20 1994 Jim Meyering (meyering@comco.com)
* system.h [BROKEN_STAT_MACROS]: Remove unnecessary #ifdef's.
@@ -11,7 +26,7 @@ Mon Aug 01 21:58:14 1994 Jim Meyering (meyering@comco.com)
* date.c: Add --utc option. It will supercede --uct.
Change references to `universal coordinated time' to
- coorect `coordinated universal time'. From Harris Boldt Edelman
+ correct `coordinated universal time'. From Harris Boldt Edelman
<hbe@red-eft.la.ca.us>.
* date.1: Correct the documentation, too.
diff --git a/src/stty.c b/src/stty.c
index b75caf8cc..2663cf4a3 100644
--- a/src/stty.c
+++ b/src/stty.c
@@ -271,6 +271,10 @@ static struct mode_info mode_info[] =
{"tab2", output, SANE_UNSET, TAB2, TABDLY},
{"tab1", output, SANE_UNSET, TAB1, TABDLY},
{"tab0", output, SANE_SET, TAB0, TABDLY},
+#else
+#ifdef OXTABS
+ {"tab3", output, SANE_UNSET, OXTABS, 0},
+#endif
#endif
#ifdef BSDLY
{"bs1", output, SANE_UNSET, BS1, BSDLY},
@@ -329,7 +333,7 @@ static struct mode_info mode_info[] =
#ifdef IXANY
{"decctlq", combination, REV | OMIT, 0, 0},
#endif
-#ifdef TABDLY
+#if defined (TABDLY) || defined (OXTABS)
{"tabs", combination, REV | OMIT, 0, 0},
#endif
#if defined(XCASE) && defined(IUCLC) && defined(OLCUC)
@@ -1063,6 +1067,16 @@ set_mode (info, reversed, mode)
else
mode->c_oflag = (mode->c_oflag & ~TABDLY) | TAB0;
}
+#else
+#ifdef OXTABS
+ else if (!strcmp (info->name, "tabs"))
+ {
+ if (reversed)
+ mode->c_oflag = mode->c_oflag | OXTABS;
+ else
+ mode->c_oflag = mode->c_oflag & ~OXTABS;
+ }
+#endif
#endif
#if defined(XCASE) && defined(IUCLC) && defined(OLCUC)
else if (!strcmp (info->name, "lcase")