From owner-cvs-lib Sun Jun 29 05:04:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA29813 for cvs-lib-outgoing; Sun, 29 Jun 1997 05:04:33 -0700 (PDT) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA29769; Sun, 29 Jun 1997 05:02:25 -0700 (PDT) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.8.5/8.8.5) id IAA07877; Sun, 29 Jun 1997 08:02:14 -0400 (EDT) Date: Sun, 29 Jun 1997 08:02:14 -0400 (EDT) From: Garrett Wollman Message-Id: <199706291202.IAA07877@khavrinen.lcs.mit.edu> To: Michael Smith Cc: bde@zeta.org.au (Bruce Evans), cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-lib@FreeBSD.ORG, jkh@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/gen stringlist.c In-Reply-To: <199706291102.UAA19302@genesis.atrad.adelaide.edu.au> References: <199706291050.UAA31042@godzilla.zeta.org.au> <199706291102.UAA19302@genesis.atrad.adelaide.edu.au> Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk < said: >> `err' was not misused by the library before, but ISTR that other [v]err* >> or [v]warn* functions are misused. > Should we then adopt the NetBSD convention and make the err family > safely accessible to other library functions? Library functions, other than err(3), should never call any of the err(3) functions which exit (despite the hooks I added to let consumers capture the exit attempt). Most library functions should refrain from generating output on stderr as well (despite the hooks I added to let consumers redirect the output). Having said that, a general namespace cleanup of the C library would be a good thing. I no longer have the personal inclination to worry about it too much. If you've ever wondered what sys/syscall-hide.h was for.... -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick