[cp-patches] FYI Only truncate a file on append and write-only (from FileOutputStream)

2007-05-30 Thread Mark Wielaard
Hi, This fixes a bug reported by Steve Blackburn. Mauve tests have been added. 2007-05-30 Mark Wielaard [EMAIL PROTECTED] Fixes bug #32030 reported by [EMAIL PROTECTED] * native/jni/java-nio/gnu_java_nio_VMChannel.c (Java_gnu_java_nio_VMChannel_open): Only set O_TRUNC on

[cp-patches] Re: FYI Only truncate a file when append is not, but write-only is set (from FileOutputStream)

2007-05-30 Thread Mark Wielaard
On Wed, 2007-05-30 at 11:56 +0200, Mark Wielaard wrote: 2007-05-30 Mark Wielaard [EMAIL PROTECTED] Fixes bug #32030 reported by [EMAIL PROTECTED] * native/jni/java-nio/gnu_java_nio_VMChannel.c (Java_gnu_java_nio_VMChannel_open): Only set O_TRUNC on CPNIO_APPEND and

Re: [cp-patches] FYI Only truncate a file on append and write-only (from FileOutputStream)

2007-05-30 Thread Andrew Haley
Mark Wielaard writes: Hi, This fixes a bug reported by Steve Blackburn. Mauve tests have been added. 2007-05-30 Mark Wielaard [EMAIL PROTECTED] Fixes bug #32030 reported by [EMAIL PROTECTED] * native/jni/java-nio/gnu_java_nio_VMChannel.c

Re: [cp-patches] FYI Only truncate a file on append and write-only (from FileOutputStream)

2007-05-30 Thread Andrew Haley
You know, the real cause of this bug was the obfuscated use of conditional expressions. This code does, I think, the same things, but it's hard to be sure. Andrew. Index: gnu_java_nio_VMChannel.c === RCS file:

Re: [cp-patches] FYI Only truncate a file on append and write-only (from FileOutputStream)

2007-05-30 Thread Steve Blackburn
Is there any particular reason for having native implementations of open() in both gnu_java_nio_VMChannel.c and gnu_java_nio_FileChannelImpl.c? Aside from the bug in VMChannel, this duplication of open seemed to be the cause of the problem I saw. Refactoring of FileChannelImpl.java lead

[cp-patches] RFC: Gstreamer audio backend configure patch

2007-05-30 Thread Mario Torre
Hello! This patch does not contains code, only configuration setups, and it is not meant to be committed. I need some feedback on that because I'm not a configure expert so it is highly probable that I've missed something. I'll commit this with the fist piece of real code (the audio file

Re: [cp-patches] RFC: Gstreamer audio backend configure patch

2007-05-30 Thread Tom Tromey
Mario == Mario Torre [EMAIL PROTECTED] writes: Mario This patch does not contains code, only configuration setups, Mario and it is not meant to be committed. I need some feedback on Mario that because I'm not a configure expert so it is highly Mario probable that I've missed something. Looks

[cp-testresults] FAIL: gcc build on Wed May 30 07:09:59 UTC 2007

2007-05-30 Thread cpdev
depbase=`echo posix-threads.lo | sed 's|[^/]*$|.deps/|;s|\.lo$||'`; \ if /bin/sh ./libtool --tag=CXX --mode=compile /home/cpdev/Nightly/gcc/build/./gcc/xgcc -shared-libgcc -B/home/cpdev/Nightly/gcc/build/./gcc -nostdinc++ -L/home/cpdev/Nightly/gcc/build/i686-pc-linux-gnu/libstdc++-v3/src

[cp-testresults] FAIL: gcc build on Wed May 30 10:00:43 UTC 2007

2007-05-30 Thread cpdev
depbase=`echo posix-threads.lo | sed 's|[^/]*$|.deps/|;s|\.lo$||'`; \ if /bin/sh ./libtool --tag=CXX --mode=compile /home/cpdev/Nightly/gcc/build/./gcc/xgcc -shared-libgcc -B/home/cpdev/Nightly/gcc/build/./gcc -nostdinc++ -L/home/cpdev/Nightly/gcc/build/i686-pc-linux-gnu/libstdc++-v3/src

Bug 32030, RandomAccessFile truncates on rw access

2007-05-30 Thread Robin Garner
Hi all, Steve Blackburn reported this bug a week ago, including a regression test and a patch. Could someone take a look at it - it fixes our major outstanding bug with dacapo eclipse on JikesRVM, and looks like a pretty important bug to fix. thanks, Robin

Re: Bug 32030, RandomAccessFile truncates on rw access

2007-05-30 Thread Mark Wielaard
Hi Robin, On Wed, 2007-05-30 at 16:57 +1000, Robin Garner wrote: Steve Blackburn reported this bug a week ago, including a regression test and a patch. Could someone take a look at it - it fixes our major outstanding bug with dacapo eclipse on JikesRVM, and looks like a pretty important

Exporting the private key from gnu keystore

2007-05-30 Thread Felix Seeger
Hi, I created a key/csr with keytool. Since Debian installed keytool in a $PATH directory I have used gnu keytool which Sun Java cannot use... Is there way to convert the keystore into the sun format, or can I export my data and import it again into a new keystore from sun ? I already tried

[commit-cp] inetlib ChangeLog source/gnu/inet/http/Request....

2007-05-30 Thread Chris Burdess
CVSROOT:/cvsroot/classpath Module name:inetlib Changes by: Chris Burdess dog 07/05/30 07:47:51 Modified files: . : ChangeLog source/gnu/inet/http: Request.java source/gnu/inet/imap: IMAPConnection.java Log message: 2006-05-30

[commit-cp] classpath ChangeLog native/jni/java-nio/gnu_jav...

2007-05-30 Thread Mark Wielaard
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Mark Wielaard mark07/05/30 09:56:57 Modified files: . : ChangeLog native/jni/java-nio: gnu_java_nio_VMChannel.c Log message: 2007-05-30 Mark Wielaard [EMAIL PROTECTED]

[commit-cp] classpath ChangeLog

2007-05-30 Thread Mark Wielaard
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Mark Wielaard mark07/05/30 10:35:22 Modified files: . : ChangeLog Log message: Correct ChangeLog entry: (Java_gnu_java_nio_VMChannel_open): Only set O_TRUNC when