view src/Makefile.am @ 279:49b452b667a6 noffle

[svn] * src/util.c: localTimeDiff() cached its value and recalculated it every hour of clock time, regardless of the time the calculated was based on. This is potentially dangerous at daylight saving changes. So instead use the cached last result only when the new request is to be based on a time in the same hour as the cached result. * src/util.c: Replace the alternate Utl_mktimeGMT() implementation used when timegm() is not available. The previous version, as suggested by the glibc timegm() man page, used setenv() and unsetenv() for changing the environment. These aren't POSIX function, and the POSIX putenv() (a) is tricky to manage if the same var is being constantly update and memory isn't to leak, and (b) provides no way to remove an environment entry. So change to an implementation Wget uses. This should compile on not glibc systems - the previous version failed to build on Solaris.
author bears
date Sun, 17 Nov 2002 15:18:19 +0000
parents 52f467c7213b
children c02c4eb95f95
line wrap: on
line source

# This Makefile.am is used by automake to generate the Makefile.in,
# which in turn will be used to generate the Makefile.

bin_PROGRAMS = noffle

noffle_SOURCES = \
client.c client.h \
common.h \
configfile.c configfile.h \
content.c content.h \
control.c control.h \
database.c database.h \
dynamicstring.c dynamicstring.h \
expire.c expire.h \
fetch.c fetch.h \
fetchlist.c fetchlist.h \
filter.c filter.h \
group.c group.h \
itemlist.c itemlist.h \
lock.c lock.h \
log.c log.h \
noffle.c \
online.c online.h \
outgoing.c outgoing.h \
over.c over.h \
portable.h \
post.c post.h \
protocol.c protocol.h \
pseudo.c pseudo.h \
request.c request.h \
server.c server.h \
util.c util.h \
wildmat.c wildmat.h

noffle_LDADD = -lgdbm

tags:
	etags $(noffle_SOURCES)