🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.sources.bugs
Article #844

BUG REPORT -- uutran(L)

#844
From: John H Pochmara
Date: Tue, 21 Oct 1986 15:58
64 lines
2252 bytes


There is a small problem with uutran, When you use the options -sd
together it causes uutran to loose the first entry in the log for each
system. What follows is the diff's  that fix it.

The patches are made in get.c. The diff's can be used with patch(1).

--John

---
    ...!lll-crg --->!csustan -v                      | "A career is great,
                  /     ^      \                     | But you can't run your
...trwrb!csla34 -<      |       >->!polyslo!jpochma  | fingers through its
                  \     v      /                     | hair" -Graffiti 4/13/83
      ...!ihnp4 --->!csun ----^                      |
                                                     |

-=-=-=-=-=-=-=-=-= CUT HERE =-=-=-=-=-=-=-=-=-=-=-= CUT HERE =-=-=-=-=-=-=-=-=-=

*** get.c.old	Tue Oct 21 07:35:11 1986
--- get.c.new	Tue Oct 21 07:37:11 1986
***************
*** 26,31
  	
  
  	while ( fgets(buf,BUFSIZE,fp) != NULL ) {
  		getdata(buf,&logdata);	/* get the log entry */
  		if (date)
  			do_date(&logdata);

--- 26,34 -----
  	
  
  	while ( fgets(buf,BUFSIZE,fp) != NULL ) {
+ 
+ /* fprintf(stderr,"buf: %s\n",buf); */
+ 
  		getdata(buf,&logdata);	/* get the log entry */
  		if (date)
  			do_date(&logdata);
***************
*** 62,68
  	}
  	makedate(td,ldata); /* chould not find it in list, so make it */
  	td = td->next;
! 	do_usr(td->d_usr,ldata);
  }
  
  

--- 65,75 -----
  	}
  	makedate(td,ldata); /* chould not find it in list, so make it */
  	td = td->next;
! 	/* do_usr(td->d_usr,ldata); */
! 	if (usr)
! 		do_usr(td->d_usr,ldata);
! 	else
! 		do_sys(td->d_sys,ldata);
  }
  
  
Technical Details
Message-ID: <212@polyslo.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!sri-spam!sri-unix!hplabs!sdcrdcf!psivax!csun!polyslo!jpochma

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!sri-spam!sri-unix!hplabs!sdcrdcf!psivax!csun!polyslo!jpochma
From: jpochma@polyslo.UUCP (John H Pochmara)
Newsgroups: net.sources.bugs
Subject: BUG REPORT -- uutran(L)
Message-ID: <212@polyslo.UUCP>
Date: Tue, 21-Oct-86 10:58:30 EST
Article-I.D.: polyslo.212
Posted: Tue Oct 21 10:58:30 1986
Date-Received: Sun, 26-Oct-86 03:41:21 EST
Reply-To: jpochma@polyslo.UUCP (John H Pochmara)
Organization: Cal Poly State Univ,CSC Dept,San Luis Obispo,CA 93407
Lines: 64
Keywords: BUG