pgsql: Fix another portability issue in pg_basebackup. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix another portability issue in pg_basebackup.
Date
Msg-id E1Ph5b1-0007Q5-T8@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Improve getObjectDescription's display of pg_amop and pg_amproc
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Add 'directory' format to pg_dump. The new directory format is c