Skip site navigation (1) Skip section navigation (2)

pgsql: Adjust mbutils.c so it won't get broken by future pgindent runs.

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Adjust mbutils.c so it won't get broken by future pgindent runs.
Date: 2010-07-07 15:13:21
Message-ID: 20100707151321.7358A7541D4@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Adjust mbutils.c so it won't get broken by future pgindent runs.
To do that, replace L'\0' by (WCHAR) 0.  Perhaps someday we should teach
pgindent about wide-character literals, but so long as this is the only
use-case in the entire Postgres sources, a workaround seems easier.

Modified Files:
--------------
    pgsql/src/backend/utils/mb:
        mbutils.c (r1.97 -> r1.98)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/mb/mbutils.c?r1=1.97&r2=1.98)

pgsql-committers by date

Next:From: Peter EisentrautDate: 2010-07-07 21:05:55
Subject: Re: [COMMITTERS] pgsql: Add note that using PL/Python 2 and 3 in the same session will
Previous:From: Bruce MomjianDate: 2010-07-07 14:42:10
Subject: pgsql: Document the interaction of write-barrier-enabled file systems,

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group