Received: by mail.netbsd.org (Postfix, from userid 605) id CDE4C19CEE2; Wed, 19 Jan 2011 19:21:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 1BD9619CE8F for ; Wed, 19 Jan 2011 19:21:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id LAUvugRkYKmv for ; Wed, 19 Jan 2011 19:21:30 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 82DF819CE6B for ; Wed, 19 Jan 2011 19:21:30 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 693A4175DD; Wed, 19 Jan 2011 19:21:30 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Wed, 19 Jan 2011 14:21:30 -0500 From: "Christos Zoulas" Subject: CVS commit: src/include To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20110119192130.693A4175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Christos Zoulas" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: christos Date: Wed Jan 19 19:21:30 UTC 2011 Modified Files: src/include: unistd.h src/include/ssp: ssp.h unistd.h Log Message: Re-do ssp hijacking by defining inline functions and using the weak libc symbols to do the indirection for unistd.h instead of #define tricks. Fixes compilation for things that define struct { ssize_t read(int fd, ...); }. To generate a diff of this commit: cvs rdiff -u -r1.124 -r1.125 src/include/unistd.h cvs rdiff -u -r1.4 -r1.5 src/include/ssp/ssp.h src/include/ssp/unistd.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.