diff options
author | Bruno Haible <bruno@clisp.org> | 2020-07-24 14:25:30 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-07-24 14:25:30 +0200 |
commit | 7ea899a94365ece6367515a7e61452d9d2e61730 (patch) | |
tree | eadf4733923269dfbb03959fb451cc3ac676182b /lib/dfa.c | |
parent | efa15594e17fc20827dba66414fb391e99905394 (diff) | |
download | gnulib-7ea899a94365ece6367515a7e61452d9d2e61730.tar.gz |
dfa: Revert breaking gawk.
Reported by Arnold Robbins <arnold@skeeve.com>.
* lib/dfa.c (compare): Don't reference the _GL_CMP macro.
Diffstat (limited to 'lib/dfa.c')
-rw-r--r-- | lib/dfa.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2466,7 +2466,7 @@ static int compare (const void *a, const void *b) { position const *p = a, *q = b; - return _GL_CMP (p->index, q->index); + return (p->index > q->index) - (p->index < q->index); } static void |