Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-07-08 | Fix compilation on NetBSD - undefined *TMPX paths | Thomas Klausner | |
Make sure file name defines exist on NetBSD. https://bugs.freedesktop.org/show_bug.cgi?id=50940 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||
2011-09-26 | Add const attributes to fix gcc -Wwrite-strings warnings | Alan Coopersmith | |
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||
2011-06-26 | Make lastlog work on BSD systems without <lastlog.h>. | Ed Schouten | |
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@80386.nl> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||
2011-06-26 | Fix whitespace inconsistencies. | Ed Schouten | |
Signed-off-by: Ed Schouten <ed@80386.nl> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||
2011-06-26 | Just use time_t directly. | Ed Schouten | |
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@80386.nl> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||
2011-06-26 | Only expose the sflag variable when needed. | Ed Schouten | |
The sflag variable is only used when using BSD-style utmp. Signed-off-by: Ed Schouten <ed@80386.nl> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||
2011-06-26 | Get rid of SYSV definition. Just check for pututline(). | Ed Schouten | |
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@80386.nl> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||
2011-06-24 | Get rid of bzero() calls. Replace them by memset(). | Ed Schouten | |
bzero() is not part of POSIX; memset() is. Signed-off-by: Ed Schouten <ed@80386.nl> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||
2011-06-24 | Use Autoconf to check for utmp field existence. | Ed Schouten | |
Don't use the quirky SYSV and __QNX__ definitions to determine whether the utmp fields exist. Signed-off-by: Ed Schouten <ed@80386.nl> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||
2011-06-24 | Only split off /dev/ instead trimming to last /. | Ed Schouten | |
This prevents pseudo-terminals with names like /dev/pts/0 from getting trimmed to just 0 instead of pts/0. Signed-off-by: Ed Schouten <ed@80386.nl> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||
2011-06-24 | Fix typo in function name check. | Ed Schouten | |
Signed-off-by: Ed Schouten <ed@80386.nl> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||
2011-06-24 | Correct whitespace and indentation. | Ed Schouten | |
Signed-off-by: Ed Schouten <ed@80386.nl> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||
2011-01-21 | config: use AC_CHECK_MEMBERS rather than AC_CHECK_MEMBER | Gaetan Nadon | |
Let Autoconf do the work of setting up the #define in config.h. Apply and comment standard sections layout. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> | |||
2010-11-10 | Sun's copyrights belong to Oracle now | Alan Coopersmith | |
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||
2010-01-16 | Allow sessreg to be built without <utmp.h>. | Ed Schouten | |
As of 9.0, FreeBSD will only support <utmpx.h>. It only implements the POSIX interface with minor extensions. There is no need to write to wtmp and lastlog separately, because this is already done by pututxline(). Add additional checks to configure.ac to search for the presence of utmpxname() and updwtmpx(). Signed-off-by: Ed Schouten <ed@80386.nl> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> | |||
2010-01-11 | Update Sun license notices to current X.Org standard form | Alan Coopersmith | |
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> | |||
2009-10-12 | Document -L option for lastlog files | Alan Coopersmith | |
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> | |||
2009-01-19 | Ansification and compile warning fixes. | Paulo Cesar Pereira de Andrade | |
This also uses XORG_CHANGELOG and XORG_CWARNFLAGS, corrects make distcheck and all gcc 4.3 and sparse warnings. | |||
2008-06-11 | X_NOT_POSIX bits for pre-POSIX-1990 systems not needed any more | Alan Coopersmith | |
2006-11-07 | Clear unused variable warnings from lint | Alan Coopersmith | |
2006-11-07 | Substitute correct pathnames for utmp/wtmp files in man pages | Alan Coopersmith | |
ifdefs to find the paths on each platform have been broken out into a new sessreg.h header that is also preprocessed into sed rules applied to the man page. Old ifdefs left for Imake compatibility in the 6.9/7.0 hybrid release have been dropped now that autoconf is required to build. | |||
2005-10-05 | Add check for utmpx.ut_syslen structure memberXORG-6_8_99_903XORG-6_8_99_902XORG-6_8_99_901 | Kevin E Martin | |
2005-10-03 | Bug #4678 <https://bugs.freedesktop.org/show_bug.cgi?id=4678> Patch #3472 | Alan Coopersmith | |
<https://bugs.freedesktop.org/attachment.cgi?id=3472> Use SysV-style utmp on GNU/kFreeBSD (Robert Millan) | |||
2005-08-18 | Undo regression in checking for lastlog support in monolithic builds | Alan Coopersmith | |
(reported by Dan McNichol of IBM) | |||
2005-08-10 | Merge in utmpx code from Solaris sessreg. Add #ifdefs for autoconf defines. | Alan Coopersmith | |
2005-08-10 | Add build system for sessreg, broken out from xdm. | Daniel Stone | |
2004-10-13 | Bug #1627: Zero out struct utmp before writing it to prevent garbagexprint_packagertest_20041217_basexprint_packagertest_20041125_basesco_port_update-baseXORG-6_99_99_900XORG-6_8_99_900XORG-6_8_99_9XORG-6_8_99_8XORG-6_8_99_7XORG-6_8_99_6XORG-6_8_99_5XORG-6_8_99_4XORG-6_8_99_3XORG-6_8_99_2XORG-6_8_99_16XORG-6_8_99_15XORG-6_8_99_14XORG-6_8_99_13XORG-6_8_99_12XORG-6_8_99_11XORG-6_8_99_10XORG-6_8_99_1xprint_packagertest_20041217xprint_packagertest_20041125sco_port_update | Adam Jackson | |
fields. (Egmont Koblinger) | |||
2004-04-23 | Merging XORG-CURRENT into trunkrel-0-6-1lg3d-rel-0-7-0lg3d-rel-0-6-2lg3d-baseXORG-6_8_2XORG-6_8_1_904XORG-6_8_1_903XORG-6_8_1_902XORG-6_8_1_901XORG-6_8_1XORG-6_8_0XORG-6_7_99_904XORG-6_7_99_903XORG-6_7_99_902XORG-6_7_99_901XORG-6_7_99_2XORG-6_7_99_1XACE-SELINUX-MERGElg3d-masterlg3d-eventlg3d-dev-0-7-1lg3d-dev-0-7-0lg3d-dev-0-6-latestlg3d-dev-0-6-2lg3d-dev-0-6-1-latestlg3d-dev-0-6-1-currentlg3d-dev-0-6-1-1lg3d-dev-0-6-1lg3dXORG-6_8-branchCOMPOSITEWRAP | Egbert Eich | |
2004-03-14 | Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1 | Egbert Eich | |
2004-03-03 | Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0STSF-CURRENT | Egbert Eich | |
2004-02-26 | readding XFree86's cvs IDsxf86-4_3_99_903 | Egbert Eich | |
2004-02-26 | Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004 | Egbert Eich | |
2003-11-14 | XFree86 4.3.0.1xf86-4_3_99_903_specialxf86-4_3_99_902xf86-4_3_99_901xf86-4_3_99_16xf86-4_3_0_1xf86-012804-2330PRE_xf86-4_3_0_1 | Kaleb Keithley | |
2003-11-14 | R6.6 is the Xorg base-lineXORG-MAINXORG-STABLE | Kaleb Keithley | |