/*
* Amanda, The Advanced Maryland Automatic Network Disk Archiver
* Copyright (c) 1991-1999 University of Maryland at College Park
+ * Copyright (c) 2007-2012 Zmanda, Inc. All Rights Reserved.
* All Rights Reserved.
*
* Permission to use, copy, modify, distribute, and sell this software and its
* file named AUTHORS, in the root directory of this distribution.
*/
+#include "amanda.h"
#include "timestamp.h"
#include "conffile.h"
#include <glib.h>
struct tm tm;
char t[5];
time_t tt;
+ tm.tm_year = 0;
+ tm.tm_mon = 0;
+ tm.tm_mday = 1;
+ tm.tm_hour = 0;
+ tm.tm_min = 0;
+ tm.tm_sec = 0;
if (strlen(timestamp) >= 4) {
memcpy(t, timestamp, 4);