Use one-dimension arrays in gen-posix-conf-vars.awk
commit195f3afcbed4986beaecd5c28fdbe27ee0a402e0
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Wed, 31 Dec 2014 07:52:58 +0000 (31 13:22 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Wed, 31 Dec 2014 07:52:58 +0000 (31 13:22 +0530)
tree19d5c6ecd5853820c7ac5a1a47cf275e15a71187
parent7062bd4230a9b94adff4101af9ae6c6a0d53c6e6
Use one-dimension arrays in gen-posix-conf-vars.awk

True multi-dimensional arrays were introduced in awk 4.0 and we
support awk versions as early as 3.12.  Use a single subscript of the
form prefix_conf instead of two dimensions to work around this
limitation.  We also need one additional array of just the conf names
subscripted by the prefix_conf to print the names for the
specifications.

* scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
arrays.
ChangeLog
scripts/gen-posix-conf-vars.awk