diff options
author | Tom Yu <tlyu@mit.edu> | 2009-07-09 22:08:57 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2009-07-09 22:08:57 +0000 |
commit | 0e79671413896d0b2a2565a5f6c702e4086e7c64 (patch) | |
tree | d91e7f9af4eed634a3dd2a4e59bf4cb8d52c0cf3 /src/kadmin/cli | |
parent | 00cbc06af5224ee782aa7e283ba981d429126940 (diff) | |
download | krb5-0e79671413896d0b2a2565a5f6c702e4086e7c64.tar.gz krb5-0e79671413896d0b2a2565a5f6c702e4086e7c64.tar.xz krb5-0e79671413896d0b2a2565a5f6c702e4086e7c64.zip |
Make datetest buildable again
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22432 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin/cli')
-rw-r--r-- | src/kadmin/cli/Makefile.in | 5 | ||||
-rw-r--r-- | src/kadmin/cli/getdate.y | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/kadmin/cli/Makefile.in b/src/kadmin/cli/Makefile.in index f023996862..68594c9bf7 100644 --- a/src/kadmin/cli/Makefile.in +++ b/src/kadmin/cli/Makefile.in @@ -39,8 +39,9 @@ generate-files-mac: kadmin_ct.c getdate.c clean:: $(RM) $(PROG).local $(PROG) $(COMMON_OBJS) $(KADMIN_OBJS) $(LOCAL_OBJS) clean-unix:: - $(RM) getdate.c kadmin_ct.c + $(RM) datetest getdate.c kadmin_ct.c # for testing getdate.y +# CC_LINK is not meant for compilation and this use may break in the future. datetest: getdate.c - $(CC) -o datetest $(ALL_CFLAGS) $(LDFLAGS) $(LDARGS) -DTEST getdate.c + $(CC_LINK) $(ALL_CFLAGS) -DTEST -o datetest getdate.c diff --git a/src/kadmin/cli/getdate.y b/src/kadmin/cli/getdate.y index 5301145987..e427195bef 100644 --- a/src/kadmin/cli/getdate.y +++ b/src/kadmin/cli/getdate.y @@ -1053,7 +1053,7 @@ main(ac, av) (void)printf("Enter date, or blank line to exit.\n\t> "); (void)fflush(stdout); while (gets(buff) && buff[0]) { - d = get_date(buff, (struct my_timeb *)NULL); + d = get_date(buff); if (d == -1) (void)printf("Bad format - couldn't convert.\n"); else |