diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2013-06-28 17:36:47 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2013-06-28 22:04:32 +0300 |
commit | 91750dff8f2c654ff636f12a2acdffe5492374b3 (patch) | |
tree | 533bebc9397d9c6387244902f7b7361bb2b1262d /src/liblzma/liblzma.pc.in | |
parent | xz: Check the value of lzma_stream_flags.version in --list. (diff) | |
download | xz-91750dff8f2c654ff636f12a2acdffe5492374b3.tar.xz |
xz: Fix use of wrong variable in a fcntl() call.
Due to a wrong variable name, when writing a sparse file
to standard output, *all* file status flags were cleared
(to the extent the operating system allowed it) instead of
only clearing the O_APPEND flag. In practice this worked
fine in the common situations on GNU/Linux, but I didn't
check how it behaved elsewhere.
The original flags were still restored correctly. I still
changed the code to use a separate boolean variable to
indicate when the flags should be restored instead of
relying on a special value in stdout_flags.
Diffstat (limited to 'src/liblzma/liblzma.pc.in')
0 files changed, 0 insertions, 0 deletions