diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2015-02-18 20:24:30 -0500 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2015-02-18 20:24:30 -0500 |
commit | d30292b8c45a1d909ff7d84bd6787c8827134fc3 (patch) | |
tree | 67c7738176b926e0f6051ac8b3ae37144d8ec452 /src/backend/utils/adt/array_userfuncs.c | |
parent | 9c7dd350199fa030ccbd5538e1b8e13a9603fda4 (diff) | |
download | postgresql-d30292b8c45a1d909ff7d84bd6787c8827134fc3.tar.gz postgresql-d30292b8c45a1d909ff7d84bd6787c8827134fc3.zip |
Fix Perl coding error in msvc build system
Code like
open(P, "cl /? 2>&1 |") || die "cl command not found";
does not actually catch any errors, because the exit status of the
command before the pipe is ignored. The fix is to look at $?.
This also gave the opportunity to clean up the logic of this code a bit.
Diffstat (limited to 'src/backend/utils/adt/array_userfuncs.c')
0 files changed, 0 insertions, 0 deletions