aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/index.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-11-25 12:52:56 +0200
committerLasse Collin <lasse.collin@tukaani.org>2009-11-25 12:52:56 +0200
commit1f196909143b888e062bd9a0c4ba8c34d3019bfa (patch)
treedf2c1aeea3f3a39db0ab43112f5336d76bb01c3a /src/liblzma/common/index.c
parentCreate sparse files by default when decompressing into (diff)
downloadxz-1f196909143b888e062bd9a0c4ba8c34d3019bfa.tar.xz
Index decoder fixes.
The Index decoder code didn't perfectly match the API docs, which said that *i will be set to point to the decoded Index only after decoding has succeeded. The docs were a bit unclear too. Now the decoder will initially set *i to NULL. *i will be set to point to the decoded Index once decoding has succeeded. This simplifies applications too, since it avoids dangling pointers.
Diffstat (limited to 'src/liblzma/common/index.c')
0 files changed, 0 insertions, 0 deletions