Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!peregrine!imt3b2!imtsft From: imtsft@imt3b2.UUCP (IMT) Newsgroups: news.software.b Subject: Bug in Patch 9 fullname.c Message-ID: <2976@imt3b2.UUCP> Date: Tue, 13-Oct-87 07:35:09 EDT Article-I.D.: imt3b2.2976 Posted: Tue Oct 13 07:35:09 1987 Date-Received: Fri, 16-Oct-87 07:07:50 EDT Organization: IMT Inc., Mission Viejo, CA. Lines: 35 Keywords: patch to fullname (#9) broken BEWARE The patch to fullname contained in patch 9 to usenet software breaks the fullname function on AT&T SV machines and propably on others running SV. The patch to allow embedded spaces in the gecos information that is of the form: : junk - full name ( junk : changed the line: if (*p == '-') { to: if (*p == '-' && isspace(p[1])) { This change makes it imperative to have a space following the '-'. The /etc/passwd file on AT&T machines has a gecos field that does not have the space and is therefore not handled correctly. The simple solution is to use the previous version of fullname. ------------------------------------------------------------------------------ name : IMT (Group Administrator) email : ...(ccicpg|peregrine)!imt3b2!imtsft ------------------------------------------------------------------------------ -- --- Paul Czarnik ---