From: Bruno Haible Date: Sat, 2 Jun 2007 01:55:30 +0000 (+0000) Subject: Attempt to fix a test failure on Solaris (open fails with EACCES). X-Git-Tag: cvs-readonly~308 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=6e64ec2ee3c71b15772fc953cefba35b905066f2;p=gnulib.git Attempt to fix a test failure on Solaris (open fails with EACCES). --- diff --git a/ChangeLog b/ChangeLog index a68b1e996..b79f1dfb9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2007-06-01 Bruno Haible + * tests/test-binary-io.c (main): Pass a third argument to open(). + Reported by Gary V. Vaughan . + +2007-06-01 Bruno Haible + * doc/functions/frexpl.texi: Update for mingw. 2007-06-01 Bruno Haible @@ -7,6 +12,7 @@ * tests/test-lseek.c (main): Disable test of errno for invalid third argument. * doc/functions/lseek.texi: Update. + Reported by Gary V. Vaughan . 2007-05-28 Bruno Haible diff --git a/tests/test-binary-io.c b/tests/test-binary-io.c index 98fe3e192..7a0fa5db9 100644 --- a/tests/test-binary-io.c +++ b/tests/test-binary-io.c @@ -44,7 +44,8 @@ main () { /* Test the O_BINARY macro. */ { - int fd = open ("t-bin-out2.tmp", O_CREAT | O_TRUNC | O_RDWR | O_BINARY); + int fd = + open ("t-bin-out2.tmp", O_CREAT | O_TRUNC | O_RDWR | O_BINARY, 0600); if (write (fd, "Hello\n", 6) < 0) exit (1); close (fd);