Last night's BETA snapshot
Russ Allbery
rra at stanford.edu
Sat Jun 24 10:34:45 UTC 2000
Forgot a few things with the date code merge, so last night's snapshot
probably won't compile. :/ Sorry about that. This patch should fix it
(and it's already fixed in the repository). I needed to take out some
2.4-isms and forgot to update the header file.
--- include/libinn.h 2000/04/07 04:26:53 1.74
+++ include/libinn.h 2000/06/24 10:33:53
@@ -237,6 +237,7 @@
long tzone;
} TIMEINFO;
extern time_t parsedate(char *p, TIMEINFO *now);
+extern BOOL makedate(time_t, BOOL local, char *buff, size_t buflen);
extern int GetTimeInfo(TIMEINFO *Now);
/* Hash functions */
--- lib/date.c 2000/06/14 08:30:45 1.4
+++ lib/date.c 2000/06/24 10:34:15
@@ -8,6 +8,7 @@
*/
#include "config.h"
+#include "clibrary.h"
#include "libinn.h"
#include <time.h>
@@ -36,7 +37,7 @@
** past.)
*/
static long
-local_tz_offset(time_t time, bool current)
+local_tz_offset(time_t time, BOOL current)
{
struct tm *tm;
#if !HAVE_TM_GMTOFF
@@ -86,8 +87,8 @@
** than strftime to be absolutely certain that locales don't result in the
** wrong output. If the time is zero, obtain and use the current time.
*/
-bool
-makedate(time_t clock, bool local, char *buff, size_t buflen)
+BOOL
+makedate(time_t clock, BOOL local, char *buff, size_t buflen)
{
time_t realclock;
struct tm *tmp_tm;
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
More information about the inn-workers
mailing list