diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2022-02-27 20:45:27 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2022-02-27 20:45:27 +0200 |
commit | 6083e965fac1b272f9ccb491902b24a24ea14122 (patch) | |
tree | d4454d50f6d0ebcf398111f811243876e2dc62d2 /doc/gawktexi.in | |
parent | d36d6c02e9f3277850815f3bf5aec3b22fa54a21 (diff) | |
parent | fc1410099d6ccbb72adb54ecffd0711348706ca4 (diff) | |
download | egawk-6083e965fac1b272f9ccb491902b24a24ea14122.tar.gz egawk-6083e965fac1b272f9ccb491902b24a24ea14122.tar.bz2 egawk-6083e965fac1b272f9ccb491902b24a24ea14122.zip |
Merge branch 'gawk-5.1-stable'
Diffstat (limited to 'doc/gawktexi.in')
-rw-r--r-- | doc/gawktexi.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/gawktexi.in b/doc/gawktexi.in index 991136c3..dde1aed2 100644 --- a/doc/gawktexi.in +++ b/doc/gawktexi.in @@ -29049,6 +29049,17 @@ $ @kbd{gawk -f case_fold_compare.awk} @print{} n N O o p P Q q r R S s t T u U V v w W X x y Y z Z @end example +@quotation NOTE +`Under the hood,'' @command{gawk} uses the C library @code{qsort()} +function to manage the sorting. @code{qsort()} can call itself +recursively. This means that when you write a comparison function, +you should be careful to avoid the use of global variables and arrays; +use only local variables and arrays that you declare as additional +parameters to the comparison function. Otherwise, you are likely to +cause unintentional memory corruption in your global arrays and possibly +cause @command{gawk} itself to fail. +@end quotation + @node Two-way I/O @section Two-Way Communications with Another Process |