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

Re: DragonFly-2.1.1.282.gfeed9a master lib/libutil Makefile libutil.h pw_util.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 3 Jan 2009 10:01:31 -0800 (PST)

:    Do not dereference a null pointer for a malformed line in master.passwd.
:    
:    Instead, just copy it silently to prevent programs from bailing.  While
:    I'm here, remove some (void) casts.
:    
:    Obtained-from: FreeBSD

    Don't bother with the (void) casts when the code is ignoring the return
    value, those just make the code harder to read.

						-Matt



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