CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Roman Kennke <[EMAIL PROTECTED]> 06/01/18 09:57:57
Modified files: . : ChangeLog native/jni/java-nio: gnu_java_nio_VMPipe.c gnu_java_nio_VMSelector.c java_nio_MappedByteBufferImpl.c java_nio_VMDirectByteBuffer.c Log message: 2006-01-18 Roman Kennke <[EMAIL PROTECTED]> * native/jni/java-nio/gnu_java_nio_VMPipe.c: Removed unnecessary include. * native/jni/java-nio/gnu_java_nio_VMSelector.c: Reorganized includes to only include sys/* headers when available. * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: (get_pagesize): Return 0 when nothing else works. (Java_java_nio_MappedByteBufferImpl_unmapImpl): Replaced munmap() and strerror() with corresponding target macros. (Java_java_nio_MappedByteBufferImpl_isLoadedImpl): Replaced strerror() with corresponding target macro. (Java_java_nio_MappedByteBufferImpl_forceImpl): Replaced strerror() with corresponding target macro. * native/jni/java-nio/java_nio_VMDirectByteBuffer.c: (Java_java_nio_VMDirectByteBuffer_allocate): Replaced malloc() with the corresponding target macro. (Java_java_nio_VMDirectByteBuffer_free): Replaced free() with the corresponding target macro. (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB): Add index to pointer when assigning the value. (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII): Replaced memcpy with corresponding target macro. Add index when doing the memcpy, not when fetching the pointer. (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII): Replaced memcpy with corresponding target macro. (Java_java_nio_VMDirectByteBuffer_shiftDown): Replaced memmove with the corresponding target macro. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6107&tr2=1.6108&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/jni/java-nio/gnu_java_nio_VMPipe.c.diff?tr1=1.4&tr2=1.5&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/jni/java-nio/gnu_java_nio_VMSelector.c.diff?tr1=1.9&tr2=1.10&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/jni/java-nio/java_nio_MappedByteBufferImpl.c.diff?tr1=1.10&tr2=1.11&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/jni/java-nio/java_nio_VMDirectByteBuffer.c.diff?tr1=1.12&tr2=1.13&r1=text&r2=text