From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3805405df4a3eb52881e489021f2fc9e@plan9.bell-labs.com> From: David Presotto To: 9fans@cse.psu.edu Subject: Re: [9fans] /sys/include/ape/errno.h In-Reply-To: <20040106150347.P28128@cackle.proxima.alt.za> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-xlmfpvfvqyfhhwupddwsyunzto" Date: Tue, 6 Jan 2004 08:15:54 -0500 Topicbox-Message-UUID: b30847e6-eacc-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-xlmfpvfvqyfhhwupddwsyunzto Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Renumbering could blow people away that actually have compiled code lying around unless you get them to recompile. If you actually use error values rather than the symbols, you're living a precarious life, vis a vis porting. --upas-xlmfpvfvqyfhhwupddwsyunzto Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Tue Jan 6 08:05:31 EST 2004 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Tue Jan 6 08:05:28 EST 2004 Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 71F3319E10; Tue, 6 Jan 2004 08:05:19 -0500 (EST) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.4.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id A458119D8E; Tue, 6 Jan 2004 08:05:06 -0500 (EST) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 493A219C34; Tue, 6 Jan 2004 08:04:05 -0500 (EST) Received: from cackle.proxima.alt.za (cackle.proxima.alt.za [196.30.44.141]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 8016619C5C for <9fans@cse.psu.edu>; Tue, 6 Jan 2004 08:03:53 -0500 (EST) Received: from cackle.proxima.alt.za (localhost [127.0.0.1]) by cackle.proxima.alt.za (8.12.8/8.12.3) with ESMTP id i06D3mER005031 for <9fans@cse.psu.edu>; Tue, 6 Jan 2004 15:03:49 +0200 (SAST) Received: (from lucio@localhost) by cackle.proxima.alt.za (8.12.8/8.12.3/Submit) id i06D3mea005030 for 9fans@cse.psu.edu; Tue, 6 Jan 2004 15:03:48 +0200 (SAST) From: Lucio De Re To: 9fans@cse.psu.edu Subject: Re: [9fans] /sys/include/ape/errno.h Message-ID: <20040106150347.P28128@cackle.proxima.alt.za> Mail-Followup-To: 9fans@cse.psu.edu References: <20040106124711.K28128@cackle.proxima.alt.za> <25f2f87262a86acccca4503b41a7115f@plan9.bell-labs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4us In-Reply-To: <25f2f87262a86acccca4503b41a7115f@plan9.bell-labs.com>; from David Presotto on Tue, Jan 06, 2004 at 07:30:58AM -0500 Organization: Proxima Research & Development Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu X-Reply-To: lucio@proxima.alt.za List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Tue, 6 Jan 2004 15:03:47 +0200 X-Spam-Status: No, hits=-2.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) On Tue, Jan 06, 2004 at 07:30:58AM -0500, David Presotto wrote: > > I wrote the apesocket stuff to match 4.1c. There wasn't any posix > spec at the time, didn't realize there was one now. If you want > to replace them, go right ahead. The current stuff is pretty > thin. What would be safe here? Renumber all the error codes to match NetBSD (I'm sure all *BSDs are identical, but I guess I ought to check) and submit the changed header file to Bell Labs so that a new copy of libap.a can be generated to match? Is this enough/everything needed? ++L --upas-xlmfpvfvqyfhhwupddwsyunzto--