git: updwtmpx - update prototype to be void, but ...

Alex Hornung alexh at crater.dragonflybsd.org
Sun Jul 31 07:59:04 PDT 2011


commit bdb02cd97595ace26fe6dff557dc880491697637
Author: Alex Hornung <ahornung at gmail.com>
Date:   Sun Jul 31 07:00:42 2011 +0100

    updwtmpx - update prototype to be void, but ...
    
     * also expose the int-returning prototype as _updwtmpx, only for internal
       DragonFly use. It seems as if most programs out there assume that
       updwtmpx returns void.
    
     * This should fix heirloom in pkgsrc

Summary of changes:
 include/utmpx.h                          |    3 ++-
 lib/libc/gen/getlastlogx.3               |   12 +++++++++---
 lib/libc/gen/utmpx.c                     |    8 +++++++-
 lib/pam_module/pam_lastlog/pam_lastlog.c |    2 +-
 4 files changed, 19 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bdb02cd97595ace26fe6dff557dc880491697637


-- 
DragonFly BSD source repository





More information about the Commits mailing list