Bug in recent java changes

Michael Koch konqueror@gmx.de
Thu May 15 13:24:00 GMT 2003


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

Am Donnerstag, 15. Mai 2003 15:17 schrieb Richard Earnshaw:
> > > java/io/natFileDescriptor.cc: In member function `jint
> > >    java::io::FileDescriptor::open(java::lang::String*,
> > > __java_int)': java/io/natFileDescriptor.cc:112: error:
> > > `O_DSYNC' undeclared (first use this
> > >    function)
> > > java/io/natFileDescriptor.cc:112: error: (Each undeclared
> > > identifier is reported only once for each function it appears
> > > in.) java/io/natFileDescriptor.cc: In member function `void
> > > java::io::FileDescriptor::setLength(__java_long)':
> > > java/io/natFileDescriptor.cc:203: warning: unused variable
> > > `stat sb' java/io/natFileDescriptor.cc:202: warning: unused
> > > parameter `jlong pos' gnumake[4]: ***
> > > [java/io/natFileDescriptor.lo] Error 1 gnumake[4]: *** Waiting
> > > for unfinished jobs....
> >
> > Hmm, I thought newlib users would use natFileDescriptorEcos.cc
> > instead of natFileDescriptorPosix.cc ....
> >
> > I have attached a patch for you. Please test it.
>
> Sorry for the delay replying.  My source tree got partly out of
> sync and I ran into other build problems.
>
> Yes, this fixes the build problem, thanks.

Now the question: is this patch is good enough ? Andrew ?

 I know Andreas Tobler is working on a different patch for Darwin. He 
said Darwin has even no O_SYNC. This isnt addressed in this patch 
yet.

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

iD8DBQE+w5WOWSOgCCdjSDsRApZYAJsEGUsTzqqklLvxPa0IJTXWL0scgACfUcK9
DxPGll0aoC7G0/mvOr92THw=
=nvXw
-----END PGP SIGNATURE-----



More information about the Java-patches mailing list