This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.17-538-ge913141
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 16 Apr 2013 19:12:05 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.17-538-ge913141
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via e913141d5f4d4eed4b65f55b0077aeb1c8234e25 (commit)
from 4856bcd2df33adfc36c762a48853ec613c0d2f68 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=e913141d5f4d4eed4b65f55b0077aeb1c8234e25
commit e913141d5f4d4eed4b65f55b0077aeb1c8234e25
Author: Roland McGrath <roland@hack.frob.com>
Date: Tue Apr 16 12:11:26 2013 -0700
Don't test O_RDONLY case in tst-aio7.
diff --git a/ChangeLog b/ChangeLog
index ca232e7..90d6d47 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-04-16 Roland McGrath <roland@hack.frob.com>
+
+ * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
+ considered kosher.
+
2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
* benchtests/Makefile: Include cppflags-iterator.mk to add
diff --git a/rt/tst-aio7.c b/rt/tst-aio7.c
index c156e86..b25c33c 100644
--- a/rt/tst-aio7.c
+++ b/rt/tst-aio7.c
@@ -78,7 +78,7 @@ do_test (void)
puts ("aio_cancel( -1, {-2..} ) did not return -1 or errno != EBADF");
}
- /* Test for aio_fsync() detecting bad fd, and fd not open for writing. */
+ /* Test for aio_fsync() detecting bad fd. */
{
struct aiocb cb;
int fd = -1;
@@ -98,21 +98,6 @@ do_test (void)
puts ("aio_fsync( op, {-1..} ) did not return -1 or errno != EBADF");
++result;
}
-
- if ((fd = open ("/dev/null", O_RDONLY)) < 0)
- error (1, errno, "opening /dev/null");
-
- cb.aio_fildes = fd;
- errno = 0;
-
- /* Case two: valid fd but open for read only. */
- if (aio_fsync (O_SYNC, &cb) != -1 || errno != EBADF)
- {
- puts ("aio_fsync( op, {RO..} ) did not return -1 or errno != EBADF");
- ++result;
- }
-
- close (fd);
}
/* Test for aio_suspend() suspending even if completed elements in list. */
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
rt/tst-aio7.c | 17 +----------------
2 files changed, 6 insertions(+), 16 deletions(-)
hooks/post-receive
--
GNU C Library master sources