aboutsummaryrefslogtreecommitdiff
path: root/gnu/libexec/uucp/libuuconf/time.c
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1994-05-07 18:14:43 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1994-05-07 18:14:43 +0000
commit8d29233fea7a22a18c2998c2eb07dec0f26c4101 (patch)
treeae7a62b3e6b9d3c5b40e295b8b73feb61e4b04ce /gnu/libexec/uucp/libuuconf/time.c
parentdbdb1f56bb2d2ff97b05ccbc31ca474727b5d2d7 (diff)
Notes
Diffstat (limited to 'gnu/libexec/uucp/libuuconf/time.c')
-rw-r--r--gnu/libexec/uucp/libuuconf/time.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gnu/libexec/uucp/libuuconf/time.c b/gnu/libexec/uucp/libuuconf/time.c
index 6f316828a384..4aaafe5b21db 100644
--- a/gnu/libexec/uucp/libuuconf/time.c
+++ b/gnu/libexec/uucp/libuuconf/time.c
@@ -1,7 +1,7 @@
/* time.c
Parse a time string into a uuconf_timespan structure.
- Copyright (C) 1992 Ian Lance Taylor
+ Copyright (C) 1992, 1993 Ian Lance Taylor
This file is part of the Taylor UUCP uuconf library.
@@ -20,13 +20,13 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
The author of the program may be contacted at ian@airs.com or
- c/o Infinity Development Systems, P.O. Box 520, Waltham, MA 02254.
+ c/o Cygnus Support, Building 200, 1 Kendall Square, Cambridge, MA 02139.
*/
#include "uucnfi.h"
#if USE_RCS_ID
-const char _uuconf_time_rcsid[] = "$Id: time.c,v 1.1 1993/08/04 19:35:12 jtc Exp $";
+const char _uuconf_time_rcsid[] = "$Id: time.c,v 1.11 1994/01/30 21:14:29 ian Rel $";
#endif
#include <ctype.h>
@@ -61,6 +61,7 @@ static const struct
{ "fr", 5, 5 },
{ "sa", 6, 6 },
{ "never", -1, -2 },
+ { "none", -1, -2 },
{ NULL, 0, 0 }
};
@@ -106,7 +107,7 @@ _uuconf_itime_parse (qglobal, ztime, ival, cretry, picmp, pqspan, pblock)
{
if ((bfirst == (*pz)[0]
|| (isupper (BUCHAR ((*pz)[0]))
- && bfirst == tolower (BUCHAR ((*pz)[0]))))
+ && (int) bfirst == (int) tolower (BUCHAR ((*pz)[0]))))
&& strcasecmp (ztime, *pz) == 0)
zfound = pz[1];
pz += 2;