2
0
mirror of https://github.com/vdukhovni/postfix synced 2025-08-30 13:48:06 +00:00

postfix-2.12-20141214

This commit is contained in:
Wietse Venema 2014-12-14 00:00:00 -05:00 committed by Viktor Dukhovni
parent 2bcd791952
commit 191ad73e43
3 changed files with 8 additions and 2 deletions

View File

@ -21087,3 +21087,9 @@ Apologies for any names omitted.
Shut up Clang unused assignment nag: global/mail_queue.h. Shut up Clang unused assignment nag: global/mail_queue.h.
sendmail/sendmail.c, smtpd/smtpd_proxy.c, smtp/smtp_sasl_proto.c. 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.

View File

@ -20,7 +20,7 @@
* Patches change both the patchlevel and the release date. Snapshots have no * Patches change both the patchlevel and the release date. Snapshots have no
* patchlevel; they change the release date only. * patchlevel; they change the release date only.
*/ */
#define MAIL_RELEASE_DATE "20141213" #define MAIL_RELEASE_DATE "20141214"
#define MAIL_VERSION_NUMBER "2.12" #define MAIL_VERSION_NUMBER "2.12"
#ifdef SNAPSHOT #ifdef SNAPSHOT

View File

@ -1626,7 +1626,7 @@ typedef int pid_t;
#if (__GNUC__ >= 3) /* XXX Rough estimate */ #if (__GNUC__ >= 3) /* XXX Rough estimate */
#define PRINTFPTRLIKE(x,y) PRINTFLIKE(x,y) #define PRINTFPTRLIKE(x,y) PRINTFLIKE(x,y)
#elif defined(__clang__) && __has_attribute(__format__) #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 #else
#define PRINTFPTRLIKE(x,y) #define PRINTFPTRLIKE(x,y)
#endif #endif