[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] Newsq problems on FreeBSD



Ummm.. That is 2.2.8-STABLE as of Septmber 13. Sorry for the mix up. 

It is real easy since the machine I send email to this list from is my
workstation and is running 3.3-STABLE. 

TIA

On Tue, 23 Nov 1999, Cornelius Krasel was heard blurting out:

> I take the liberty of forwarding a message to this list concerning
> the problems with newsq.c on FreeBSD 3.3 (Ron is on the list):
> 
> ----- Forwarded message from Ron 'The InSaNe One' Rosson -----
> 
> Here is the output of the make concerning newsq:
> 
> /newsq.c: In function `main':
> /newsq.c:50: warning: long unsigned int format, different type arg (arg 3)
> 
> Here is what the outpu looks like when you run newsq:
> 
> insane-the> ./newsq
> 25671-943312396-1:      608 bytes, spooled (null)       From: Mon Nov 22 15:13:16 1999
> 
>         Ngrp: insane@xxxxxxxxxxxxxxxxxxxxx (Ron Rosson)
>         Subj: sdnet.test
> 
> ----- End of forwarded message from Ron 'The InSaNe One' Rosson -----
> 
> What strikes me as particularly odd is the odd reference to a nullpointer
> in the output which results in all subsequent fields being shifted by one
> (i.e. the From: contains the Date of the message, the Newsgroup: contains
> the Sender of the message and the Subject: contains the newsgroup). When
> looking at the code, I have no sensible explanation for this; the line
> which causes all the troubles is
> 
>                 printf("%s: %8lu bytes, spooled %s\tFrom: %-.66s\n"
>                         "\tNgrp: %-.66s\n\tSubj: %-.66s\n",
>                         de->d_name, st.st_size, ctime(&st.st_mtime),
>                         fgetheader( f, "From:" ),
>                         fgetheader( f, "Newsgroups:" ),
>                         fgetheader( f, "Subject:" ) );
> 
> Any help?
> 
> --Cornelius.
> 
> -- 
> /* Cornelius Krasel, U Wuerzburg, Dept. of Pharmacology, Versbacher Str. 9 */
> /* D-97078 Wuerzburg, Germany   email: phak004@xxxxxxxxxxxxxxxxxxxxxx  SP4 */
> /* "Science is the game we play with God to find out what His rules are."  */
> 
> -- 
> leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
> To unsubscribe, send mail with "unsubscribe" in the subject to the list
> 

-- 
-------------------------------------------------------------------
Ron Rosson              	... and a UNIX user said ...
The InSaNe One                 		   rm -rf *
insane@xxxxxxxxxxxxx      	and all was /dev/null and *void()
-------------------------------------------------------------------
Last night, I laid in bed looking up at the stars in the sky and thought
to myself, "Where the hell is the ceiling???"

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list