X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/aae44c933a5b035e0b23abf4dd4247cd37e4d041..9bfe3115764af0a6e0dbbf8564ff0edd5ac28543:/uip/scansbr.c?ds=sidebyside diff --git a/uip/scansbr.c b/uip/scansbr.c index 76e87dcf..be68bf89 100644 --- a/uip/scansbr.c +++ b/uip/scansbr.c @@ -3,13 +3,17 @@ * scansbr.c -- routines to help scan along... * * $Id$ + * + * This code is Copyright (c) 2002, by the authors of nmh. See the + * COPYRIGHT file in the root directory of the nmh distribution for + * complete copyright information. */ #include #include #include #include -#include +#include #ifdef _FSTDIO # define _ptr _p /* Gag */ @@ -327,9 +331,9 @@ finished: if (datecomp->c_tws == NULL) adios (NULL, "unable to allocate tws buffer"); *datecomp->c_tws = *dlocaltime ((time_t *) &st.st_mtime); - datecomp->c_flags = -1; + datecomp->c_flags |= CF_DATEFAB|CF_TRUE; } else { - datecomp->c_flags = 0; + datecomp->c_flags &= ~CF_DATEFAB; } } }