Skip to content

Commit

Permalink
col(1) buffer boundary bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
n-t-roff committed May 17, 2015
1 parent 026a5df commit 116df83
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
22 changes: 20 additions & 2 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
2014-11-07
gets(3) replaced with fgets(3)
Release 20150517
================

2015-05-17
col(1) buffer boundary bug fixed.

2015-05-06
Workaround to GNU bash bug (case insensitive glob) and for
some system required configuring of CXX and LEX added.

2015-04-30
Year 2000 problem fixed for all components.

2015-04-23
Component pm ported.

2014-09-14
Any version of roff (e.g. UNIX V7) does count \} as a macro
Expand All @@ -9,6 +22,11 @@
make \n(.$ meaningful again this bug has been fixed now, i.e.
\} is not considered as a macro argument anymore.

2014-08-26
- picasso bugfix: Crashed if no text was used.
- Documentation of \n(yr fixed.
- Fixed year 2000 problem for man macros.

2014-08-18
Fixed page transition error which occurred when .bp is fol-
lowed by .. (Text had been printed at footer trap position.)
2 changes: 1 addition & 1 deletion misc/col/col.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ emit (s, lineno)
}
putchar (*p & ~GREEK);
if (*p == '\b') {
if ( *(p-2) && *(p-2) == ESC)
if (p-2 >= s && *(p-2) && *(p-2) == ESC)
{
pcp++;
}
Expand Down

0 comments on commit 116df83

Please sign in to comment.