summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwl <wl>2010-05-28 15:26:55 +0000
committerwl <wl>2010-05-28 15:26:55 +0000
commit5ea0dcf1fe4db65f1dbd2a620055ab96a236b07b (patch)
tree2bb099dc578cc089fc9a05603f1473884bda53a8
parent3d9e5e0d5ac61f32cbeb0b2a3475a4b5bb5180a8 (diff)
downloadgroff-5ea0dcf1fe4db65f1dbd2a620055ab96a236b07b.tar.gz
Don't use obsolete intermediate output command `F'.
Reported by Krzysztof Zelechowski <giecrilj@stegny.2a.pl> * src/roff/troff/nodes.cpp (troff_output_file::really_put_filename): Replace `F' command with `x F'.
-rw-r--r--ChangeLog8
-rw-r--r--src/roff/troff/node.cpp4
2 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b51169db..298a6091 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-05-28 Werner LEMBERG <wl@gnu.org>
+
+ Don't use obsolete intermediate output command `F'.
+ Reported by Krzysztof Zelechowski <giecrilj@stegny.2a.pl>
+
+ * src/roff/troff/nodes.cpp (troff_output_file::really_put_filename):
+ Replace `F' command with `x F'.
+
2010-05-24 Werner LEMBERG <wl@gnu.org>
* PROBLEMS: Document that mdoc doesn't work with test-groff.
diff --git a/src/roff/troff/node.cpp b/src/roff/troff/node.cpp
index 48ec00f3..ff4c1694 100644
--- a/src/roff/troff/node.cpp
+++ b/src/roff/troff/node.cpp
@@ -1,6 +1,6 @@
// -*- C++ -*-
/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001, 2002, 2003, 2004, 2005,
- 2006, 2008, 2009
+ 2006, 2008, 2009, 2010
Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
@@ -1507,7 +1507,7 @@ void troff_output_file::really_off()
void troff_output_file::really_put_filename(const char *filename, int po)
{
flush_tbuf();
- put("F ");
+ put("x F ");
if (po)
put("<");
put(filename);