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/snprintf.c | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) (limited to 'portable/snprintf.c') diff --git a/portable/snprintf.c b/portable/snprintf.c index bef3da7..3c39de8 100644 --- a/portable/snprintf.c +++ b/portable/snprintf.c @@ -1,18 +1,20 @@ -/* $Id$ -** -** Replacement for a missing snprintf or vsnprintf. -** -** The following implementation of snprintf was taken mostly verbatim from -** ; it is the version of snprintf -** used in Mutt. -** -** Please do not reformat or otherwise change this file more than -** necessary so that later merges with the original source are easy. -** Bug fixes and improvements should be sent back to the original author. -*/ - -/* If we're running the test suite, rename snprintf and vsnprintf to avoid - conflicts with the system version. */ +/* $Id$ + * + * Replacement for a missing snprintf or vsnprintf. + * + * The following implementation of snprintf was taken mostly verbatim from + * ; it is the version of snprintf + * used in Mutt. + * + * Please do not reformat or otherwise change this file more than necessary so + * that later merges with the original source are easy. Bug fixes and + * improvements should be sent back to the original author. + */ + +/* + * If we're running the test suite, rename snprintf and vsnprintf to avoid + * conflicts with the system version. + */ #if TESTING # define snprintf test_snprintf # define vsnprintf test_vsnprintf -- cgit v1.2.3