diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2005-03-28 19:19:37 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2005-03-28 19:19:37 +0000 |
commit | 71cf9f804771260d5b3732b793501cb5e2d992b9 (patch) | |
tree | 8188299f13533d219ac121d4087cf506a60ff913 /usr.bin/dc | |
parent | 1606f60a9ef2be1ca98deb274f429585e1f837e3 (diff) |
Linefeed is part of a line according to POSIX, so take that into account
when computing line wraps. ok deraadt@
Diffstat (limited to 'usr.bin/dc')
-rw-r--r-- | usr.bin/dc/inout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/dc/inout.c b/usr.bin/dc/inout.c index 36d205b61b1..c0206535207 100644 --- a/usr.bin/dc/inout.c +++ b/usr.bin/dc/inout.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inout.c,v 1.10 2005/03/27 18:10:42 otto Exp $ */ +/* $OpenBSD: inout.c,v 1.11 2005/03/28 19:19:36 otto Exp $ */ /* * Copyright (c) 2003, Otto Moerbeek <otto@drijf.net> @@ -17,7 +17,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: inout.c,v 1.10 2005/03/27 18:10:42 otto Exp $"; +static const char rcsid[] = "$OpenBSD: inout.c,v 1.11 2005/03/28 19:19:36 otto Exp $"; #endif /* not lint */ #include <ssl/ssl.h> @@ -27,7 +27,7 @@ static const char rcsid[] = "$OpenBSD: inout.c,v 1.10 2005/03/27 18:10:42 otto E #include "extern.h" -#define MAX_CHARS_PER_LINE 69 +#define MAX_CHARS_PER_LINE 68 static int charCount; |