]> Savannah Git Hosting - gnulib.git/commit
getopt: give accurate ambiguity diagnostic on mem exhaustion
authorPádraig Brady <P@draigBrady.com>
Wed, 18 Feb 2015 22:37:31 +0000 (22:37 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 18 Feb 2015 22:48:38 +0000 (22:48 +0000)
commit4ad02492559a3b95e0ab86d79dd0e0e611c0ac1d
tree73a4dff914ad528c5640b9ec14cdbd02c1fe25c4
parent6fa31e52cb3547f3c89b3a4c6547d1d92292ac15
getopt: give accurate ambiguity diagnostic on mem exhaustion

* lib/getopt.c (_getopt_internal_r): The previous commit broke
out the loop too early, which could give a false indication
of ambiguous options under memory exhaustion.
lib/getopt.c