]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
hexdump: rewrite next()
authorOndrej Oprala <ooprala@redhat.com>
Mon, 23 Sep 2013 13:39:13 +0000 (15:39 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 8 Nov 2013 11:54:52 +0000 (12:54 +0100)
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
text-utils/display.c

index 524c8b897b5969c424ce8061c16786f68d6dec0d..2fc781cb53893b1436363cb5fe5aee289c55806a 100644 (file)
@@ -317,7 +317,7 @@ int next(char **argv)
                _argv = argv;
                return(1);
        }
-       for (;;) {
+       while (TRUE) {
                if (*_argv) {
                        if (!(freopen(*_argv, "r", stdin))) {
                                warn("%s", *_argv);