32-bit time in <utmp.h> (Re: cvs commit: ports/net/pppd23 Makefile
ports/net/pppd23/files extra-patch-no-logf patch-ab)
Kris Kennaway
kris at obsecurity.org
Wed Apr 28 13:22:39 PDT 2004
On Wed, Apr 28, 2004 at 12:56:35PM -0700, Kirill Ponomarew wrote:
> krion 2004/04/28 12:56:35 PDT
>
> FreeBSD ports repository
>
> Modified files:
> net/pppd23 Makefile
> Added files:
> net/pppd23/files extra-patch-no-logf patch-ab
> Log:
> - Reflect changes on FreeBSD 5.* to load if_ppp.ko unless
> already loaded. (Thx to zoleg at buryatia dot ru for
> pointing that) Current code will try both old and new method.
> - Fix build on amd64
> - Reflect internal logf() for GCC 3-x
> - Reflect 32bitness of time in `struct lastlog'.
I wonder if this 32-bitness is related to the accounting problems
noticed on sparc64 since the 64-bit time_t changeover:
struct lastlog {
int32_t ll_time;
char ll_line[UT_LINESIZE];
char ll_host[UT_HOSTSIZE];
};
struct utmp {
char ut_line[UT_LINESIZE];
char ut_name[UT_NAMESIZE];
char ut_host[UT_HOSTSIZE];
int32_t ut_time;
};
Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-sparc64/attachments/20040428/8b785bce/attachment.bin
More information about the freebsd-sparc64
mailing list