summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner LEMBERG <wl@gnu.org>2004-01-05 22:49:11 +0000
committerWerner LEMBERG <wl@gnu.org>2004-01-05 22:49:11 +0000
commitbf3f40032aa5eb6a28b27ecfea3017884a41ffaa (patch)
tree6d131c58fe6e33223a9aa35567869d66adcd5955
parent688182a061c8b3b0d37798f3e18349eafe43ec30 (diff)
downloadgroff-git-bf3f40032aa5eb6a28b27ecfea3017884a41ffaa.tar.gz
* src/roff/troff/nroff.cpp (space_node::get_breakpoints,
space_node::nbreaks): Protect against zero `next' field. Update copyright years.
-rw-r--r--ChangeLog5
-rw-r--r--Makefile.comm2
-rw-r--r--contrib/groffer/groffer.sh2
-rw-r--r--contrib/mm/m.tmac2
-rw-r--r--font/devps/generate/Makefile2
-rw-r--r--src/devices/grohtml/html.h2
-rw-r--r--src/include/driver.h2
-rw-r--r--src/include/posix.h2
-rw-r--r--src/preproc/pic/common.cpp2
-rw-r--r--src/preproc/pic/common.h3
-rw-r--r--src/preproc/pic/output.h2
-rw-r--r--src/preproc/refer/ref.cpp3
-rw-r--r--src/preproc/tbl/table.h2
-rw-r--r--src/roff/groff/groff.cpp2
-rw-r--r--src/roff/nroff/nroff.man2
-rw-r--r--src/roff/troff/node.cpp4
-rw-r--r--src/utils/hpftodit/hpftodit.cpp2
17 files changed, 24 insertions, 17 deletions
diff --git a/ChangeLog b/ChangeLog
index 27d727113..b12f03425 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-05 Werner LEMBERG <wl@gnu.org>
+
+ * src/roff/troff/nroff.cpp (space_node::get_breakpoints,
+ space_node::nbreaks): Protect against zero `next' field.
+
2004-01-03 Jeff Conrad <jeff_conrad@msn.com>
In hpftodit, use the symbol sets offered in the TFM.
diff --git a/Makefile.comm b/Makefile.comm
index 2b8b7ffd8..61f3befcc 100644
--- a/Makefile.comm
+++ b/Makefile.comm
@@ -1,4 +1,4 @@
-# Copyright (C) 1989-2000, 2002 Free Software Foundation, Inc.
+# Copyright (C) 1989-2000, 2002, 2003 Free Software Foundation, Inc.
# Written by James Clark (jjc@jclark.com)
#
# This file is part of groff.
diff --git a/contrib/groffer/groffer.sh b/contrib/groffer/groffer.sh
index 4e7332c06..f019e2066 100644
--- a/contrib/groffer/groffer.sh
+++ b/contrib/groffer/groffer.sh
@@ -3070,7 +3070,7 @@ usage()
echo2;
version;
cat >&2 <<EOF
-Copyright (C) 2001 Free Software Foundation, Inc.
+Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
This is free software licensed under the GNU General Public License.
EOF
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index bd7dcb4d5..06395f196 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -7,7 +7,7 @@
.@revision $Revision$
.ig
-Copyright (C) 1991-2000 Free Software Foundation, Inc.
+Copyright (C) 1991-2000, 2001, 2002, 2003 Free Software Foundation, Inc.
mgm is written by Jörgen Hägg <jh@axis.com>
mgm is free software; you can redistribute it and/or modify it under
diff --git a/font/devps/generate/Makefile b/font/devps/generate/Makefile
index 781dac061..dd0d65bfc 100644
--- a/font/devps/generate/Makefile
+++ b/font/devps/generate/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1989-2000, 2002 Free Software Foundation, Inc.
+# Copyright (C) 1989-2000, 2002, 2003 Free Software Foundation, Inc.
# Written by James Clark (jjc@jclark.com)
#
# This file is part of groff.
diff --git a/src/devices/grohtml/html.h b/src/devices/grohtml/html.h
index 431647c62..18c53d767 100644
--- a/src/devices/grohtml/html.h
+++ b/src/devices/grohtml/html.h
@@ -1,5 +1,5 @@
// -*- C++ -*-
-/* Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
diff --git a/src/include/driver.h b/src/include/driver.h
index b15d6c991..8337e7c22 100644
--- a/src/include/driver.h
+++ b/src/include/driver.h
@@ -1,5 +1,5 @@
// -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001
+/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001, 2003
Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
diff --git a/src/include/posix.h b/src/include/posix.h
index e7f38cd1b..e2ab4e1d4 100644
--- a/src/include/posix.h
+++ b/src/include/posix.h
@@ -1,5 +1,5 @@
// -*- C++ -*-
-/* Copyright (C) 1992, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 2000, 2001, 2002 Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
diff --git a/src/preproc/pic/common.cpp b/src/preproc/pic/common.cpp
index e86f058c1..b302ca794 100644
--- a/src/preproc/pic/common.cpp
+++ b/src/preproc/pic/common.cpp
@@ -1,5 +1,5 @@
// -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1989, 1990, 1991, 1992, 2003 Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
diff --git a/src/preproc/pic/common.h b/src/preproc/pic/common.h
index d04da97a8..849637f1a 100644
--- a/src/preproc/pic/common.h
+++ b/src/preproc/pic/common.h
@@ -1,5 +1,6 @@
// -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1989, 1990, 1991, 1992, 1993, 2003
+ Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
diff --git a/src/preproc/pic/output.h b/src/preproc/pic/output.h
index a0a8331f8..873ec3cfa 100644
--- a/src/preproc/pic/output.h
+++ b/src/preproc/pic/output.h
@@ -1,5 +1,5 @@
// -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1989, 1990, 1991, 1992, 2001 Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
diff --git a/src/preproc/refer/ref.cpp b/src/preproc/refer/ref.cpp
index 86ceed052..857341a1b 100644
--- a/src/preproc/refer/ref.cpp
+++ b/src/preproc/refer/ref.cpp
@@ -1,5 +1,6 @@
// -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1989, 1990, 1991, 1992, 2001, 2003
+ Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
diff --git a/src/preproc/tbl/table.h b/src/preproc/tbl/table.h
index 165401038..522d9b716 100644
--- a/src/preproc/tbl/table.h
+++ b/src/preproc/tbl/table.h
@@ -1,5 +1,5 @@
// -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992, 2001, 2002
+/* Copyright (C) 1989, 1990, 1991, 1992, 2001, 2002, 2003
Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
diff --git a/src/roff/groff/groff.cpp b/src/roff/groff/groff.cpp
index f92c8af6a..80fab05d0 100644
--- a/src/roff/groff/groff.cpp
+++ b/src/roff/groff/groff.cpp
@@ -185,7 +185,7 @@ int main(int argc, char **argv)
vflag = 1;
{
printf("GNU groff version %s\n", Version_string);
- printf("Copyright (C) 2002 Free Software Foundation, Inc.\n"
+ printf("Copyright (C) 2004 Free Software Foundation, Inc.\n"
"GNU groff comes with ABSOLUTELY NO WARRANTY.\n"
"You may redistribute copies of groff and its subprograms\n"
"under the terms of the GNU General Public License.\n"
diff --git a/src/roff/nroff/nroff.man b/src/roff/nroff/nroff.man
index 6a9c9425b..4e715f94a 100644
--- a/src/roff/nroff/nroff.man
+++ b/src/roff/nroff/nroff.man
@@ -1,5 +1,5 @@
.ig
-Copyright (C) 1989-2001, 2002 Free Software Foundation, Inc.
+Copyright (C) 1989-2001, 2002, 2003 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
diff --git a/src/roff/troff/node.cpp b/src/roff/troff/node.cpp
index 7561259e3..35f2d60c7 100644
--- a/src/roff/troff/node.cpp
+++ b/src/roff/troff/node.cpp
@@ -3397,7 +3397,7 @@ int node::nbreaks()
breakpoint *space_node::get_breakpoints(hunits width, int ns,
breakpoint *rest, int is_inner)
{
- if (next->discardable())
+ if (next && next->discardable())
return rest;
breakpoint *bp = new breakpoint;
bp->next = rest;
@@ -3418,7 +3418,7 @@ breakpoint *space_node::get_breakpoints(hunits width, int ns,
int space_node::nbreaks()
{
- if (next->discardable())
+ if (next && next->discardable())
return 0;
else
return 1;
diff --git a/src/utils/hpftodit/hpftodit.cpp b/src/utils/hpftodit/hpftodit.cpp
index 3a184cb25..b4ca8e0eb 100644
--- a/src/utils/hpftodit/hpftodit.cpp
+++ b/src/utils/hpftodit/hpftodit.cpp
@@ -1,5 +1,5 @@
// -*- C++ -*-
-/* Copyright (C) 1994, 2000, 2001, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.