svn rev #25640: branches/krb5-1-9/src/clients/ksu/

tlyu@MIT.EDU tlyu at MIT.EDU
Tue Jan 10 18:33:39 EST 2012


http://src.mit.edu/fisheye/changelog/krb5/?cs=25640
Commit By: tlyu
Log Message:
ticket: 7068
subject: Fix implicit declaration in ksu for some builds
version_fixed: 1.9.3
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-9/src/clients/ksu/setenv.c
Modified: branches/krb5-1-9/src/clients/ksu/setenv.c
===================================================================
--- branches/krb5-1-9/src/clients/ksu/setenv.c	2012-01-10 21:36:47 UTC (rev 25639)
+++ branches/krb5-1-9/src/clients/ksu/setenv.c	2012-01-10 23:33:39 UTC (rev 25640)
@@ -21,6 +21,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