aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/api/lzma/stream_flags.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2013-06-28 17:36:47 +0300
committerLasse Collin <lasse.collin@tukaani.org>2013-06-28 17:36:47 +0300
commit4a08a6e4c61c65ab763ab314100a6d7a3bb89298 (patch)
tree99b63393518fc33e3ba40a0c32c36531deb639d5 /src/liblzma/api/lzma/stream_flags.h
parentxz: Fix assertion related to posix_fadvise(). (diff)
downloadxz-4a08a6e4c61c65ab763ab314100a6d7a3bb89298.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/api/lzma/stream_flags.h')
0 files changed, 0 insertions, 0 deletions