summaryrefslogtreecommitdiff
path: root/lib/libubi_int.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-09-21 14:18:04 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-11-03 19:41:32 +0100
commit3c54e4e46c2248ed9143c2f07670307185719331 (patch)
tree8f11ba5fb74b1ca38e5b78b52a270dda02e594d5 /lib/libubi_int.h
parentce50e6d8d15b384ebf7021865a95d6f18d191291 (diff)
ubi-utils: ubicrc32: process command line arguments first
When a command line option is used (e.g. --version), the tool tries to open it as a file first, then *uppon success* attempts to process the command line options (including what it assumed to be an input file) which is obviously broken. This patch moves command line processing first and then attempts to open *the first unprocessed* argument. Reported-by: Uwe Kleine-König <ukleinek@debian.org> Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/libubi_int.h')
0 files changed, 0 insertions, 0 deletions