DragonFly BSD
DragonFly submit List (threaded) for 2004-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Mentioning strtonum(3) in style(9)


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 3 Sep 2004 21:12:30 -0700 (PDT)

:Hello
:
:There was a recent style(9) commit regarding the use of safe functions, so
:I guess strtonum(3) should be mentioned too. Below is a patch, though
:someone who speaks english better than me will probably come up with
:better wording...

    I don't really like strtonum(), actually.  It makes the mistake of
    trying to integrate a number of things into a single function call
    that really ought to be more explicitly checked after the call returns.

						-Matt




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]