OSDN Git Service

The fdlength() ioctl apparently doesn't work on files (and the lseek trick
authorRob Landley <rob@landley.net>
Thu, 25 Jan 2007 21:10:37 +0000 (16:10 -0500)
committerRob Landley <rob@landley.net>
Thu, 25 Jan 2007 21:10:37 +0000 (16:10 -0500)
commitb3a3382abf49573ba1f79d22417e9fc50125d28d
treea97a6dc5111e9701b8a4cd32457dff8191feefec
parent6b7092fd084070daeef5aeb60b608a633d56f252
The fdlength() ioctl apparently doesn't work on files (and the lseek trick
doesn't work on some devices, and we can't always tell _when_ it failed), so
go to the binary search for now.
lib/functions.c