--- a/jdk/src/solaris/classes/sun/nio/fs/LinuxNativeDispatcher.java Thu Aug 16 10:48:43 2012 +0100
+++ b/jdk/src/solaris/classes/sun/nio/fs/LinuxNativeDispatcher.java Thu Aug 16 11:14:42 2012 +0100
@@ -51,9 +51,15 @@
private static native long setmntent0(long pathAddress, long typeAddress)
throws UnixException;
- /**
- * int endmntent(FILE* filep);
- */
+ /**
+ * int getmntent(FILE *fp, struct mnttab *mp, int len);
+ */
+ static native int getmntent(long fp, UnixMountEntry entry)
+ throws UnixException;
+
+ /**
+ * int endmntent(FILE* filep);
+ */
static native void endmntent(long stream) throws UnixException;
/**
@@ -90,7 +96,6 @@
private static native void fsetxattr0(int filedes, long nameAddress,
long valueAdddress, int valueLen) throws UnixException;
-
/**
* fremovexattr(int filedes, const char *name);
*/