svn rev #25639: branches/krb5-1-10/src/clients/ksu/

tlyu@MIT.EDU tlyu at MIT.EDU
Tue Jan 10 16:36:47 EST 2012


http://src.mit.edu/fisheye/changelog/krb5/?cs=25639
Commit By: tlyu
Log Message:
ticket: 7057
version_fixed: 1.10
status: resolved

Pull up r25605 from trunk

 ------------------------------------------------------------------------
 r25605 | ghudson | 2011-12-27 20:31:59 -0500 (Tue, 27 Dec 2011) | 7 lines

 ticket: 7057

 Fix implicit declaration in ksu for some builds

 ksu's setenv implementation needs to include <string.h> for memcpy.
 Patch from basch at alum.mit.edu.


Changed Files:
U   branches/krb5-1-10/src/clients/ksu/setenv.c
Modified: branches/krb5-1-10/src/clients/ksu/setenv.c
===================================================================
--- branches/krb5-1-10/src/clients/ksu/setenv.c	2012-01-10 18:01:15 UTC (rev 25638)
+++ branches/krb5-1-10/src/clients/ksu/setenv.c	2012-01-10 21:36:47 UTC (rev 25639)
@@ -37,6 +37,7 @@
 #include <sys/types.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include "autoconf.h"
 
 static char *_findenv(char *, int *);



More information about the cvs-krb5 mailing list