svn rev #3279: trunk/ libmissing/
ghudson@MIT.EDU
ghudson at MIT.EDU
Thu Nov 19 10:43:20 EST 2009
Commit By: ghudson
Log Message:
Fix up asprintf replacement code: look for the symbol which matches
the filename in libmissing, and don't use the krb5int_ prefix in
asprintf.c.
Changed Files:
U trunk/configure.ac
U trunk/libmissing/asprintf.c
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2009-11-18 15:54:27 UTC (rev 3278)
+++ trunk/configure.ac 2009-11-19 15:43:20 UTC (rev 3279)
@@ -109,7 +109,7 @@
# Determine which functions to define in libmissing.
AC_REPLACE_FUNCS(daemon getdtablesize getopt herror parsetos setenv setsid)
-AC_REPLACE_FUNCS(strcasecmp strdup strerror strftime strlcpy vasprintf)
+AC_REPLACE_FUNCS(strcasecmp strdup strerror strftime strlcpy asprintf)
# Determine libraries for login and ftpd.
LOGINLIBS=
Modified: trunk/libmissing/asprintf.c
===================================================================
--- trunk/libmissing/asprintf.c 2009-11-18 15:54:27 UTC (rev 3278)
+++ trunk/libmissing/asprintf.c 2009-11-19 15:43:20 UTC (rev 3279)
@@ -95,7 +95,7 @@
int n;
va_start(ap, format);
- n = krb5int_vasprintf(ret, format, ap);
+ n = vasprintf(ret, format, ap);
va_end(ap);
return n;
}
More information about the Krb5-appl-commits
mailing list