[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-acct] 2 patches (fix for accounting.info and 64bit problem in print
From: |
Petr Ostadal |
Subject: |
[Bug-acct] 2 patches (fix for accounting.info and 64bit problem in printing time) |
Date: |
Fri, 25 Aug 2006 20:03:36 +0200 (CEST) |
Hi,
I attached two patches for acct. The first patch fixes dir entry in
accounting.info. the second patch fixes 64bit problem in printing time:
The argument of ctime should be time_t pointer.
But the type of rec->ac_btime variable is uint_32 pointer.
With ia32, both of their size are 32bit.
However, with ia64, time_t pointer is 64bit, and rec->ac_btime is 32bit.
This difference makes the date string illegal.
Petr
--
Best Regards,
Petr Ostadal
Software Developer
---------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: address@hidden
Lihovarska 1060/12 tel: +420 284 028 967
190 00 Praha 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz
acct-6.3.5-info.diff
Description: Text Data
acct-6.3.5-time-fix.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-acct] 2 patches (fix for accounting.info and 64bit problem in printing time),
Petr Ostadal <=