Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 1999 07:54:50 -0800 (PST)
From:      Archie Cobbs <archie@whistle.com>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        dima@tejblum.dnttm.rssi.ru, wollman@khavrinen.lcs.mit.edu, cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, dt@FreeBSD.ORG
Subject:   Re: cvs commit: src/include stdio.h src/lib/libc/stdio Makefile.inc fgetpos.c fseek.3 fseek.c fsetpos.c ftell.c
Message-ID:  <199902091554.HAA32440@bubba.whistle.com>
In-Reply-To: <199902091517.CAA16311@godzilla.zeta.org.au> from Bruce Evans at "Feb 10, 99 02:17:39 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902091554.HAA32440>