ttl@cs.wisc.edu (Tony Laundrie) (11/21/89)
I got the fig shars and the fig patches from the archive server at titan.rice.edu, but I found an error in f2ps.c and f2p.c (variables weren't being initialized). Use the following code to modify those programs: /* ------------ the new stuff is marked with > ------------- */ ...etc. main(argc, argv) int argc; char *argv[]; { F_compound objects; int status; char c; get_args(argc, argv); if (to == NULL) tfp = stdout; else if ((tfp = fopen(to, "w")) == NULL) { fprintf(stderr, "Couldn't open %s", to); fprintf(stderr, Usage, prog); exit(0); } > objects.next = NULL; > objects.lines = NULL; > objects.ellipses = NULL; > objects.splines = NULL; > objects.texts = NULL; > objects.arcs = NULL; > objects.compounds = NULL; if (from) { status = read_fig(from, &objects); } ... etc. /* ------------ the new stuff is marked with > ------------- */ ttl@astroatc.uucp ...uwvax!astroatc!ttl Tony Laundrie