From owner-cvs-src-old@FreeBSD.ORG Tue Jan 19 23:07:32 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9ED421065754 for ; Tue, 19 Jan 2010 23:07:32 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8D7328FC13 for ; Tue, 19 Jan 2010 23:07:32 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o0JN7WXl036976 for ; Tue, 19 Jan 2010 23:07:32 GMT (envelope-from ed@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o0JN7WHB036975 for cvs-src-old@freebsd.org; Tue, 19 Jan 2010 23:07:32 GMT (envelope-from ed@repoman.freebsd.org) Message-Id: <201001192307.o0JN7WHB036975@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ed@repoman.freebsd.org using -f From: Ed Schouten Date: Tue, 19 Jan 2010 23:07:12 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/gen Symbol.map uname.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 23:07:32 -0000 ed 2010-01-19 23:07:12 UTC FreeBSD src repository Modified files: lib/libc/gen Symbol.map uname.c Log: SVN rev 202661 on 2010-01-19 23:07:12Z by ed Revert r202447 by re-exposing the old uname(3) function. It makes hardly any sense to expose a symbol which should only be provided for binary compatibility, but it seems we don't have a lot of choice here. There are many autoconf scripts out there that try to create a binary that links against the old symbol to see whether uname(3) is present. These scripts fail to detect uname(3) now. It should be noted that the behaviour we implement is not against the standards: | The following shall be declared as a function and may also be defined | as a macro: | | int uname(struct utsname *); Revision Changes Path 1.32 +1 -0 src/lib/libc/gen/Symbol.map 1.12 +3 -3 src/lib/libc/gen/uname.c