This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Don't try fcntl64 if not needed


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   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]