diff options
author | ewt <devnull@localhost> | 1997-08-31 13:58:57 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1997-08-31 13:58:57 +0000 |
commit | 1b98b7327a2b86b131d331d7b5913b4e1e0f72c5 (patch) | |
tree | 464f3a7a2bf0376ece9cab8aaa77a2c909c20b46 /build/spec.c | |
parent | 8e4e2d67e1ea748560fb15a6561b9957dc57f5b1 (diff) | |
download | librpm-tizen-1b98b7327a2b86b131d331d7b5913b4e1e0f72c5.tar.gz librpm-tizen-1b98b7327a2b86b131d331d7b5913b4e1e0f72c5.tar.bz2 librpm-tizen-1b98b7327a2b86b131d331d7b5913b4e1e0f72c5.zip |
Had some wrong month length in date parsing code
CVS patchset: 1814
CVS date: 1997/08/31 13:58:57
Diffstat (limited to 'build/spec.c')
-rw-r--r-- | build/spec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/spec.c b/build/spec.c index 3427cf64e..6c81e110d 100644 --- a/build/spec.c +++ b/build/spec.c @@ -552,7 +552,7 @@ static int dateToTimet(const char * datestr, time_t * secs) NULL }; static char * months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", NULL }; - static char lengths[] = { 31, 29, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30 }; + static char lengths[] = { 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; memset(&time, 0, sizeof(time)); |