OSDN Git Service

Explicitly check for ftruncate64() in configure.in
authorTheodore Ts'o <tytso@mit.edu>
Mon, 21 Jan 2008 18:45:00 +0000 (13:45 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 21 Jan 2008 18:45:00 +0000 (13:45 -0500)
commit261cd3964fe1421bc8b9024c84888a5f1cba4195
tree84b7e59e0732e97f1fef8629b6bac7bed3c49387
parent98dca6c552d73cc39a3cb9d16947b2df5c55ef21
Explicitly check for ftruncate64() in configure.in

Apparently Mac OS 10.5 defines fstat64(), but not ftruncate64(),
causing resize2fs to fail to build.  So check explicitly for
ftruncate64(), and fall back to ftruncate() if necessary.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
configure
configure.in
resize/main.c