From 92ff7f21ad0b167f8d742a9d7b5f93704a57619c Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Thu, 24 Apr 2008 02:02:49 +0000 Subject: Major coding style cleanup. Updated all shared code from my other projects. The configure option requesting AFS kaserver support (and thus building kasetkey) is now --with-kaserver instead of --with-afs. If KRB5_CONFIG was explicitly set in the environment, don't use a different krb5-config based on --with-krb4 or --with-krb5. If krb5-config isn't executable, don't use it. This allows one to force library probing by setting KRB5_CONFIG to point to a nonexistent file. Sanity-check the results of krb5-config before proceeding and error out in configure if they don't work. Stop setting Stanford-specific compile-time defaults for the wallet server and port. --- portable/asprintf.c | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'portable/asprintf.c') diff --git a/portable/asprintf.c b/portable/asprintf.c index 56a69c4..9cae827 100644 --- a/portable/asprintf.c +++ b/portable/asprintf.c @@ -1,19 +1,21 @@ -/* $Id$ -** -** Replacement for a missing asprintf and vasprintf. -** -** Written by Russ Allbery -** This work is hereby placed in the public domain by its author. -** -** Provides the same functionality as the standard GNU library routines -** asprintf and vasprintf for those platforms that don't have them. -*/ +/* $Id$ + * + * Replacement for a missing asprintf and vasprintf. + * + * Provides the same functionality as the standard GNU library routines + * asprintf and vasprintf for those platforms that don't have them. + * + * Written by Russ Allbery + * This work is hereby placed in the public domain by its author. + */ #include -#include +#include -/* If we're running the test suite, rename the functions to avoid conflicts - with the system versions. */ +/* + * If we're running the test suite, rename the functions to avoid conflicts + * with the system versions. + */ #if TESTING # define asprintf test_asprintf # define vasprintf test_vasprintf -- cgit v1.2.3