[PATCH] Use one-dimension arrays in gen-posix-conf-vars.awk
Andreas Schwab
schwab@linux-m68k.org
Tue Dec 30 18:31:00 GMT 2014
Siddhesh Poyarekar <siddhesh@redhat.com> writes:
> diff --git a/scripts/gen-posix-conf-vars.awk b/scripts/gen-posix-conf-vars.awk
> index 007cd74..9630b56 100644
> --- a/scripts/gen-posix-conf-vars.awk
> +++ b/scripts/gen-posix-conf-vars.awk
> @@ -42,36 +42,36 @@ $1 == "}" {
> # CONFSTR: A configuration string
> # SYSCONF: A numeric value
> # SPEC: A specification
> - sc_prefixes[prefix][$1] = sc_prefix
> - conf[prefix][$1] = type
> + c = sprintf("%s_%s", prefix, $1)
c = prefix "_" $1
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Libc-alpha
mailing list