firmware-utils: when using open with O_CREAT and O_WRONLY, also use O_TRUNC to ensure...
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 23 Sep 2008 16:12:40 +0000 (16:12 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 23 Sep 2008 16:12:40 +0000 (16:12 +0000)
commit1e232a2ad2d353f7d125b9e993cd8f6152900937
tree09b12c533c55b8a667b08101a98477c33429186a
parentafb3c4be87e4be8e77f30070167eccd28b50cd79
firmware-utils: when using open with O_CREAT and O_WRONLY, also use O_TRUNC to ensure that overwritten files have the right size (fixes #3505)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12667 3c298f89-4303-0410-b956-a3cf2f4a3e73
tools/firmware-utils/src/add_header.c
tools/firmware-utils/src/motorola-bin.c
tools/firmware-utils/src/ptgen.c
This page took 0.022998 seconds and 4 git commands to generate.