From 010f770102220799a83245db81110df0d7940aad Mon Sep 17 00:00:00 2001 From: graham.gower Date: Sun, 22 Nov 2009 18:15:05 -0500 Subject: 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 --- (limited to 'libbb/xfuncs.c') -- cgit v0.9.1