summaryrefslogtreecommitdiffstats
path: root/notes/libopkbuild.1.txt
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2018-12-24 14:19:47 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2018-12-24 14:19:47 (EST)
commit0f5caf14a3124c24f38f340fd6504532f07d9617 (patch)
tree581bd96687258321bc62e506f5dec5773f3350a2 /notes/libopkbuild.1.txt
parent0b5016dc60e6ff1eff591d5de5b045463df8093e (diff)
ob_parse_dep(), ob_reduce_deps(): Initialize OPTIND before getopts
Dash and BusyBox ash apparently do this themselves, but GNU Bash (and other shells?) don't. POSIX says that getopts can be used more than once if OPTIND is set to 1, but using getopts multiple times with different parameters without setting OPTIND to 1 "produces unspecified results".
Diffstat (limited to 'notes/libopkbuild.1.txt')
0 files changed, 0 insertions, 0 deletions