[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#265819: libc6: sendfile64() should fall back to sendfile() if not implemented by the OS

Package: libc6
Version: 2.3.2.ds1-16
Severity: normal

(Not filing as wishlist because, well, it's a bug.)
If sendfile64() fails because the underlying OS doesn't implement it (as
linux 2.4.x fails to do for a number of architectures), it currently
just breaks.  If large file support is turned on, then there's no way
for user applications to fall back to normal sendfile().  Since glibc
already takes care of replacing sendfile() calls w/ sendfile64(), it
should also handle calling sendfile() if sendfile64() isn't implemented
by the OS.  

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages libc6 depends on:
ii  libdb1-compat                 2.1.3-7    The Berkeley database routines [gl

-- no debconf information

Reply to: