This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libjava/java/io/natFileDescriptorPosix.cc -r1.25 -r1.26


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Freitag, 6. Juni 2003 00:44 schrieb Loren James Rittle:
> Loren> * libjava/include/posix.h (O_SYNC): Define if not available
> Loren> and a reasonable, perhaps more conservative, replacement
> exists. Loren> (O_DSYNC): Likewise.
>
> > Actually I prefer this to Michael's patch.  Let's use this
> > instead; please check it in.  It is also ok to revert the
> > commenting-out in natFileDescriptorPosix.cc.
>
> [Tom, thanks for the CC.]  As committed to mainline.  Tested by
> recompiling affected cc file in an already bootstrapped tree.
> (Note: I've had the header change in my tree since I originally
> posted it.)

As we already pointed out in our private discussion your patch needs a 
little fix for platforms not supporting O_FSYNC and O_DSYNC (aka 
newlib). The attached patch should fix this.

OK to commit ?


Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+4CmrWSOgCCdjSDsRAs0UAJ0fOBq5sPrL/xR9ho1IvRpsCl5IgACfb5NW
vmpgvJrB7ywCPqg7shVGLjc=
=JXT7
-----END PGP SIGNATURE-----
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libjava/ChangeLog,v
retrieving revision 1.1921
diff -u -b -B -r1.1921 ChangeLog
--- ChangeLog	6 Jun 2003 03:34:35 -0000	1.1921
+++ ChangeLog	6 Jun 2003 05:36:47 -0000
@@ -1,3 +1,9 @@
+2003-06-06  Michael Koch  <konqueror@gmx.de>
+
+	* include/posix.h
+	(O_DSYNC): Define O_DSYNC on platforms not
+	supporting O_FSYNC (newlib).
+
 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
 
 	* java/lang/w_exp.c (o_threshold, u_threshold): Define only

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]