X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=dump%2Fitime.c;h=81d8dc7e7b85b34c2594d13f24006c39070bebbe;hb=60d46c352087c38c29a690d80b62441028579f35;hp=836b6ae09bb7b4710069c16a68406e55b84d5bce;hpb=43460f04f3920ae39f345a2fb39d000a890a4283;p=dump.git diff --git a/dump/itime.c b/dump/itime.c index 836b6ae..81d8dc7 100644 --- a/dump/itime.c +++ b/dump/itime.c @@ -41,7 +41,7 @@ #ifndef lint static const char rcsid[] = - "$Id: itime.c,v 1.16 2001/03/19 13:22:48 stelian Exp $"; + "$Id: itime.c,v 1.18 2001/03/21 09:37:13 stelian Exp $"; #endif /* not lint */ #include @@ -182,11 +182,7 @@ getdumptime(int createdumpdates) continue; if (ddp->dd_level >= level) continue; -#ifdef __linux__ if (ddp->dd_ddate <= (time_t)spcl.c_ddate) -#else - if (ddp->dd_ddate <= spcl.c_ddate) -#endif continue; spcl.c_ddate = ddp->dd_ddate; lastlevel = ddp->dd_level; @@ -244,12 +240,6 @@ putdumptime(void) if (ftruncate(fd, ftell(df))) quit("ftruncate (%s): %s\n", dumpdates, strerror(errno)); (void) fclose(df); - msg("level %c dump on %s", level, -#ifdef __linux__ - spcl.c_date == 0 ? "the epoch\n" : ctime4(&spcl.c_date)); -#else - spcl.c_date == 0 ? "the epoch\n" : ctime(&spcl.c_date)); -#endif } static void