summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-12 17:32:30 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-12 17:32:30 +0000
commitb7ae94dd0b90d126a5be2dd4362e6148980529aa (patch)
tree5c1bb4ab02adbb383dcef5f5db97e8202ce4afda
parent837461bf9a8f71b96a522bf6f51d6fdcb5b2a8cd (diff)
- (bal) Some platforms don't have ONLCR (Notable Mint)
-rw-r--r--ChangeLog3
-rw-r--r--ttymodes.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 014950c5..64e351a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,7 @@
- (bal) Build noop setgroups() for cygwin to clean up code (For other
platforms without the setgroups() requirement, you MUST define
SETGROUPS_NOOP in the configure.ac) Based on patch by vinschen@redhat.com
+ - (bal) Some platforms don't have ONLCR (Notable Mint)
20020611
- (bal) ssh-agent.c RCSD fix (|unexpand already done)
@@ -921,4 +922,4 @@
- (stevesk) entropy.c: typo in debug message
- (djm) ssh-keygen -i needs seeded RNG; report from markus@
-$Id: ChangeLog,v 1.2214 2002/06/12 16:57:14 mouring Exp $
+$Id: ChangeLog,v 1.2215 2002/06/12 17:32:30 mouring Exp $
diff --git a/ttymodes.h b/ttymodes.h
index 68705928..7de4b836 100644
--- a/ttymodes.h
+++ b/ttymodes.h
@@ -156,7 +156,9 @@ TTYMODE(OPOST, c_oflag, 70)
#if defined(OLCUC)
TTYMODE(OLCUC, c_oflag, 71)
#endif
+#ifdef ONLCR
TTYMODE(ONLCR, c_oflag, 72)
+#endif
#ifdef OCRNL
TTYMODE(OCRNL, c_oflag, 73)
#endif