summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/realpath.3
diff options
context:
space:
mode:
authorderaadt <>2019-06-28 13:35:02 +0000
committerderaadt <>2019-06-28 13:35:02 +0000
commit835d788017c49be8b4986b0f04686da55f2cd0da (patch)
treebc969c069c7b769f2601db17f08bec99274202a5 /src/lib/libc/stdlib/realpath.3
parentc1fcaeae79bc31f65b74c1825ddee23b90beee04 (diff)
downloadopenbsd-835d788017c49be8b4986b0f04686da55f2cd0da.tar.gz
openbsd-835d788017c49be8b4986b0f04686da55f2cd0da.tar.bz2
openbsd-835d788017c49be8b4986b0f04686da55f2cd0da.zip
When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions