Dirk Mueller
dbb08c9c55
- Update to gawk 5.2.0 * Numeric scalars now compare in the same way as C for the relational operators. Comparison order for sorting has not changed * If the AWK_HASH environment variable is set to "fnv1a" gawk will use the FNV1-A hash function for associative arrays * There is now a new function, mkbool(), that creates Boolean-typed values * As BWK awk has supported interval expressions since 2019, they are now enabled even if --traditional is supplied * The rwarray extension has two new functions, writeall() and readall() * The new `gawkbug' script should be used for reporting bugs * The manual page (doc/gawk.1) has been considerably reduced in size * Gawk now supports Terence Kelly's "persistent malloc" (pma), allowing gawk to preserve its variables, arrays and user-defined functions between runs * Some subtle issues with untyped array elements being passed to functions have been fixed * Syntax errors are now immediately fatal - gawk-5.1.1-Disable-racy-test-in-test-iolint.awk.patch: removed - pma.patch: Handle hole bigger than half the address space - nan-tests.patch: fix non-portable NaN tests OBS-URL: https://build.opensuse.org/request/show/1001442 OBS-URL: https://build.opensuse.org/package/show/Base:System/gawk?expand=0&rev=88
21 lines
700 B
Diff
21 lines
700 B
Diff
Index: gawk-5.2.0/test/inf-nan-torture.in
|
|
===================================================================
|
|
--- gawk-5.2.0.orig/test/inf-nan-torture.in
|
|
+++ gawk-5.2.0/test/inf-nan-torture.in
|
|
@@ -1 +1 @@
|
|
--inf -inform inform -nan -nancy nancy -123 0 123 +123 nancy +nancy +nan inform +inform +inf
|
|
+-inf -inform inform +nan -nancy nancy -123 0 123 +123 nancy +nancy +nan inform +inform +inf
|
|
Index: gawk-5.2.0/test/inf-nan-torture.ok
|
|
===================================================================
|
|
--- gawk-5.2.0.orig/test/inf-nan-torture.ok
|
|
+++ gawk-5.2.0/test/inf-nan-torture.ok
|
|
@@ -1,7 +1,7 @@
|
|
1 -inf -inf
|
|
2 -inform 0
|
|
3 inform 0
|
|
-4 -nan -nan
|
|
+4 +nan +nan
|
|
5 -nancy 0
|
|
6 nancy 0
|
|
7 -123 -123
|