看板 DFBSD_commit 關於我們 聯絡資訊
: :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@backplane.com>