commit | c2dbc18a9425815b6e93eb8b95d05a1168fb6e23 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sun Jan 27 00:35:32 2008 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Jan 27 00:35:32 2008 -0500 |
tree | 7b0046ec4e0ed99b4e4ef2f2c3d820f52dee0d45 | |
parent | edeee8f36f25b8d4bd6a9f6694f00a4060dd03f3 [diff] |
Use lseek() instead of llseek() of sizeof(long) == sizeof(long long) Previously we used a hard-coded test where for the Alpha and the IA64, we used lseek instead of llseek(). Generalize this to whenver sizeof(long) is the same as sizeof(long long). It turns out this fixes a FTBFS problem on the x86_64 for Debian, since dietlibc doesn't provide llseek() on that architecture. Addresses-Debian-Bug: #459614 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>