From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id CD0C73839419; Mon, 6 Sep 2021 18:44:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CD0C73839419 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc/azanella/qsort-fixes] support: Fix getopt_long with CMDLINE_OPTIONS X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/azanella/qsort-fixes X-Git-Oldrev: fb8373a59a597eaa328e7a7a18bfc7f5ce2fa6b1 X-Git-Newrev: 2cfe4303884e1330b026373475b28bf7dcb01436 Message-Id: <20210906184447.CD0C73839419@sourceware.org> Date: Mon, 6 Sep 2021 18:44:47 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Sep 2021 18:44:47 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2cfe4303884e1330b026373475b28bf7dcb01436 commit 2cfe4303884e1330b026373475b28bf7dcb01436 Author: Adhemerval Zanella Date: Fri Sep 3 11:33:51 2021 -0300 support: Fix getopt_long with CMDLINE_OPTIONS Diff: --- support/support_test_main.c | 1 - support/test-driver.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/support/support_test_main.c b/support/support_test_main.c index 07e3cdd173..ab1a475192 100644 --- a/support/support_test_main.c +++ b/support/support_test_main.c @@ -42,7 +42,6 @@ static const struct option default_options[] = { TEST_DEFAULT_OPTIONS - { NULL, 0, NULL, 0 } }; /* Show people how to run the program. */ diff --git a/support/test-driver.h b/support/test-driver.h index 8d4f38275d..3e54814a03 100644 --- a/support/test-driver.h +++ b/support/test-driver.h @@ -60,6 +60,7 @@ enum { "verbose", no_argument, NULL, 'v' }, \ { "direct", no_argument, NULL, OPT_DIRECT }, \ { "test-dir", required_argument, NULL, OPT_TESTDIR }, \ + { NULL, 0, NULL, 0 } /* The directory the test should use for temporary files. */ extern const char *test_dir;