From owner-cvs-all Tue Feb 9 07:57:09 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA01639 for cvs-all-outgoing; Tue, 9 Feb 1999 07:57:09 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from bubba.whistle.com (s205m7.whistle.com [207.76.205.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA01611; Tue, 9 Feb 1999 07:56:50 -0800 (PST) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.2/8.9.2) id HAA32440; Tue, 9 Feb 1999 07:54:50 -0800 (PST) From: Archie Cobbs Message-Id: <199902091554.HAA32440@bubba.whistle.com> Subject: Re: cvs commit: src/include stdio.h src/lib/libc/stdio Makefile.inc fgetpos.c fseek.3 fseek.c fsetpos.c ftell.c In-Reply-To: <199902091517.CAA16311@godzilla.zeta.org.au> from Bruce Evans at "Feb 10, 99 02:17:39 am" To: bde@zeta.org.au (Bruce Evans) Date: Tue, 9 Feb 1999 07:54:50 -0800 (PST) Cc: dima@tejblum.dnttm.rssi.ru, wollman@khavrinen.lcs.mit.edu, cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, dt@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Bruce Evans writes: > >However, there is a change I omitted that would, IMO, require a major > >version bump: addition of (not so) new errno values to sys_errlist. :-| > >As I understand, applications dynamically linked with old libc will be > >confused by a change of size of this array... > > No. The old code should use sys_nerr to avoid accessing beyond the end > of sys_errlist[], even if it is too crufty to use strerror(), etc. Then perhaps this definition in /sys/sys/errno.h should have a suitable warning to that effect: #define ELAST 86 /* Must be equal largest errno */ -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message