about summary refs log tree commit diff
path: root/.gitattributes
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2021-10-06 21:48:35 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2021-10-06 22:18:24 +0530
commit27b6edbb090f736b101f569620d8ad0e7217ddf8 (patch)
tree805e2f3be96c59a4972d065b7513492c020014ba /.gitattributes
parent3234a31b489707f19ec6d4c9909af06f20ddb901 (diff)
downloadglibc-27b6edbb090f736b101f569620d8ad0e7217ddf8.tar.gz
glibc-27b6edbb090f736b101f569620d8ad0e7217ddf8.tar.xz
glibc-27b6edbb090f736b101f569620d8ad0e7217ddf8.zip
support: Also return fd when it is 0
The fd validity check in open_dev_null checks if fd > 0, which would
lead to a leaked fd if it is == 0.

Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions