projects
/
platform
/
upstream
/
xz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
920a69a
)
Use my_min() instead of MIN() in src/xz/list.c
author
Jonathan Nieder
<jrnieder@gmail.com>
Thu, 27 May 2010 07:31:33 +0000
(
02:31
-0500)
committer
Lasse Collin
<lasse.collin@tukaani.org>
Thu, 27 May 2010 10:30:48 +0000
(13:30 +0300)
This should have been done in
920a69a8d8e4203c5edddd829d932130eac188ea
.
src/xz/list.c
patch
|
blob
|
history
diff --git
a/src/xz/list.c
b/src/xz/list.c
index
91707b9
..
3de838c
100644
(file)
--- a/
src/xz/list.c
+++ b/
src/xz/list.c
@@
-156,7
+156,7
@@
parse_indexes(lzma_index **idx, file_pair *pair)
do {
// Don't give the decoder more input than the
// Index size.
- strm.avail_in =
MIN
(IO_BUFFER_SIZE, index_size);
+ strm.avail_in =
my_min
(IO_BUFFER_SIZE, index_size);
if (io_pread(pair, &buf, strm.avail_in, pos))
goto error;