mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8229872: (fs) Increase buffer size used with getmntent
Dynamically allocate memory for getmntent Reviewed-by: alanb
This commit is contained in:
parent
628283fe53
commit
67ad501e5b
5 changed files with 89 additions and 9 deletions
|
@ -118,6 +118,16 @@ class UnixNativeDispatcher {
|
|||
*/
|
||||
static native void fclose(long stream) throws UnixException;
|
||||
|
||||
/**
|
||||
* void rewind(FILE* stream);
|
||||
*/
|
||||
static native void rewind(long stream) throws UnixException;
|
||||
|
||||
/**
|
||||
* ssize_t getline(char **lineptr, size_t *n, FILE *stream);
|
||||
*/
|
||||
static native int getlinelen(long stream) throws UnixException;
|
||||
|
||||
/**
|
||||
* link(const char* existing, const char* new)
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue