[net.news.b] minor 2.9 bug

tw@sri-unix (07/13/82)

#N:hp-pcd:6800002:000:954
hp-pcd!tw (Tw Cook)    Jul 12 20:04:00 1982

In 2.9, if there is neither a .name in your home directory, nor a 'NAME'
environment variable, the fullname.c program gets invoked to try and figure
out who you are.  Normally, this works pretty well (at least on our system,
very vanilla 4.1bsd).  However, if you are using the '-f' option to inews,
and specifying some name which can't be found in your passwd file, fullname
just returns its argument, creating a from field which looks like:
From: a!b!c!whoever (a!b!c!whoever)

A better solution might be to have fullname just return NULL whenever it
can't find an entry, and to have gensender just forget about the fullname
field if fullname didn't return one.

This isn't a particularly serious problem - it only cropped up because
I had to repost some things by hand after a filesystem problem lost them
the first time around.  In normal use, it really wouldn't matter.

							Tw Cook
							HP Personal Comp. Div.
							Corvallis, OR	
----------