From owner-cvs-all Mon Mar 5 1: 6:56 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7ABD837B719; Mon, 5 Mar 2001 01:06:51 -0800 (PST) (envelope-from obrien@FreeBSD.org) Received: (from obrien@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2596pC62626; Mon, 5 Mar 2001 01:06:51 -0800 (PST) (envelope-from obrien) Message-Id: <200103050906.f2596pC62626@freefall.freebsd.org> From: "David E. O'Brien" Date: Mon, 5 Mar 2001 01:06:51 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/include unistd.h src/lib/libc/gen getlogin.c src/lib/libc/sys getlogin.2 X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG obrien 2001/03/05 01:06:51 PST Modified files: (Branch: RELENG_4) include unistd.h lib/libc/gen getlogin.c lib/libc/sys getlogin.2 Log: MFC: getlogin rev 1.5 Change the interface of getlogin_r to return an int. The former interface was based on a draft version of POSIX whereas the final (1996) version of POSIX specified that the error is returned. While I'm here, fix getlogin_r so that it works for more than just the first time it's called. Revision Changes Path 1.35.2.5 +2 -2 src/include/unistd.h 1.4.2.1 +50 -17 src/lib/libc/gen/getlogin.c 1.14.2.2 +19 -6 src/lib/libc/sys/getlogin.2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message