summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2018-10-09 10:04:55 +0200
committerJean Delvare <jdelvare@suse.de>2018-10-09 10:04:55 +0200
commit59f1977e03b0515c5fc0bc52c1fc46061d158831 (patch)
tree14ef45bd0fdf3f9e0fc3109aa66bcfde48911d4f /doc
parent7354a21c3b74401eb07165b05ca55cbc9dccb71f (diff)
downloadquilt-59f1977e03b0515c5fc0bc52c1fc46061d158831.tar.gz
compat/getopt: Handle a second separator
getopt can be passed 2 '--' separators. The first one tells that getopt options are over and target program options start. The second one tells that the target program's options are over and following arguments should be treated as non-options even if they look like options. This second separator was not handled, causing the compatibility getopt script to treat the following arguments as options, eventually failing one way or another. Properly detect and handle the second separator. This fixes the first half of bug #54772: https://savannah.nongnu.org/bugs/index.php?54772 Signed-off-by: Jean Delvare <jdelvare@suse.de>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions