sort: fix --debug display with very large offsets
commit1bf73ebb97b2f20bf3d8b1adba43fc9fbbc335f6
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 27 Jul 2010 18:01:10 +0000 (27 11:01 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 27 Jul 2010 18:01:48 +0000 (27 11:01 -0700)
tree9e208928f381e836524c57804d5c37e558bf8897
parentc8d3838681de7137a3eb1127c4c4486023bd2f00
sort: fix --debug display with very large offsets

* src/sort.c (mark_key): Don't assume offset <= INT_MAX.
Make the code a bit clearer when width != 0.
src/sort.c