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

Re: cvs commit: src/share/man/man9

From: "Douwe Kiela" <virtus@xxxxxxxxxx>
Date: Sat, 4 Sep 2004 23:37:10 +0200

From: "Matthew Dillon" <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
>   Modified files:
>     share/man/man9       style.9
>   Log:
>   Minor style cleanups.  Start a list of obsolete functions that should no
>   longer be used, and add a warning about the use of unbounded string
Hey, it wouldn't be a bad idea to also mention that strlcpy should sometimes
be used over strncpy, would it? OpenBSD created the function because
strncpy's security is insufficient in some cases, so I guess it wouldn't be
a bad thing to mention that. Also, I think that it is important to mention
what function should be used instead of the proposed LEGACY functions..
Avoiding race conditions using mkstemp instead of mktemp is an important
I am looking at style(9) now and from what I see it doesn't mention the
importance of error checking either.
Want me to submit patches for this, or do you want to change it yourself?


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