Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2015 09:52:15 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Bruce Evans <brde@optusnet.com.au>
Cc:        Julian Elischer <julian@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r283105 - head/share/man/man9
Message-ID:  <3610610.hSkXANVPkf@ralph.baldwin.cx>
In-Reply-To: <20150519214041.J3472@besplex.bde.org>
References:  <201505191133.t4JBX54w093912@svn.freebsd.org> <20150519214041.J3472@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, May 19, 2015 10:34:11 PM Bruce Evans wrote:
> It would be better to fix the function to match its documented name.
> 
> Many other function names are similarly broken.  For example, the primary
> function in getenv(9).

I agree. :(  I would prefer to restore the psignal() and getenv() names.
getenv() also has the related misfeature that only getenv() was renamed,
but not functions like getenv_int() (similar to pgsignal() for psignal()).
Given that no attempt was made to handle the far more pervasive issues
with printf and malloc, I think these renames should be reverted.  If
someone wants to have a user-mode kernel then whatever solution is devised
for malloc() (whether #define or symbol renaming trickery) can be done
for getenv() and psignal().

-- 
John Baldwin



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