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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to