Fix another portability issue in pg_basebackup.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: f36920796ec1335733493f7860d6f2f711c20398
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-01-23T19:26:51Z
Releases: 9.1.0
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.

Files

PathChange+/−
src/bin/pg_basebackup/pg_basebackup.c modified +3 −3