classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

patches that include new files (was: Patch: java.awt.image.DataBuffer[Sh


From: Steven Augart
Subject: patches that include new files (was: Patch: java.awt.image.DataBuffer[Short|Float|Double])
Date: Mon, 10 May 2004 14:34:44 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007

Sascha Brawer wrote, on 14 April 2004:
Hi,

the following would provide support for java.awt.image.DataBuffer
of TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE. OK to commit?

(The content of the new files has been added manually; cvs diff
complained "cvs server: <XXX>.java is a new entry, no comparison
available).

I handled this problem with a little shell script. In the directory above my CVS classpath checkout, I have the files "added-for-thread.list", which contains a list of all the files I added for the --portable-native-sync work, and "changed-for-thread.list", which contains a list of all of the files I changed.

Using the script also has the advantage that I don't have to run "cvs diff" across all of classpath.

This can be easily generalized if you make lots of different patches.

Steve Augart

-----------  make-portable-native-sync-patch.sh --------------
#! /bin/bash
export LC_ALL=C TZ=GMT
cd classpath
cat <<EOF
This patch fixes the --portable-native-sync support in GNU Classpath.
EOF
for f in $(< ../added-for-thread.list); do
    diff -u /dev/null $f
done
cvs diff -u $(< ../changed-for-thread.list)


--
Steven Augart

Jikes RVM, a free, open source, Virtual Machine:
http://oss.software.ibm.com/jikesrvm





reply via email to

[Prev in Thread] Current Thread [Next in Thread]