pgsql: Add __attribute__((format_arg(1))) to the declaration of - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Add __attribute__((format_arg(1))) to the declaration of
Date
Msg-id 20090625230716.8A91F75331E@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Add __attribute__((format_arg(1))) to the declaration of err_gettext(),
to restore gcc's ability to crosscheck format arguments within elog.c.
Noted in a test compilation with -Wformat-nonliteral enabled.

Modified Files:
--------------
    pgsql/src/backend/utils/error:
        elog.c (r1.215 -> r1.216)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/error/elog.c?r1=1.215&r2=1.216)

pgsql-committers by date:

Previous
From: heikki@postgresql.org (Heikki Linnakangas)
Date:
Subject: pgsql: Fix some serious bugs in archive recovery, now that bgwriter is
Next
From: alvherre@pgfoundry.org (Alvaro Herrera)
Date:
Subject: press - pr: Update dateline