diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2022-02-27 20:34:09 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2022-02-27 20:34:09 +0200 |
commit | 7acb038bd54f81fb95dac70954e5c1b8ec07a086 (patch) | |
tree | 49631a59068726d04a2e9c17cfce4040ec66fdd3 /doc/gawk.texi | |
parent | d980a7923a612a5e50f20bc65ee87b1919ca7485 (diff) | |
download | egawk-7acb038bd54f81fb95dac70954e5c1b8ec07a086.tar.gz egawk-7acb038bd54f81fb95dac70954e5c1b8ec07a086.tar.bz2 egawk-7acb038bd54f81fb95dac70954e5c1b8ec07a086.zip |
Doc update.
Diffstat (limited to 'doc/gawk.texi')
-rw-r--r-- | doc/gawk.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/gawk.texi b/doc/gawk.texi index bc12119a..bc2768c2 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -30093,6 +30093,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 |