Commit graph

4 commits

Author SHA1 Message Date
Clark Rawlins af2d3b48c6 Use a temp to convert ut_time to time_t
The localtime function takes a time_t* argument.  Passing
the ut_time member of the utmp struct as this argument
doesn't work on 64 bit systems because the lengths of the
arguments don't agree.  So use a temproary variable to
store the ut_time value in a time_t variable and pass
the address of the time_t variable to localtime.

Signed-off-by: Clark Rawlins <clark@bit63.org>
2014-12-14 10:29:17 -08:00
Shawn Willden 45a9836343 Fixed local X session handling
An X.org (or perhaps kernel?) change sometime around 7.04
broke timeoutd.  This fixes it.
2009-01-04 23:12:25 -07:00
Peter Eisentraut 642d4c9ea8 Imported Debian patch 1.5-10.1 2009-01-04 23:11:59 -07:00
Shawn Willden 6236f92ec8 Imported Upstream version 1.5 2009-01-04 23:11:58 -07:00