cvs commit: src/sbin/mount mount.c

Matthew Dillon dillon at apollo.backplane.com
Sun Apr 3 11:46:56 PDT 2005


:
:On Sat, Apr 02, 2005 at 01:46:16PM -0800, Matthew Dillon wrote:
:> dillon      2005/04/02 13:46:16 PST
:> 
:> DragonFly src repository
:> 
:>   Modified files:
:>     sbin/mount           mount.c 
:>   Log:
:>   General WARNS cleanups: staticize functions.  Adjust strdup()
:>   calls to check for allocation failures.
:
:I haven't commited this because IMO most of the strdup's are just dump.
:I'll clean it up :)
:
:Joerg

    I agree... I wouldn't normally bother to check the return code for
    a small malloc or strdup either (if it dumps, it dumps), but I didn't
    want to spend too much time redoing the patch sets.  Please feel free
    to clean it up.

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Commits mailing list