diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2009-11-25 12:52:56 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2009-11-25 12:52:56 +0200 |
commit | 1f196909143b888e062bd9a0c4ba8c34d3019bfa (patch) | |
tree | df2c1aeea3f3a39db0ab43112f5336d76bb01c3a /src/liblzma/common/easy_preset.h | |
parent | Create sparse files by default when decompressing into (diff) | |
download | xz-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/easy_preset.h')
0 files changed, 0 insertions, 0 deletions