james@bigtex.cactus.org (James Van Artsdalen) (10/16/88)
There is a bug in the perror(3c) usage in diff. In addition, it would be useful to have CLIB added to the Makefile line for diff. *** /tmp/,RCSt1a16503 Sun Oct 16 11:56:51 1988 --- Makefile Sun Oct 16 11:20:27 1988 *************** *** 33,39 **** tapefiles = $(srcs) README diagmeet.note Makefile COPYING diff: $(objs) ! $(CC) -o diff $(CFLAGS) $(LDFLAGS) $(objs) $(objs): diff.h --- 33,39 ---- tapefiles = $(srcs) README diagmeet.note Makefile COPYING diff: $(objs) ! $(CC) -o diff $(CFLAGS) $(LDFLAGS) $(objs) $(CLIB) $(objs): diff.h *** /tmp/,RCSt1a16503 Sun Oct 16 11:56:52 1988 --- util.c Sun Oct 16 11:52:57 1988 *************** *** 28,34 **** char *text; { fprintf (stderr, "%s: %s: ", program, text); ! perror (0); } /* Use when a system call returns non-zero status and that is fatal. */ --- 28,34 ---- char *text; { fprintf (stderr, "%s: %s: ", program, text); ! perror (""); } /* Use when a system call returns non-zero status and that is fatal. */ -- James R. Van Artsdalen james@bigtex.cactus.org "Live Free or Die" Home: 512-346-2444 Work: 338-8789 9505 Arboretum Blvd Austin TX 78759