RE: gnome-core compiliation error: _localtime_r undefined

It appears that the applet uses localtime_r blindly, without being
conditionalized by HAVE_LOCALTIME_R.  Also, there is no check in for localtime_r, so it appears that it is broken (according to
the criterion you gave me). Sorry I can't provide a patch because my
knowledge of c programming is very limited, but hopefully someone can make
the needed changes.

Thanks for your help,

> -----Original Message-----
> From: Jeremy Lea []
> Sent: Wednesday, March 31, 1999 2:29 PM
> To: BASS, Ned*
> Cc:
> Subject: Re: gnome-core compiliation error: _localtime_r undefined
> Hi,
> On Tue, Mar 30, 1999 at 02:59:09PM -0600, BASS, Ned* wrote:
> > After that the applet compiled successfully.  Can anyone tell me the
> > _right_ way to fix this?
> First up, does the applet use localtime_r blindly, or is it
> conditionalised by HAVE_LOCALTIME_R, and does it test for 
> this function. 
> If it doesn't it is broken.  Look at glib/gdate.c#808 for how 
> to fix it. 
> It compiles on later versions of FreeBSD because they have localtime_r
> in libc.
> Regards,
>  -Jeremy
> -- 
>   |    ------------------------------------------------------
> --+--   "Maybe tomorrow will be better than today,
>   |          or maybe it will not come at all..." - Pam Thum
>   |    ------------------------------------------------------

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]