Hi,I'm checking in this little patch that implements file locks in gnu.java.nio.channels.FileChannelImpl. This just uses straight C in the gnu_java_nio_channels_FileChannelImpl.c file, protected by appropriate #ifdefs.
2005-07-10 Casey Marshall <[EMAIL PROTECTED]>
* configure.ac (AC_CHECK_HEADERS): add 'fcntl.h'.
(AC_CHECK_FUNCS): add 'fcntl'.
* native/jni/java-nio/gnu_java_nio_channels_FileChannel.c:
Include <fcntl.h> if HAVE_FCNTL_H.
(Java_gnu_java_nio_channels_FileChannelImpl_lock,
Java_gnu_java_nio_channels_FileChannelImpl_unlock): implemented
if HAVE_FCNTL.
flock.patch
Description: Binary data
_______________________________________________ Classpath-patches mailing list [email protected] http://lists.gnu.org/mailman/listinfo/classpath-patches
