summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwlemb <wlemb>2003-12-31 08:49:22 +0000
committerwlemb <wlemb>2003-12-31 08:49:22 +0000
commit400784b9677df3bb78bd680cc564dc2e89914245 (patch)
treed6fd7798e4482386319abdbe69313f5d6374d283
parentc24642d1df255d198c2b0c92d2ad227b19f97313 (diff)
downloadgroff-400784b9677df3bb78bd680cc564dc2e89914245.tar.gz
* test-groff.in (SEP): Quote value.
* src/roff/troff/node.cpp (suppress_node::tprint): Change type of `tem' to `char*' to avoid deallocation of a pointer to a constant object which some compilers don't like.
-rw-r--r--ChangeLog7
-rw-r--r--src/roff/troff/node.cpp2
-rw-r--r--test-groff.in2
3 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d10e3d56..9f8ef85a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-12-31 Jeff Conrad <jeff_conrad@msn.com>
+
+ * test-groff.in (SEP): Quote value.
+ * src/roff/troff/node.cpp (suppress_node::tprint): Change type of
+ `tem' to `char*' to avoid deallocation of a pointer to a constant
+ object which some compilers don't like.
+
2003-12-31 Werner LEMBERG <wl@gnu.org>
* font/devlj4/generate (text.map, special.map): Rewritten to work
diff --git a/src/roff/troff/node.cpp b/src/roff/troff/node.cpp
index fd6f73b1..7561259e 100644
--- a/src/roff/troff/node.cpp
+++ b/src/roff/troff/node.cpp
@@ -3762,7 +3762,7 @@ void suppress_node::tprint(troff_output_file *out)
if (is_on == 2) {
// remember position and filename
last_position = position;
- const char *tem = last_image_filename;
+ char *tem = (char *)last_image_filename;
last_image_filename = strsave(filename.contents());
if (tem)
a_delete tem;
diff --git a/test-groff.in b/test-groff.in
index 9840cd5e..fc44d252 100644
--- a/test-groff.in
+++ b/test-groff.in
@@ -2,7 +2,7 @@
# This script runs groff without requiring that it be installed.
# The current directory must be the top build directory.
-SEP=@PATH_SEPARATOR@
+SEP='@PATH_SEPARATOR@'
EXEEXT=@EXEEXT@
builddir=./src
srcdir=`echo $0 | sed -e 's;/[^/]*$;;'`