Changed time_t type to time32_t

This commit is contained in:
Ianos Gnatiuc
2005-10-20 21:10:42 +00:00
parent d8a855aa42
commit 44c26c3b0a
34 changed files with 1392 additions and 1369 deletions

View File

@@ -143,7 +143,7 @@ const word _TEST = 777;
static std::string nodepath; // Path to the nodelist files
static time_t runtime = 0;
static time32_t runtime = 0;
static int sh_mod = SH_DENYWR;
static bool fidouser = false;
static Path fidouserlst;
@@ -1017,7 +1017,7 @@ static void read_nodelists() {
}
// Note compile time
runtime = time(NULL) - runtime;
runtime = gtime(NULL) - runtime;
if(not quiet) {
if(dups) {
@@ -1051,7 +1051,7 @@ static void check_nodelists(bool force) {
strcpy(ext, ".*");
gposixdir f(newpath);
const gdirentry *de;
time_t listtime = 0;
time32_t listtime = 0;
bool listdefined = false;
while((de = f.nextentry(buf)) != NULL)
if(atoi(de->name.c_str()+extpos)) {