commit | 7c5b1a055e3b4636cb9c0343ebeb81eafcb14c3b | [log] [tgz] |
---|---|---|
author | Tim Kientzle <kientzle@acm.org> | Sun Mar 26 17:52:01 2017 -0700 |
committer | GitHub <noreply@github.com> | Sun Mar 26 17:52:01 2017 -0700 |
tree | 0644c10286ae7c9ee6fc93b6212f4dc047d2d931 | |
parent | 37d3d3d38081910be23bb9dd9cb7a3adc802b93a [diff] | |
parent | 98b2ea15e1266bf984800f5ee0a057452791339d [diff] |
Merge pull request #892 from vapier/master do not make DaysInMonth static
diff --git a/libarchive/archive_getdate.c b/libarchive/archive_getdate.c index beb0cba..fe43ae8 100644 --- a/libarchive/archive_getdate.c +++ b/libarchive/archive_getdate.c
@@ -691,7 +691,7 @@ time_t Hours, time_t Minutes, time_t Seconds, time_t Timezone, enum DSTMODE DSTmode) { - static int DaysInMonth[12] = { + int DaysInMonth[12] = { 31, 0, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; time_t Julian;