about summary refs log tree commit diff
path: root/src/misc/setrlimit.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-11 01:58:14 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-11 01:58:14 -0400
commitdae17a1aaf25d8333e729173d86659066607d87d (patch)
tree647bba2d6389494ef23af5b735c967f1feca23b2 /src/misc/setrlimit.c
parent52458cfa8c79a9eacb81e151e15cdeff04b75d37 (diff)
downloadmusl-dae17a1aaf25d8333e729173d86659066607d87d.tar.gz
musl-dae17a1aaf25d8333e729173d86659066607d87d.tar.xz
musl-dae17a1aaf25d8333e729173d86659066607d87d.zip
fix errno handling in scandir:
1. saved errno was not being restored, illegally clearing errno to 0.
2. no need to backup and save errno around free; it will not touch
except perhaps when the program has already invoked UB...
Diffstat (limited to 'src/misc/setrlimit.c')
0 files changed, 0 insertions, 0 deletions