diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-09-13 21:22:23 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-09-13 21:22:23 -0700 |
commit | 03218909bb61e5aac1122301783650d1ba26ffcb (patch) | |
tree | 14039cd5d3dc3c4cb7b0ae4967a33b9544281d55 /stream.h | |
parent | b8b6030d1b6fda1bcf76c339452826a10830bd76 (diff) | |
download | txr-03218909bb61e5aac1122301783650d1ba26ffcb.tar.gz txr-03218909bb61e5aac1122301783650d1ba26ffcb.tar.bz2 txr-03218909bb61e5aac1122301783650d1ba26ffcb.zip |
glob*: fix buggy sort comparison function.
* glob.c (glob_path_cmp): Compare bytes as unsigned.
After the loop, don't test whether the pointer are null;
they never are. Test whether they point to null.
* tests/018/glob.tl: Expected data replaced.
Diffstat (limited to 'stream.h')
0 files changed, 0 insertions, 0 deletions