svn commit: r283105 - head/share/man/man9

John Baldwin jhb at freebsd.org
Tue May 19 14:03:04 UTC 2015


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


More information about the svn-src-head mailing list