summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-12-01 07:48:37 +0000
committerwlemb <wlemb>2001-12-01 07:48:37 +0000
commit43c36b1b9b7fdb1c081c7b94a1619f1ff2884962 (patch)
treecf797971a02eec5b41cf0a3cce23bdefe77c3d88
parent4069518c0cded7c1b96413281bcf9e3faf7acf99 (diff)
downloadgroff-43c36b1b9b7fdb1c081c7b94a1619f1ff2884962.tar.gz
* src/lib/libbib/map.c, src/utils/pfbtops/pfbtops.c: Include
stdlib.h. * src/roff/troff/input.cc (read_draw_node): Emit error message if more than one argument to \D'f ...'. * tmac/Makefile.sub (NORMALFILES): Add lbp.tmac.
-rw-r--r--ChangeLog10
-rw-r--r--src/libs/libbib/map.c2
-rw-r--r--src/roff/troff/input.cc6
-rw-r--r--src/utils/pfbtops/pfbtops.c1
-rw-r--r--tmac/Makefile.sub1
5 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index cace1b9b..c43e8b3a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2001-11-29 Werner LEMBERG <wl@gnu.org>
+
+ * src/lib/libbib/map.c, src/utils/pfbtops/pfbtops.c: Include
+ stdlib.h.
+
+ * src/roff/troff/input.cc (read_draw_node): Emit error message if
+ more than one argument to \D'f ...'.
+
+ * tmac/Makefile.sub (NORMALFILES): Add lbp.tmac.
+
2001-11-28 Werner LEMBERG <wl@gnu.org>
* tmac/an-old.tmac, tmac/doc.tmac, contrib/mm/m.tmac: Assure that
diff --git a/src/libs/libbib/map.c b/src/libs/libbib/map.c
index 064807b8..4d878a24 100644
--- a/src/libs/libbib/map.c
+++ b/src/libs/libbib/map.c
@@ -18,6 +18,8 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#include <stdlib.h>
+
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/src/roff/troff/input.cc b/src/roff/troff/input.cc
index 9591001a..f2916b0f 100644
--- a/src/roff/troff/input.cc
+++ b/src/roff/troff/input.cc
@@ -7008,6 +7008,12 @@ static node *read_draw_node()
if (no_last_v)
error("even number of arguments needed for spline");
break;
+ case 'f':
+ if (npoints != 1 || !no_last_v) {
+ error("one argument needed for gray shade");
+ npoints = 1;
+ point[0].v = V0;
+ }
default:
// silently pass it through
break;
diff --git a/src/utils/pfbtops/pfbtops.c b/src/utils/pfbtops/pfbtops.c
index f087e912..3417dcb4 100644
--- a/src/utils/pfbtops/pfbtops.c
+++ b/src/utils/pfbtops/pfbtops.c
@@ -24,6 +24,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#endif
#include <stdio.h>
+#include <stdlib.h>
#include <getopt.h>
#include <limits.h>
diff --git a/tmac/Makefile.sub b/tmac/Makefile.sub
index b72c53ae..ea1e0ed7 100644
--- a/tmac/Makefile.sub
+++ b/tmac/Makefile.sub
@@ -20,6 +20,7 @@ NORMALFILES=\
tty.tmac tty-char.tmac latin1.tmac \
X.tmac Xps.tmac \
lj4.tmac \
+ lbp.tmac \
html.tmac www.tmac color-html.tmac \
color.tmac \
eqnrc \