commit - 8d4a3514a8a8ba68c22be4c75fa58111fa5c2f9f
commit + dcc9531c5a8d5d43d71060f8975d592c7598b349
blob - bc4c4195dde951c07892c09a2a03520d9da4da40
blob + 1006b2559c9b80a50d5821c32275c31cff293426
--- src/cmd/postscript/download/download.c
+++ src/cmd/postscript/download/download.c
*
*/
+#include <u.h>
#include <stdio.h>
#include <signal.h>
#include <sys/types.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
+#include <libc.h>
#include "comments.h" /* PostScript file structuring comments */
#include "gen.h" /* general purpose definitions */
argc = agc; /* other routines may want them */
argv = agv;
-
+
+ hostfontdir = unsharp(hostfontdir);
+
fp_in = stdin;
prog_name = argv[0]; /* just for error messages */
if ( printer != NULL ) { /* use Unix 4.0 lp pathnames */
sprintf(buf, "%s/printers/%s", HOSTDIR, printer);
- path = buf;
+ path = unsharp(buf);
} else path = residentfonts;
if ( (fp = fopen(path, "r")) != NULL ) {