Issue in time() function on 64bit machines.
Tue Mar 10 07:43:00 GMT 2009
Thanks for responding Petr, i did what you said, it still comes up 1
On Fri, Mar 6, 2009 at 2:51 AM, Petr Baudis <email@example.com> wrote:
> On Thu, Mar 05, 2009 at 09:46:08AM +0530, Vicky wrote:
>> I confused as to why the same code works differently on 32 and 64bit
>> machines? Could this be an issue with the time_t time (time_t *result)
>> function? Is there a way to fix this problem while still using time_t
>> time (time_t *result) function.
> both functions are just thin syscall wrappers, so this is probably a
> kernel issue - try fiddling with
> sysctl vm.vdso_enabled 0
> to check if that helps (but I'm not sure if that old a kernel even has
> the vdso support) and/or a newer kernel version.
> Petr "Pasky" Baudis
> The average, healthy, well-adjusted adult gets up at seven-thirty
> in the morning feeling just terrible. -- Jean Kerr
More information about the Libc-help