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

git: libutil: Miscellaneous cleanup.


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 12 Oct 2009 14:56:27 -0700 (PDT)

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



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