diff --git a/postfix/HISTORY b/postfix/HISTORY index 7d568a39f..cd8d5d5a3 100644 --- a/postfix/HISTORY +++ b/postfix/HISTORY @@ -21087,3 +21087,9 @@ Apologies for any names omitted. Shut up Clang unused assignment nag: global/mail_queue.h. sendmail/sendmail.c, smtpd/smtpd_proxy.c, smtp/smtp_sasl_proto.c. + +20141214 + + Bugfix (introduced: 20141212): typo in Clang function pointer + format check, making it a noop. Viktor Dukhovni. File: + util/sys_defs.h. diff --git a/postfix/src/global/mail_version.h b/postfix/src/global/mail_version.h index ec601d24a..c579ef142 100644 --- a/postfix/src/global/mail_version.h +++ b/postfix/src/global/mail_version.h @@ -20,7 +20,7 @@ * Patches change both the patchlevel and the release date. Snapshots have no * patchlevel; they change the release date only. */ -#define MAIL_RELEASE_DATE "20141213" +#define MAIL_RELEASE_DATE "20141214" #define MAIL_VERSION_NUMBER "2.12" #ifdef SNAPSHOT diff --git a/postfix/src/util/sys_defs.h b/postfix/src/util/sys_defs.h index 55a6fdd6f..44ea370d7 100644 --- a/postfix/src/util/sys_defs.h +++ b/postfix/src/util/sys_defs.h @@ -1626,7 +1626,7 @@ typedef int pid_t; #if (__GNUC__ >= 3) /* XXX Rough estimate */ #define PRINTFPTRLIKE(x,y) PRINTFLIKE(x,y) #elif defined(__clang__) && __has_attribute(__format__) -#define PRINTFLIKE(x,y) __attribute__ ((__format__ (__printf__, (x), (y)))) +#define PRINTFPTRLIKE(x,y) __attribute__ ((__format__ (__printf__, (x), (y)))) #else #define PRINTFPTRLIKE(x,y) #endif