summaryrefslogtreecommitdiffstats
path: root/libopkg/file_util.h
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-22 18:15:05 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-22 18:15:05 (EST)
commit010f770102220799a83245db81110df0d7940aad (patch)
tree1a209e28b397253b905b8499f1854acddb335ce8 /libopkg/file_util.h
parent7210f5571f7d93e2e62c80353a2923ee7e64968b (diff)
Change fdopen(fd, "rw+") to fdopen(fd, "r+").
It was pointed out by Basinilya in Issue 30 that the manual does not specify "rw+" (and this causes problems on Solaris). Since mkstemp should have already created the file, use "r+" for opening the fd in read/write mode. git-svn-id: http://opkg.googlecode.com/svn/trunk@345 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/file_util.h')
0 files changed, 0 insertions, 0 deletions