From: Martin Stromberg Message-Id: <200206021246.OAA14887@lws256.lu.erisoft.se> Subject: Re: tests/libc/posix/unistd/append.c - fails To: djgpp-workers AT delorie DOT com Date: Sun, 2 Jun 2002 14:46:50 +0200 (MET DST) In-Reply-To: from "Richard Dawe" at Jun 02, 2002 01:11:27 PM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > It turns out that some of the open calls were failing. This is because > the first call does not open the file with a mode argument. After changing > that to use S_IRUSR|S_IWUSR, it works. There's a diff below, which That looks correct. > also also adds more paranoia on open(), write(). OK to commit? That looks fine too. Right, MartinS