[PATCH] Don't try fcntl64 if not needed
Ulrich Drepper
drepper@redhat.com
Sun Sep 3 10:03:00 GMT 2000
Jakub Jelinek <jakub@redhat.com> writes:
> 2000-09-02 Jakub Jelinek <jakub@redhat.com>
>
> * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Only try
> fcntl64 for commands F_GETLK64 and above.
I don't think this is necessary. This version is mainly used with 2.4
kernel even though they are not available widely now. But the
lifetime of glibc 2.2 overlaps certainly more with the 2.4 kernels
than with 2.2. But then we just have one more if (more code) and two
used entry points in the kernel. Mind you that I don't
--enable-kernel be used very much in general.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
More information about the Libc-hacker
mailing list