summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2013-08-27 21:50:22 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2013-08-27 21:50:22 +0200
commitdc545c0bcd252bca491d0c669adddb5d62390a15 (patch)
tree39c79ef67e23a6551bbc2a725c8712e2ac9f3151 /cmdline
parent7335eebea6dd43581d4650a8818b06383ab89901 (diff)
use mkstemp instead of mkostemp in FileFd::Open()
FileFd currently supports no fileflags which would make sense to provide via mkostemp, so we can just use mkstemp here which is a standard function compared to glib extension mkostemp. O_CREAT (Create) and O_TRUNC (Empty) are implied by O_EXCL, which is the mode mkstemp uses by default. The file description is opened ReadWrite, but that used to be the default for FileFd in the old times and not a problem as the difference is needed by FileFd to decide in which way the compressor pipeline needs to be created (if any). Git-Dch: Ignore
Diffstat (limited to 'cmdline')
0 files changed, 0 insertions, 0 deletions