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:
Tom Tromey 2002-08-29 18:05:15 +00:00 committed by Tom Tromey
parent 3308c46e47
commit 0148e1ee90
6 changed files with 20 additions and 3 deletions

4
libjava/configure vendored
View file

@ -3734,7 +3734,7 @@ else
fi
done
for ac_func in fork execvp pipe sigaction
for ac_func in fork execvp pipe sigaction ftruncate
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3741: checking for $ac_func" >&5
@ -7730,7 +7730,7 @@ cat >> $CONFIG_STATUS <<\EOF
# Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX.
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
ac_max_sed_cmds=60 # Maximum number of lines to put in a sed script.
ac_file=1 # Number of current file.
ac_beg=1 # First line for current file.
ac_end=$ac_max_sed_cmds # Line after last line for current file.