natFileDescriptorPosix.cc (setLength): Handle case where ftruncate is missing.
* java/io/natFileDescriptorPosix.cc (setLength): Handle case where ftruncate is missing. * configure, include/config.h.in: Rebuilt. * acconfig.h (HAVE_FTRUNCATE): Mention. * configure.in: Check for ftruncate. From-SVN: r56658
This commit is contained in:
@@ -132,6 +132,7 @@
|
||||
#undef HAVE_READDIR_R
|
||||
#undef HAVE_GETHOSTBYNAME_R
|
||||
#undef HAVE_GETHOSTBYADDR_R
|
||||
#undef HAVE_FTRUNCATE
|
||||
|
||||
/* Define if you want a bytecode interpreter. */
|
||||
#undef INTERPRETER
|
||||
@@ -201,6 +202,9 @@
|
||||
/* Define if you have the ftime function. */
|
||||
#undef HAVE_FTIME
|
||||
|
||||
/* Define if you have the ftruncate function. */
|
||||
#undef HAVE_FTRUNCATE
|
||||
|
||||
/* Define if you have the getcwd function. */
|
||||
#undef HAVE_GETCWD
|
||||
|
||||
|
||||
Reference in New Issue
Block a user