summaryrefslogtreecommitdiff
path: root/sessreg.c
AgeCommit message (Expand)AuthorFilesLines
2023-02-25Remove "All rights reserved" from Oracle copyright noticesHEADmasterAlan Coopersmith1-1/+1
2022-10-16Fix -Wstringop-truncation warnings in safe_strncpy()Alan Coopersmith1-2/+3
2021-11-28Fix spelling/wording issuesAlan Coopersmith1-2/+2
2019-06-09Add comment about why safe_strncpy isn't replaced with strlcpyAlan Coopersmith1-0/+6
2018-09-13Replace strncpy calls with a sane version that always terminatesPeter Hutterer1-10/+18
2016-05-30Use off_t instead of long to make largefile support workEgbert Eich1-3/+3
2014-11-04Stop disabling utmpx & wtmpx calls when -u & -w arguments are passedAlan Coopersmith1-0/+8
2014-11-03Zero initialize struct utmpx, as we already do for struct utmpAlan Coopersmith1-0/+1
2014-11-03Print which option was in error along with usage messageAlan Coopersmith1-18/+49
2013-01-19Add -V option to print version numberAlan Coopersmith1-1/+4
2013-01-19Combine usage message into a single stringAlan Coopersmith1-5/+7
2012-12-16Fix some clang warnings about implicit conversionsAlan Coopersmith1-3/+3
2012-12-16Remove dubious code.Ed Schouten1-4/+0
2012-12-16Make the `line' variable local to main().Ed Schouten1-1/+1
2012-12-16Place NetBSD specific #defines in the proper place.Ed Schouten1-6/+0
2012-07-08Fix compilation on NetBSD - undefined *TMPX pathsThomas Klausner1-0/+7
2011-09-26Add const attributes to fix gcc -Wwrite-strings warningsAlan Coopersmith1-4/+5
2011-06-26Make lastlog work on BSD systems without <lastlog.h>.Ed Schouten1-6/+6
2011-06-26Fix whitespace inconsistencies.Ed Schouten1-9/+8
2011-06-26Just use time_t directly.Ed Schouten1-6/+5
2011-06-26Only expose the sflag variable when needed.Ed Schouten1-1/+2
2011-06-26Get rid of SYSV definition. Just check for pututline().Ed Schouten1-12/+8
2011-06-24Get rid of bzero() calls. Replace them by memset().Ed Schouten1-9/+9
2011-06-24Use Autoconf to check for utmp field existence.Ed Schouten1-7/+12
2011-06-24Only split off /dev/ instead trimming to last /.Ed Schouten1-7/+3
2011-06-24Fix typo in function name check.Ed Schouten1-1/+1
2011-06-24Correct whitespace and indentation.Ed Schouten1-92/+92
2011-01-21config: use AC_CHECK_MEMBERS rather than AC_CHECK_MEMBERGaetan Nadon1-1/+1
2010-11-10Sun's copyrights belong to Oracle nowAlan Coopersmith1-1/+2
2010-01-16Allow sessreg to be built without <utmp.h>.Ed Schouten1-15/+45
2010-01-11Update Sun license notices to current X.Org standard formAlan Coopersmith1-23/+17
2009-10-12Document -L option for lastlog filesAlan Coopersmith1-0/+1
2009-01-19Ansification and compile warning fixes.Paulo Cesar Pereira de Andrade1-13/+13
2008-06-11X_NOT_POSIX bits for pre-POSIX-1990 systems not needed any moreAlan Coopersmith1-4/+0
2006-11-07Clear unused variable warnings from lintAlan Coopersmith1-1/+2
2006-11-07Substitute correct pathnames for utmp/wtmp files in man pagesAlan Coopersmith1-84/+2
2005-10-05Add check for utmpx.ut_syslen structure memberXORG-6_8_99_903XORG-6_8_99_902XORG-6_8_99_901Kevin E Martin1-2/+5
2005-10-03Bug #4678 <https://bugs.freedesktop.org/show_bug.cgi?id=4678> Patch #3472Alan Coopersmith1-1/+1
2005-08-18Undo regression in checking for lastlog support in monolithic buildsAlan Coopersmith1-4/+4
2005-08-10Merge in utmpx code from Solaris sessreg. Add #ifdefs for autoconf defines.Alan Coopersmith1-6/+206
2005-08-10Add build system for sessreg, broken out from xdm.Daniel Stone1-2/+0
2004-10-13Bug #1627: Zero out struct utmp before writing it to prevent garbagesco_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_1Adam Jackson1-0/+1
2004-04-23Merging 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-MERGEXORG-6_8-branchEgbert Eich1-1/+1
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich1-1/+1
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0Egbert Eich1-1/+1
2004-02-26readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich1-1/+1
2004-02-26Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich1-1/+1
2003-11-14XFree86 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_1Kaleb Keithley1-50/+77
2003-11-14R6.6 is the Xorg base-lineXORG-MAINXORG-STABLEKaleb Keithley1-0/+495