diff options
author | Matthew Hunt <mph@FreeBSD.org> | 2000-10-19 15:53:29 +0000 |
---|---|---|
committer | Matthew Hunt <mph@FreeBSD.org> | 2000-10-19 15:53:29 +0000 |
commit | 029171324046dcbbff5f88d0465f5faee8475839 (patch) | |
tree | 4d7da516abe1ceab07d8387c0322fcdbbabeb2ee /print/dvi2tty/files/patch-ae | |
parent | Update to 7.5.10 (diff) |
Change default pager from /usr/bin/pg to /usr/bin/more. As before,
$PAGER overrides.
(Requested by: dcs)
One patch per modified file.
One modified file per patch.
Honor CC, CFLAGS.
Use BSD_INSTALL_FOO and, as a side effect, install with our customary
ownerships.
No response from: maintainer
Diffstat (limited to '')
-rw-r--r-- | print/dvi2tty/files/patch-ae | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/print/dvi2tty/files/patch-ae b/print/dvi2tty/files/patch-ae new file mode 100644 index 000000000000..e070d983dcf0 --- /dev/null +++ b/print/dvi2tty/files/patch-ae @@ -0,0 +1,18 @@ +--- disdvi.c.orig Fri Mar 12 01:05:11 1993 ++++ disdvi.c Mon May 6 04:47:36 1996 +@@ -348,13 +348,14 @@ + } + else + free(fnt->name); /* free old name */ +- if ((name = (char *) malloc(namelen * sizeof(char))) == NULL) { ++ if ((name = (char *) malloc((namelen + 1) * sizeof(char))) == NULL) { + perror("fontdef"); + exit(1); + } + + for (i = 0; i < namelen; i++) + name[i] = get1(); ++ name[namelen] = '\0'; + fnt->name = name; + if (new) { + fnt->next = fonts; |