git: libutil: Miscellaneous cleanup.

看板DFBSD_commit作者時間16年前 (2009/10/13 06:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit a7c2f834bcea3319a0662e018a25850826e04b91 Author: Sascha Wildner <saw@online.de> Date: Mon Oct 12 23:56:15 2009 +0200 libutil: Miscellaneous cleanup. * In setusercontext(), pwd is not guaranteed to be non-NULL if LOGIN_SETPRIORITY is in flags. Therefore, don't use it in the syslog() call. * Remove some dead assignments. Summary of changes: lib/libutil/login_class.c | 16 ++++++---------- lib/libutil/pw_util.c | 5 ++--- 2 files changed, 8 insertions(+), 13 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a7c2f834bcea3319a0662e018a25850826e04b91 -- DragonFly BSD source repository
文章代碼(AID): #1AqwSZXp (DFBSD_commit)