sessreg: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Sun Jun 26 09:39:43 PDT 2011


 configure.ac |   19 ++++++++++++++---
 sessreg.c    |   63 +++++++++++++++++++++++++++--------------------------------
 sessreg.h    |   36 +++++++++++----------------------
 3 files changed, 57 insertions(+), 61 deletions(-)

New commits:
commit 18d68ce74bd810bc09f99a476798b8e4a66ec494
Author: Ed Schouten <ed at 80386.nl>
Date:   Sun Jun 26 14:04:20 2011 +0200

    Make lastlog work on BSD systems without <lastlog.h>.
    
    FreeBSD 8.x and lower have struct lastlog in <utmp.h>. Add a specific
    Autoconf check for struct lastlog, where we include both <utmp.h> and
    <lastlog.h>.
    
    Also, change NO_LASTLOG to a definition for the opposite; USE_LASTLOG.
    This is more consistent with USE_UTMP and USE_UTMPX.
    
    Signed-off-by: Ed Schouten <ed at 80386.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 9e93c5f65a22824f6b4af7ee68944f2226f7efa7
Author: Ed Schouten <ed at 80386.nl>
Date:   Sun Jun 26 13:50:36 2011 +0200

    Simply define LLOG_FILE and TTYS_FILE unconditionally.
    
    It doesn't matter if we define these pathnames, even if we're not going
    to use them in the code itself. It is already done that way for utmp and
    wtmp.
    
    Signed-off-by: Ed Schouten <ed at 80386.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 92d2628e3b1db4b0217d91d532e21018371445bc
Author: Ed Schouten <ed at 80386.nl>
Date:   Sun Jun 26 10:15:59 2011 +0200

    Fix whitespace inconsistencies.
    
    Signed-off-by: Ed Schouten <ed at 80386.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 38dd87854f106f6d7a3c8bd8916b65c0d1a87697
Author: Ed Schouten <ed at 80386.nl>
Date:   Sun Jun 26 09:51:01 2011 +0200

    Just use time_t directly.
    
    There is no use for this #define (anymore). We can already assume that
    any decent system has time_t defined. It has to, otherwise struct utmp
    and struct utmpx can't even be defined.
    
    Signed-off-by: Ed Schouten <ed at 80386.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 6675a07badfb688aacbd8fd12ba55e16854ba0ab
Author: Ed Schouten <ed at 80386.nl>
Date:   Sun Jun 26 09:47:40 2011 +0200

    Only expose the sflag variable when needed.
    
    The sflag variable is only used when using BSD-style utmp.
    
    Signed-off-by: Ed Schouten <ed at 80386.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 6b9a2f7bfa823a3dc0befd039ee08ec1596a3c64
Author: Ed Schouten <ed at 80386.nl>
Date:   Sun Jun 26 09:43:37 2011 +0200

    Get rid of SYSV definition. Just check for pututline().
    
    If the system provides pututline(), we just want to use that, instead of
    specifically checking for certain operating systems.
    
    Signed-off-by: Ed Schouten <ed at 80386.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 578b76086edb834aa447ce9aed60c585e44e6cc1
Author: Ed Schouten <ed at 80386.nl>
Date:   Sat Jun 25 10:35:25 2011 +0200

    Don't forget to include <sys/types.h> before <utmp.h>.
    
    Some operating systems (e.g. FreeBSD) require <sys/types.h> to be
    included before <utmp.h>, because they depend on type definitions such
    as int32_t, time_t, etc.
    
    Signed-off-by: Ed Schouten <ed at 80386.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list