fetch: always use O_EXCL when creating output files, use unlink if -O is specified
authorFelix Fietkau <nbd@openwrt.org>
Thu, 8 May 2014 15:39:51 +0000 (17:39 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 8 May 2014 15:39:51 +0000 (17:39 +0200)
commite350ca4e73771c5a23e08ecc25ea4d3a966e51f8
tree8c92ae380af20c6b63470fdeea546c12f01b0773
parent58dec1d4bf3b66d62454775bd8fd4f3d347b3806
fetch: always use O_EXCL when creating output files, use unlink if -O is specified

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
uclient-fetch.c