OSDN Git Service

An option can't exclude itself, so "abc[-ab][!abc]" with "command -a -b"
authorRob Landley <rob@landley.net>
Wed, 4 Jan 2017 07:14:07 +0000 (01:14 -0600)
committerRob Landley <rob@landley.net>
Wed, 4 Jan 2017 07:14:07 +0000 (01:14 -0600)
commit4d4ca28acaa44069893d06aea64e304809527b16
treebcbe04386d7bbc4117e58488cca24eed9d172026
parenteff6274390d3facfa98787fc2d0d2fe99637a64f
An option can't exclude itself, so "abc[-ab][!abc]" with "command -a -b"
shouldn't segfault falling off the end of the list trying to report a
nonexistent error condition.
lib/args.c