Commit 37e7dc12 by Tom Tromey Committed by Tom Tromey

natFileChannelPosix.cc (write): Properly handle EINTR.

	* gnu/java/nio/channels/natFileChannelPosix.cc (write): Properly
	handle EINTR.

From-SVN: r113082
parent fa6098f8
2006-04-19 Tom Tromey <tromey@redhat.com>
* gnu/java/nio/channels/natFileChannelPosix.cc (write): Properly
handle EINTR.
2006-04-17 Tom Tromey <tromey@redhat.com>
PR libgcj/27171:
......
// natFileChannelImplPosix.cc - Native part of FileChannelImpl class.
/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation
/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006 Free Software Foundation
This file is part of libgcj.
......@@ -231,6 +231,7 @@ FileChannelImpl::write (jbyteArray b, jint offset, jint len)
}
if (errno != EINTR)
throw new IOException (JvNewStringLatin1 (strerror (errno)));
continue;
}
written += r;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment