RFR: 8229872: (fs) Increase buffer size used with getmntent
Florian Weimer
fweimer at redhat.com
Fri Sep 6 15:03:11 UTC 2019
* Vladimir Kempik:
> Hello
>
> Thanks for comments
>
> updated webrev including all mentioned things.
>
> http://cr.openjdk.java.net/~vkempik/8229872/webrev.08/
In src/java.base/linux/native/libnio/fs/LinuxNativeDispatcher.c:
+ int buflen = (int)bufLen;
The buffer size should be size_t, for consistency with the possible
return values of Java_sun_nio_fs_UnixNativeDispatcher_getlinelen.
Thanks,
Florian
More information about the nio-dev
mailing list