svn rev #22432: trunk/src/kadmin/cli/

tlyu@MIT.EDU tlyu at MIT.EDU
Thu Jul 9 18:08:57 EDT 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=22432
Commit By: tlyu
Log Message:
Make datetest buildable again.


Changed Files:
U   trunk/src/kadmin/cli/Makefile.in
U   trunk/src/kadmin/cli/getdate.y
Modified: trunk/src/kadmin/cli/Makefile.in
===================================================================
--- trunk/src/kadmin/cli/Makefile.in	2009-07-09 19:10:57 UTC (rev 22431)
+++ trunk/src/kadmin/cli/Makefile.in	2009-07-09 22:08:57 UTC (rev 22432)
@@ -39,8 +39,9 @@
 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

Modified: trunk/src/kadmin/cli/getdate.y
===================================================================
--- trunk/src/kadmin/cli/getdate.y	2009-07-09 19:10:57 UTC (rev 22431)
+++ trunk/src/kadmin/cli/getdate.y	2009-07-09 22:08:57 UTC (rev 22432)
@@ -1053,7 +1053,7 @@
     (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




More information about the cvs-krb5 mailing list