Check the return value of getcwd(), instead of assuming success.

Robert Haas <rhaas@postgresql.org>

Commit: c9f48b572c773ab88d02e26ccb5b6ff5fea64c05
Author: Robert Haas <rhaas@postgresql.org>
Date: 2011-11-04T14:40:25Z
Releases: 9.2.0
Check the return value of getcwd(), instead of assuming success.

Kevin Grittner

Files

PathChange+/−
contrib/pg_upgrade/option.c modified +4 −1