diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-02-21 11:59:34 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-02-21 12:01:29 -0500 |
commit | 6d6102427d8d5450bd28788c792f97ef90cce274 (patch) | |
tree | bb45d9493b530154a8f5a856cc1fcc22527c84ee /src/linux/personality.c | |
parent | 8e0b38060d7a9916fc2b5de0dd7c166ef60be9c1 (diff) | |
download | musl-6d6102427d8d5450bd28788c792f97ef90cce274.tar.gz musl-6d6102427d8d5450bd28788c792f97ef90cce274.tar.xz musl-6d6102427d8d5450bd28788c792f97ef90cce274.zip |
convert execvp error handling to switch statement
this is more extensible if we need to consider additional errors, and more efficient as long as the compiler does not know it can cache the result of __errno_location (a surprisingly complex issue detailed in commit a603a75a72bb469c6be4963ed1b55fabe675fe15).
Diffstat (limited to 'src/linux/personality.c')
0 files changed, 0 insertions, 0 deletions