🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1381

diff 1.3 bug

#1381
From: James Van Artsdalen
Date: Sun, 16 Oct 1988 16:57
44 lines
1567 bytes
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
Technical Details
Message-ID: <9341@bigtex.cactus.org>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!mcdchg!rutgers!ukma!tut.cis.ohio-state.edu!cs.utexas.edu!milano!bigtex!james

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!mcdchg!rutgers!ukma!tut.cis.ohio-state.edu!cs.utexas.edu!milano!bigtex!james
From: james@bigtex.cactus.org (James Van Artsdalen)
Newsgroups: gnu.utils.bug
Subject: diff 1.3 bug
Message-ID: <9341@bigtex.cactus.org>
Date: 16 Oct 88 16:57:19 GMT
Organization: F.B.N. Software, Austin TX
Lines: 44