diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2010-08-10 13:49:41 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2010-08-10 13:49:57 -0700 |
commit | 2050a5913b0ee2e08de22db29340865f7f0ee608 (patch) | |
tree | f74c6793684f5933aaf738c5d068d0618c02d59e /COPYING | |
parent | 7861d74ba8d1e237c22e5ba0d413806fd8436c03 (diff) | |
download | coreutils-2050a5913b0ee2e08de22db29340865f7f0ee608.tar.xz |
sort: free/xmalloc rather than xrealloc
* src/sort.c (compare_random): Use free/xmalloc rather than
xrealloc, since the old buffer contents need not be preserved.
Also, don't fail if the guessed-sized malloc fails. Suggested by
Bruno Haible.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions