join bug fix: adapt keycmp to work with new order-checking feature
authorJim Meyering <meyering@redhat.com>
Sun, 23 Mar 2008 11:31:07 +0000 (12:31 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 25 Mar 2008 18:10:10 +0000 (19:10 +0100)
commitda9f5e7fdffbb31f5c5949d5f931e757aa65e7c7
treef8c6b60224a1642b90435f8a07863915496c27b5
parent157a274da5c092886e7c2d845bf87ebec0fca40c
join bug fix: adapt keycmp to work with new order-checking feature

* src/join.c (keycmp): Add two join-field parameters.
(check_order, join): Update callers.
Reported by Dmitry V. Levin in
http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/12731/focus=13017
* tests/join/Test.pm (chkodr-7): New test for this fix.
src/join.c
tests/join/Test.pm