Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 1997 04:51:45 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, jkh@time.cdrom.com
Cc:        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
Message-ID:  <199706291851.EAA08740@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> >  Log:
>> >  _err() -> err().
>> 
>> Error!  Library functions should not call functions in the user namespace.
>
>Well, it nuked my builds of -current (with "missing symbol __err") so
>I figured having it outright broken wasn't a good idea either.  What
>do you suggest?

Do you use ftp in the build?  The missing `_err' seems to be harmless unless
it is actually called.

There seems to be no better correct quick fix than using weak aliases and
renaming `err' to `_err' and `verr' to `_verr' (renaming `err' alone is
insufficient since it calls `verr').  I think I prefer to do the renaming
using macro hacks like the ones in <resolv.h>.

Bruce



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