From owner-freebsd-current Mon Jun 3 16:22:14 2002 Delivered-To: freebsd-current@freebsd.org Received: from falcon.mail.pas.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id 8CC2837B407 for ; Mon, 3 Jun 2002 16:22:07 -0700 (PDT) Received: from pool0111.cvx22-bradley.dialup.earthlink.net ([209.179.198.111] helo=mindspring.com) by falcon.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 17F19H-0007Ny-00; Mon, 03 Jun 2002 16:22:05 -0700 Message-ID: <3CFBF9F4.1BA3080D@mindspring.com> Date: Mon, 03 Jun 2002 16:21:24 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Garrett Wollman Cc: Kris Kennaway , current@FreeBSD.ORG Subject: Re: State of the ports collection References: <20020603134224.A29126@xor.obsecurity.org> <200206032127.g53LRQri016204@khavrinen.lcs.mit.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Garrett Wollman wrote: > < said: > > * (>35 ports) Something caused sys_nerr to change prototypes. It looks > > like this might be because the definition of __const from > > has changed, but I can't see why. See for example > > > http://bento.freebsd.org/errorlogs/5-latest/bogosort-0.3.3.log > > Any program which declares sys_errlist for itself is wrong. In most > cases, the program should be using either strerror() or strerror_r(), > depending on its needs. Yes. I hate data interfaces more than your average person, but I admit that there are some performance sensitive cases where you can't avoid them easily (though you *can* avoid them in almost all cases). But the error handling path of any program is not one of them; if you are optimizing something other than the success path, there is something fundamentally wrong with your program or problem statement. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message