From 7ce1ba61b87c145209bae2d82f6d2401c38f5b5a Mon Sep 17 00:00:00 2001 From: erg Date: Mon, 2 Aug 2010 20:38:06 +0000 Subject: [PATCH] Fix bug in which -X#s is treated as -X#s- --- cmd/tools/ccomps.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/tools/ccomps.c b/cmd/tools/ccomps.c index 9df3677ec..77ad6a3a9 100644 --- a/cmd/tools/ccomps.c +++ b/cmd/tools/ccomps.c @@ -181,6 +181,8 @@ static void init(int argc, char *argv[]) optarg); } } + else + x_final = x_index; } else fprintf(stderr, "ccomps: number expected in -X%s flag - ignored\n", -- 2.50.1