OSDN Git Service

Fix another portability issue in pg_basebackup.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 23 Jan 2011 19:26:51 +0000 (14:26 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 23 Jan 2011 19:26:51 +0000 (14:26 -0500)
commitf36920796ec1335733493f7860d6f2f711c20398
treee45ce9a5c36cdd10c815ea7f317341f1c139e37e
parentdd5f0db96ba68553e3ab2c1d9d117863a5637c67
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.
src/bin/pg_basebackup/pg_basebackup.c