Revert "Use 64-bit years"

This reverts commit cfc3a953ae.
This commit is contained in:
Justine Tunney 2022-05-12 06:11:22 -07:00
parent cf73bbd678
commit dd9ab01d25
13 changed files with 484 additions and 544 deletions

View file

@ -37,10 +37,10 @@ Copyright 2005-2019 Rich Felker, et. al.\"");
asm(".include \"libc/disclaimer.inc\"");
char *strptime(const char *s, const char *f, struct tm *tm) {
size_t len;
int i, w, neg, adj, min, range, itemsize, *dest, dummy;
const char *ex, *ss;
long i, w, neg, adj, min, range, itemsize, *dest, dummy;
long want_century = 0, century = 0, relyear = 0;
size_t len;
int want_century = 0, century = 0, relyear = 0;
while (*f) {
if (*f != '%') {
if (isspace(*f)) {