diff options
author | James Clark <jjc@jclark.com> | 1992-03-18 04:29:18 -0500 |
---|---|---|
committer | James Clark <jjc@jclark.com> | 1992-03-18 04:29:18 -0500 |
commit | a48ab7b6db26b1d98f77f59f22896fe02a700c40 (patch) | |
tree | 6ea8990d41dd47fa3197835548afe4cac0e92dd1 /lib/fontfile.c | |
parent | bd5385e4ea12522ba7e852fa3a628f3be854f674 (diff) | |
download | groff-git-1.05.tar.gz |
groff before CVS: release 1.051.05
Diffstat (limited to 'lib/fontfile.c')
-rw-r--r-- | lib/fontfile.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/fontfile.c b/lib/fontfile.c index 780368065..77c57c797 100644 --- a/lib/fontfile.c +++ b/lib/fontfile.c @@ -22,6 +22,7 @@ Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <string.h> #include <assert.h> #include <stdlib.h> +#include <errno.h> #include "font.h" #include "lib.h" #include "fontpath.h" @@ -62,13 +63,13 @@ void font::command_line_font_dir(const char *dir) if (need_colon) strcat(cl_font_dirs, ":"); strcat(cl_font_dirs, dir); - delete old_dirs; + a_delete old_dirs; } } void font::forget_command_line_font_dirs() { - delete cl_font_dirs; + a_delete cl_font_dirs; cl_font_dirs = 0; } @@ -107,7 +108,7 @@ FILE *font::open_file(const char *name, char **pathp) *pathp = path; return fp; } - delete path; + a_delete path; if (*p == '\0') break; } |