equal
deleted
inserted
replaced
4659 } else { |
4659 } else { |
4660 return FALSE; |
4660 return FALSE; |
4661 } |
4661 } |
4662 } |
4662 } |
4663 |
4663 |
|
4664 void os::flockfile(FILE* fp) { |
|
4665 _lock_file(fp); |
|
4666 } |
|
4667 |
|
4668 void os::funlockfile(FILE* fp) { |
|
4669 _unlock_file(fp); |
|
4670 } |
|
4671 |
4664 // This code is a copy of JDK's nonSeekAvailable |
4672 // This code is a copy of JDK's nonSeekAvailable |
4665 // from src/windows/hpi/src/sys_api_md.c |
4673 // from src/windows/hpi/src/sys_api_md.c |
4666 |
4674 |
4667 static int nonSeekAvailable(int fd, long *pbytes) { |
4675 static int nonSeekAvailable(int fd, long *pbytes) { |
4668 // This is used for available on non-seekable devices |
4676 // This is used for available on non-seekable devices |