summaryrefslogtreecommitdiff
path: root/META.json
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2014-08-07 21:29:14 -0500
committerCraig A. Berry <craigberry@mac.com>2014-08-07 21:29:14 -0500
commit998ae67e4ef3c82df027eb4f422811225e7fc1ef (patch)
tree00cc505f95cdd9e318bd0c4aa27cf15cee6317f2 /META.json
parent854a00d80afb6700138c1b8553393de2eb36e500 (diff)
downloadperl-998ae67e4ef3c82df027eb4f422811225e7fc1ef.tar.gz
getenv() failed lookup need not set errno on VMS.
The standard does not indicate any errno values set when getenv() simply doesn't find the requested value, which is a pretty common occurrence. The VMS-specific implementation of getenv() has been setting errno in this case, which means there is often an errno value hanging around for later unsuspecting operations. It particularly tends to bite people who don't read the documentation to die() and/or don't understand how errno works (only valid after a failed syscall). So we now stop setting errno in this case, but leave it for a few serious errors that should be extremely rare.
Diffstat (limited to 'META.json')
0 files changed, 0 insertions, 0 deletions