pgsql: Fix another portability issue in pg_basebackup.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix another portability issue in pg_basebackup.
Date: 2011-01-23 19:27:31
Message-ID: E1Ph5b1-0007Q5-T8@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix another portability issue in pg_basebackup.

The target of sscanf with a %o format had better be of integer width,
but "mode_t" conceivably isn't that. Another compiler warning seen
only on some platforms; this one I think is potentially a real bug
and not just a warning.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=f36920796ec1335733493f7860d6f2f711c20398

Modified Files
--------------
src/bin/pg_basebackup/pg_basebackup.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2011-01-23 21:18:21 pgsql: Add 'directory' format to pg_dump. The new directory format is c
Previous Message Tom Lane 2011-01-23 19:16:39 pgsql: Improve getObjectDescription's display of pg_amop and pg_amproc