Mercurial > pidgin
view finch/Makefile.am @ 21613:31101e7d275f
'man 3 ctime' says of localtime() (and friends):
"The return value points to a statically allocated struct which might be
overwritten by subsequent calls to any of the date and time functions.
The localtime_r() function does the same, but stores the data in a
user-supplied struct."
purple_str_to_time() had multiple calls to date and time functions,
although I didn't experience any problems in my testing I figured it would
be better to use localtime_r() and provide our own struct.
I hope I got this right. At least 'make check' still works :)
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Thu, 22 Nov 2007 16:45:38 +0000 |
parents | 8413368adb5a |
children | 1278280fa0b6 60f5abc6cf0c |
line wrap: on
line source
EXTRA_DIST = \ getopt.c \ getopt.h \ getopt1.c \ finch.pc.in pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = finch.pc SUBDIRS = libgnt plugins if ENABLE_GNT bin_PROGRAMS = finch endif finch_SOURCES = \ gntaccount.c \ gntblist.c \ gntcertmgr.c \ gntconn.c \ gntconv.c \ gntdebug.c \ gntft.c \ finch.c \ gntidle.c \ gntnotify.c \ gntplugin.c \ gntpounce.c \ gntprefs.c \ gntrequest.c \ gntsound.c \ gntstatus.c \ gntui.c finch_headers = \ gntaccount.h \ gntblist.h \ gntcertmgr.h \ gntconn.h \ gntconv.h \ gntdebug.h \ gntft.h \ finch.h \ gntidle.h \ gntnotify.h \ gntplugin.h \ gntpounce.h \ gntprefs.h \ gntrequest.h \ gntsound.h \ gntstatus.h \ gntui.h finchincludedir=$(includedir)/finch finchinclude_HEADERS = \ $(finch_headers) finch_DEPENDENCIES = @LIBOBJS@ finch_LDFLAGS = -export-dynamic finch_LDADD = \ @LIBOBJS@ \ $(DBUS_LIBS) \ $(INTLLIBS) \ $(GLIB_LIBS) \ $(LIBXML_LIBS) \ $(GNT_LIBS) \ $(GSTREAMER_LIBS) \ ./libgnt/libgnt.la \ $(top_builddir)/libpurple/libpurple.la AM_CPPFLAGS = \ -DSTANDALONE \ -DBR_PTHREADS=0 \ -DDATADIR=\"$(datadir)\" \ -DLIBDIR=\"$(libdir)/finch/\" \ -DLOCALEDIR=\"$(datadir)/locale\" \ -DSYSCONFDIR=\"$(sysconfdir)\" \ -I$(top_srcdir)/libpurple/ \ -I$(top_srcdir) \ -I$(srcdir)/libgnt/ \ $(DEBUG_CFLAGS) \ $(GLIB_CFLAGS) \ $(DBUS_CFLAGS) \ $(LIBXML_CFLAGS) \ $(GSTREAMER_CFLAGS) \ $(GNT_CFLAGS)