From f990ecedbdb43d25380efe06971528f695772d08 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 27 Mar 2005 00:18:55 +0000 Subject: [PATCH] * gdb.base/bigcore.c (main): Add missing mode argument in open call. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/bigcore.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 55318f802c..9d3f469042 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2005-03-27 Andreas Schwab + + * gdb.base/bigcore.c (main): Add missing mode argument in open + call. + 2005-03-25 Daniel Jacobowitz * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver diff --git a/gdb/testsuite/gdb.base/bigcore.c b/gdb/testsuite/gdb.base/bigcore.c index 9215b5af73..5d0b4dbcdd 100644 --- a/gdb/testsuite/gdb.base/bigcore.c +++ b/gdb/testsuite/gdb.base/bigcore.c @@ -178,7 +178,8 @@ main () int fd; large_off_t tmp; unlink ("bigcore.corefile"); - fd = open ("bigcore.corefile", O_RDWR | O_CREAT | O_TRUNC | O_LARGEFILE); + fd = open ("bigcore.corefile", O_RDWR | O_CREAT | O_TRUNC | O_LARGEFILE, + 0666); for (tmp = 1; tmp > 0; tmp <<= 1) { if (large_lseek (fd, tmp, SEEK_SET) > 0) -- 2.11.0