pull up r25444 from trunk
authorTom Yu <tlyu@mit.edu>
Mon, 7 Nov 2011 22:35:54 +0000 (22:35 +0000)
committerTom Yu <tlyu@mit.edu>
Mon, 7 Nov 2011 22:35:54 +0000 (22:35 +0000)
commitbfa6a811a80d1557b387b2ad2e58e76671bf73a9
treec3cf91ab27928db621fda50586b1f2fea25b10e6
parent098252013308fa2c0b771bec82cdf91faab64a4f
pull up r25444 from trunk

 ------------------------------------------------------------------------
 r25444 | ghudson | 2011-11-06 00:32:34 -0500 (Sun, 06 Nov 2011) | 10 lines

 ticket: 7003
 subject: Fix month/year units in getdate
 target_version: 1.10
 tags: pullup

 getdate strings like "1 month" or "next year" would fail some of the
 time, depending on the value of stack garbage, because DSTcorrect()
 doesn't set *error on success and RelativeMonth() doesn't initialize
 error.  Make DSTcorrect() responsible for setting *error in all cases.

ticket: 7003
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25455 dc483132-0cff-0310-8789-dd5450dbe970
src/kadmin/cli/getdate.y