zfs/cmd/zstreamdump
loli10K 0869b74a1e Endless loop in zpool_do_remove() on platforms with unsigned char
On systems where "char" is an unsigned type the value returned by
getopt() will never be negative (-1), leading to an endless loop:
this issue prevents both 'zpool remove' and 'zstreamdump' for
working on some systems.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Chris Dunlop <chris@onthe.net.au>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #8789
2019-05-28 11:14:58 -07:00
..
.gitignore Add zstreamdump .gitignore 2012-09-06 14:23:11 -07:00
Makefile.am Add libtpool (thread pools) 2017-08-09 15:31:08 -07:00
zstreamdump.c Endless loop in zpool_do_remove() on platforms with unsigned char 2019-05-28 11:14:58 -07:00