From 4663fd1ad6b54c160dcf144e5635a590c72e5ddf Mon Sep 17 00:00:00 2001 From: ValdikSS Date: Sun, 28 Jan 2024 07:58:15 +0300 Subject: [PATCH] Update getopts @GLIBC_2.0 variables (optarg, ...) --- src/librarian/globalsymbols.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/librarian/globalsymbols.c b/src/librarian/globalsymbols.c index df0e1b64f..5d5d260a8 100755 --- a/src/librarian/globalsymbols.c +++ b/src/librarian/globalsymbols.c @@ -130,6 +130,11 @@ void my_updateGlobalOpt() TOGLOB(optind, "GLIBC_2.2.5"); TOGLOB(opterr, "GLIBC_2.2.5"); TOGLOB(optopt, "GLIBC_2.2.5"); + + TOGLOB(optarg, "GLIBC_2.0"); + TOGLOB(optind, "GLIBC_2.0"); + TOGLOB(opterr, "GLIBC_2.0"); + TOGLOB(optopt, "GLIBC_2.0"); } void my_checkGlobalOpt() @@ -139,4 +144,9 @@ void my_checkGlobalOpt() GLOB(optind, "GLIBC_2.2.5"); GLOB(opterr, "GLIBC_2.2.5"); GLOB(optopt, "GLIBC_2.2.5"); -} \ No newline at end of file + + GLOB(optarg, "GLIBC_2.0"); + GLOB(optind, "GLIBC_2.0"); + GLOB(opterr, "GLIBC_2.0"); + GLOB(optopt, "GLIBC_2.0"); +}