=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mail/Attic/getname.c,v retrieving revision 1.3 retrieving revision 1.4 diff -c -r1.3 -r1.4 *** src/usr.bin/mail/Attic/getname.c 1997/07/13 21:21:13 1.3 --- src/usr.bin/mail/Attic/getname.c 1997/07/14 00:24:27 1.4 *************** *** 1,4 **** ! /* $OpenBSD: getname.c,v 1.3 1997/07/13 21:21:13 millert Exp $ */ /* $NetBSD: getname.c,v 1.4 1996/06/08 19:48:23 christos Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: getname.c,v 1.4 1997/07/14 00:24:27 millert Exp $ */ /* $NetBSD: getname.c,v 1.4 1996/06/08 19:48:23 christos Exp $ */ /* *************** *** 38,44 **** #if 0 static char sccsid[] = "@(#)getname.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: getname.c,v 1.3 1997/07/13 21:21:13 millert Exp $"; #endif #endif /* not lint */ --- 38,44 ---- #if 0 static char sccsid[] = "@(#)getname.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: getname.c,v 1.4 1997/07/14 00:24:27 millert Exp $"; #endif #endif /* not lint */ *************** *** 49,55 **** /* Getname / getuserid for those with hashed passwd data base). */ /* ! * Search the passwd file for a uid. Return name on success, NOSTR on failure */ char * getname(uid) --- 49,55 ---- /* Getname / getuserid for those with hashed passwd data base). */ /* ! * Search the passwd file for a uid. Return name on success, NULL on failure */ char * getname(uid) *************** *** 58,64 **** struct passwd *pw; if ((pw = getpwuid(uid)) == NULL) ! return(NOSTR); return(pw->pw_name); } --- 58,64 ---- struct passwd *pw; if ((pw = getpwuid(uid)) == NULL) ! return(NULL); return(pw->pw_name); }