<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gcc.git/libjava/java/io/natFileDescriptorPosix.cc, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/'/>
<entry>
<title>FileDescriptor.java: Implement on top of FileChannel.</title>
<updated>2004-02-29T19:12:15+00:00</updated>
<author>
<name>Per Bothner</name>
<email>bothner@gcc.gnu.org</email>
</author>
<published>2004-02-29T19:12:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=ef3916ef8e8a15b800e293ed2555b1b60c9f96f3'/>
<id>ef3916ef8e8a15b800e293ed2555b1b60c9f96f3</id>
<content type='text'>
	* java/io/FileDescriptor.java:  Implement on top of FileChannel.
	Remove native methods.

	* java/io/natFileDescriptorEcos.cc:  Remove file.
	* java/io/natFileDescriptorPosix.cc:  Remove file.
	* java/io/natFileDescriptorWin32.cc:  Remove file.
	* java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
	(&lt;init&gt;(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
	(&lt;init&gt;(FileChannelImpl)):  New package-private constructor.
	(&lt;init&gt;(FileDescriptor)):  Extract FileChannelImpl from arg.
	(available, close, read, skip):  Implement using FileChannelImpl.
	(getFD):  Allocate FileDescriptor if needed.
	(getChannel):  Is now trivial.
	* java/io/FileOutputStream.java:  Corresponding changes.
	* java/io/RandomAccessFile.java:  Corresponding changes.

From-SVN: r78661
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* java/io/FileDescriptor.java:  Implement on top of FileChannel.
	Remove native methods.

	* java/io/natFileDescriptorEcos.cc:  Remove file.
	* java/io/natFileDescriptorPosix.cc:  Remove file.
	* java/io/natFileDescriptorWin32.cc:  Remove file.
	* java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
	(&lt;init&gt;(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
	(&lt;init&gt;(FileChannelImpl)):  New package-private constructor.
	(&lt;init&gt;(FileDescriptor)):  Extract FileChannelImpl from arg.
	(available, close, read, skip):  Implement using FileChannelImpl.
	(getFD):  Allocate FileDescriptor if needed.
	(getChannel):  Is now trivial.
	* java/io/FileOutputStream.java:  Corresponding changes.
	* java/io/RandomAccessFile.java:  Corresponding changes.

From-SVN: r78661
</pre>
</div>
</content>
</entry>
<entry>
<title>2004-01-23  Michael Koch  &lt;konqueror@gmx.de&gt;</title>
<updated>2004-01-23T14:07:28+00:00</updated>
<author>
<name>Michael Koch</name>
<email>konqueror@gmx.de</email>
</author>
<published>2004-01-23T14:07:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=ca1d829f319a0919f6543933cd7f561e3ae5bf64'/>
<id>ca1d829f319a0919f6543933cd7f561e3ae5bf64</id>
<content type='text'>
	* java/io/FileDescriptor.java
	(lock): New method.
	(tryLock): New method.
	(unlock): New method.
	* java/io/natFileDescriptorEcos.cc
	(lock): New method.
	(tryLock): New method.
	(unlock): New method.
	* java/io/natFileDescriptorPosix.cc
	(lock): New method.
	(tryLock): New method.
	(unlock): New method.
	* java/io/natFileDescriptorWin32.cc
	(lock): New method.
	(tryLock): New method.
	(unlock): New method.

From-SVN: r76421
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* java/io/FileDescriptor.java
	(lock): New method.
	(tryLock): New method.
	(unlock): New method.
	* java/io/natFileDescriptorEcos.cc
	(lock): New method.
	(tryLock): New method.
	(unlock): New method.
	* java/io/natFileDescriptorPosix.cc
	(lock): New method.
	(tryLock): New method.
	(unlock): New method.
	* java/io/natFileDescriptorWin32.cc
	(lock): New method.
	(tryLock): New method.
	(unlock): New method.

From-SVN: r76421
</pre>
</div>
</content>
</entry>
<entry>
<title>natFileDescriptorPosix.cc (write): Try again on EINTR.</title>
<updated>2003-07-26T00:40:50+00:00</updated>
<author>
<name>Tom Tromey</name>
<email>tromey@redhat.com</email>
</author>
<published>2003-07-26T00:40:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=49f60a1a01b7526ca317f18dd0ed87f9ff781f3b'/>
<id>49f60a1a01b7526ca317f18dd0ed87f9ff781f3b</id>
<content type='text'>
	* java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
	(write): Likewise.
	(read): Likewise.
	(read): Likewise.

From-SVN: r69807
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
	(write): Likewise.
	(read): Likewise.
	(read): Likewise.

From-SVN: r69807
</pre>
</div>
</content>
</entry>
<entry>
<title>posix.h (O_SYNC): Define if not available and a reasonable...</title>
<updated>2003-06-05T22:37:02+00:00</updated>
<author>
<name>Loren J. Rittle</name>
<email>ljrittle@acm.org</email>
</author>
<published>2003-06-05T22:37:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=49c72d225b8c33c995641193365b05e0492e2e4e'/>
<id>49c72d225b8c33c995641193365b05e0492e2e4e</id>
<content type='text'>
	* libjava/include/posix.h (O_SYNC): Define if not available
	and a reasonable, perhaps more conservative, replacement exists.
	(O_DSYNC): Likewise.
	* java/io/natFileDescriptorPosix.cc (open): Revert last patch.

From-SVN: r67517
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* libjava/include/posix.h (O_SYNC): Define if not available
	and a reasonable, perhaps more conservative, replacement exists.
	(O_DSYNC): Likewise.
	* java/io/natFileDescriptorPosix.cc (open): Revert last patch.

From-SVN: r67517
</pre>
</div>
</content>
</entry>
<entry>
<title>2003-05-16  Michael Koch  &lt;konqueror@gmx.de&gt;</title>
<updated>2003-05-16T08:09:32+00:00</updated>
<author>
<name>Michael Koch</name>
<email>konqueror@gmx.de</email>
</author>
<published>2003-05-16T08:09:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=18abc5e1d935e6c2416bb31d7625a5192d01e6f8'/>
<id>18abc5e1d935e6c2416bb31d7625a5192d01e6f8</id>
<content type='text'>
	* java/io/natFileDescriptorPosix.cc
	(open): Commented out the O_SYNC and O_DSYNC usage until its better
	tested.

From-SVN: r66859
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* java/io/natFileDescriptorPosix.cc
	(open): Commented out the O_SYNC and O_DSYNC usage until its better
	tested.

From-SVN: r66859
</pre>
</div>
</content>
</entry>
<entry>
<title>2003-05-13  Michael Koch  &lt;konqueror@gmx.de&gt;</title>
<updated>2003-05-13T09:13:31+00:00</updated>
<author>
<name>Michael Koch</name>
<email>konqueror@gmx.de</email>
</author>
<published>2003-05-13T09:13:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=e48d8b88869563f85f2c83108257615f1cc73c76'/>
<id>e48d8b88869563f85f2c83108257615f1cc73c76</id>
<content type='text'>
       * java/io/FileDescriptor.java
       (SYNC): New constant.
       (DSYNC): Likewise.
       (getLength): Renamed from lenght() to match classpath's
       FileDescriptor.java.
       * java/io/RandomAccessFile.java
       (RandomAccessFile): Removed unneeded mode check, implemented mode
       "rws" and "rwd", merged documentation from classpath.
       (setLength): Reformatted.
       (length): Use new getLength() of FileDescriptor.
       * java/io/natFileDescriptorEcos.cc
       (getLength): Renamed from length().
       * java/io/natFileDescriptorPosix.cc
       (open): Implemented support for SYNC and DSYNC.
       (seek): Use getLength() instead of length().
       (getLength): Renamed from length().
       * java/io/natFileDescriptorWin32.cc
       (getLength): Renamed from length().
       (seek): Use getLength() instead of length().
       (available): Likewise.
       * gnu/java/nio/natFileChannelImpl.cc
       (size): Use getLength() instead of length().

From-SVN: r66755
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
       * java/io/FileDescriptor.java
       (SYNC): New constant.
       (DSYNC): Likewise.
       (getLength): Renamed from lenght() to match classpath's
       FileDescriptor.java.
       * java/io/RandomAccessFile.java
       (RandomAccessFile): Removed unneeded mode check, implemented mode
       "rws" and "rwd", merged documentation from classpath.
       (setLength): Reformatted.
       (length): Use new getLength() of FileDescriptor.
       * java/io/natFileDescriptorEcos.cc
       (getLength): Renamed from length().
       * java/io/natFileDescriptorPosix.cc
       (open): Implemented support for SYNC and DSYNC.
       (seek): Use getLength() instead of length().
       (getLength): Renamed from length().
       * java/io/natFileDescriptorWin32.cc
       (getLength): Renamed from length().
       (seek): Use getLength() instead of length().
       (available): Likewise.
       * gnu/java/nio/natFileChannelImpl.cc
       (size): Use getLength() instead of length().

From-SVN: r66755
</pre>
</div>
</content>
</entry>
<entry>
<title>re PR libgcj/9934 (Bugs in natFileDescriptorPosix.cc:available())</title>
<updated>2003-03-09T22:50:02+00:00</updated>
<author>
<name>Tom Tromey</name>
<email>tromey@redhat.com</email>
</author>
<published>2003-03-09T22:50:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=5e18b3d6a653eeb64d92597536feac32ea1be0b9'/>
<id>5e18b3d6a653eeb64d92597536feac32ea1be0b9</id>
<content type='text'>
	PR libgcj/9934:
	* java/io/natFileDescriptorPosix.cc (available): Fixed arguments
	to lseek.  Return 0 if we can't compute the value.

From-SVN: r64053
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	PR libgcj/9934:
	* java/io/natFileDescriptorPosix.cc (available): Fixed arguments
	to lseek.  Return 0 if we can't compute the value.

From-SVN: r64053
</pre>
</div>
</content>
</entry>
<entry>
<title>FileDescriptor.java (position): New private field.</title>
<updated>2003-01-04T03:53:00+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mark@klomp.org</email>
</author>
<published>2003-01-04T03:53:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=1d5c46dc84de0ede6101ea332d0709e3f543baee'/>
<id>1d5c46dc84de0ede6101ea332d0709e3f543baee</id>
<content type='text'>
        * java/io/FileDescriptor.java (position): New private field.
        * java/io/natFileDescriptorPosix.cc (write): Up position.
        (setLength): Use and set position.
        (seek): Set position.
        (getFilePointer): Return position.
        (read): Up position.

From-SVN: r60869
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
        * java/io/FileDescriptor.java (position): New private field.
        * java/io/natFileDescriptorPosix.cc (write): Up position.
        (setLength): Use and set position.
        (seek): Set position.
        (getFilePointer): Return position.
        (read): Up position.

From-SVN: r60869
</pre>
</div>
</content>
</entry>
<entry>
<title>natFileDescriptorWin32.cc (read): Handle case where count is 0.</title>
<updated>2002-11-10T22:23:53+00:00</updated>
<author>
<name>Tom Tromey</name>
<email>tromey@redhat.com</email>
</author>
<published>2002-11-10T22:23:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=a6b5bd3b6bae362a975ac28a00c0b9fe01c3ebf8'/>
<id>a6b5bd3b6bae362a975ac28a00c0b9fe01c3ebf8</id>
<content type='text'>
	* java/io/natFileDescriptorWin32.cc (read): Handle case where
	count is 0.
	* java/io/natFileDescriptorPosix.cc (read): Handle case where
	count is 0.

From-SVN: r58997
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* java/io/natFileDescriptorWin32.cc (read): Handle case where
	count is 0.
	* java/io/natFileDescriptorPosix.cc (read): Handle case where
	count is 0.

From-SVN: r58997
</pre>
</div>
</content>
</entry>
<entry>
<title>natFileDescriptorPosix.cc (setLength): Handle case where ftruncate is missing.</title>
<updated>2002-08-29T18:05:15+00:00</updated>
<author>
<name>Tom Tromey</name>
<email>tromey@redhat.com</email>
</author>
<published>2002-08-29T18:05:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=0148e1ee90a9cec90cbd0b32b99cf532eaae9699'/>
<id>0148e1ee90a9cec90cbd0b32b99cf532eaae9699</id>
<content type='text'>
	* java/io/natFileDescriptorPosix.cc (setLength): Handle case where
	ftruncate is missing.
	* configure, include/config.h.in: Rebuilt.
	* acconfig.h (HAVE_FTRUNCATE): Mention.
	* configure.in: Check for ftruncate.

From-SVN: r56658
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* java/io/natFileDescriptorPosix.cc (setLength): Handle case where
	ftruncate is missing.
	* configure, include/config.h.in: Rebuilt.
	* acconfig.h (HAVE_FTRUNCATE): Mention.
	* configure.in: Check for ftruncate.

From-SVN: r56658
</pre>
</div>
</content>
</entry>
</feed>
