diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-03-25 23:25:57 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-03-25 23:25:57 +0100 |
commit | 59b0f9d7635ea7e272e2976ab69764a570d7f6ff (patch) | |
tree | 5316f59226c849d60ac22db68858f043f49fbf93 /lib/stdint.in.h | |
parent | 5bb40f9df02c3395b198f254fdd43e7468b5ceee (diff) | |
download | guile-59b0f9d7635ea7e272e2976ab69764a570d7f6ff.tar.gz |
SRFI-37: Fix infinite loop when processing short option with no required arg.
Fixes <http://bugs.gnu.org/13176>.
* module/srfi/srfi-37.scm (args-fold)[short-option-argument]: When ARGS
is a pair, always set it to its cdr.
* test-suite/tests/srfi-37.test ("SRFI-37")["short option with optional
argument omitted", "short option with optional argument provided"]:
New tests.
Diffstat (limited to 'lib/stdint.in.h')
0 files changed, 0 insertions, 0 deletions