musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/stdio
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018年02月24日 10:26:26 -0500
committerRich Felker <dalias@aerifal.cx>2018年02月24日 10:26:26 -0500
commitb123f2395266a44176e49cee251fb776e97f26e1 (patch)
tree31663a69a638ffc289a0e878938bafc9cc2b4fa1 /src/stdio
parent82f176803ae07e34229906d5c7c62889e665dc97 (diff)
downloadmusl-b123f2395266a44176e49cee251fb776e97f26e1.tar.gz
fix getopt wrongly treating colons in optstring as valid option chars
the ':' in optstring has special meaning as a flag applying to the previous option character, or to getopt's error handling behavior when it appears at the beginning. don't also accept a "-:" option based on its presence.
Diffstat (limited to 'src/stdio')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月06日 03:59:06 +0000

AltStyle によって変換されたページ (->オリジナル) /