CVSROOT: /sources/classpath Module name: classpath Changes by: Mario Torre <neugens> 08/04/09 20:23:16
Modified files: native/jni/java-io: java_io_VMFile.c . : ChangeLog vm/reference/java/io: VMFile.java java/io : File.java Log message: 2008-04-09 Mario Torre <[EMAIL PROTECTED]> * java/io/File.java (canWrite): use canWriteDirectory(String). * vm/reference/java/io/VMFile.java (canWriteDirectory): new native method. * native/jni/java-io/java_io_VMFile.c: correct indentation, sync function names with header file definition. (Java_java_io_VMFile_canRead): use cpio_checkAccess to get access permission. Removed unused variable. (Java_java_io_VMFile_canWrite): likewise. (Java_java_io_VMFile_canWriteDirectory): new function. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/java-io/java_io_VMFile.c?cvsroot=classpath&r1=1.16&r2=1.17 http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9571&r2=1.9572 http://cvs.savannah.gnu.org/viewcvs/classpath/vm/reference/java/io/VMFile.java?cvsroot=classpath&r1=1.12&r2=1.13 http://cvs.savannah.gnu.org/viewcvs/classpath/java/io/File.java?cvsroot=classpath&r1=1.72&r2=1.73