Change assertion to check to make sure that the day of the month is >=
authorTheodore Tso <tytso@mit.edu>
Sat, 10 Jun 1995 03:47:44 +0000 (03:47 +0000)
committerTheodore Tso <tytso@mit.edu>
Sat, 10 Jun 1995 03:47:44 +0000 (03:47 +0000)
1, not 0.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6029 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/ChangeLog
src/lib/krb5/os/gmt_mktime.c

index 8d0d042ee26bd4c4a19d1b7296f4685c6906d75d..64c9b8017d9c58a15dfad177eb90efaa38c07f6b 100644 (file)
@@ -1,3 +1,8 @@
+Fri Jun  9 22:08:33 1995  Theodore Y. Ts'o  <tytso@dcl>
+
+       * gmt_mktime.c (gmt_mktime): Change assertion to check to make
+               sure that the day of the month is >= 1, not 0.
+
 Fri Jun  9 19:34:29 1995    <tytso@rsx-11.mit.edu>
 
        * configure.in: Remove standardized set of autoconf macros, which
index 1fac90a93acf71aced9b044253768c4218df1700..a7051ff06c42f5c2b0a076d88a21f7d3a56f622a 100644 (file)
@@ -46,7 +46,7 @@ time_t gmt_mktime(t)
   assert_time(t->tm_year<=138);
   assert_time(t->tm_mon>=0);
   assert_time(t->tm_mon<=11);
-  assert_time(t->tm_mday>=0);
+  assert_time(t->tm_mday>=1);
   assert_time(t->tm_mday<=31);
   assert_time(t->tm_hour>=0);
   assert_time(t->tm_hour<=23);