mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-11-20 17:42:40 +00:00
eggert mods
SCCS-file: date.c SCCS-SID: 7.30
This commit is contained in:
committed by
Paul Eggert
parent
10069705d7
commit
5c316b13e3
4
date.c
4
date.c
@ -459,7 +459,7 @@ static const char *
|
||||
nondigit(cp)
|
||||
register const char * cp;
|
||||
{
|
||||
while (isdigit(*cp))
|
||||
while (is_digit(*cp))
|
||||
++cp;
|
||||
return cp;
|
||||
}
|
||||
@ -592,7 +592,7 @@ const time_t t;
|
||||
|
||||
dotp = strchr(value, '.');
|
||||
for (cp = value; *cp != '\0'; ++cp)
|
||||
if (!isdigit(*cp) && cp != dotp)
|
||||
if (!is_digit(*cp) && cp != dotp)
|
||||
wildinput("time", value, "contains a nondigit");
|
||||
|
||||
if (dotp == NULL)
|
||||
|
||||
Reference in New Issue
Block a user