lkml.org 
[lkml]   [2004]   [Feb]   [27]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 26 Feb 2004 23:05:09 -0800
FromUlrich Drepper <>
SubjectRe: [PATCH] Add getdents32t syscall
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Linus Torvalds wrote:

> No, I'm not suggesting you do it for this one thing, obviously. But 
> there's bound to be _thousands_ of these stupid things where glibc has 
> compatibility crap that makes no sense.

No there are not, at least not for the libc which everybody uses.  FC
comes with three versions.  They each have increasing kernel
requirements.  The normally used version assumes a recent kernel (2.4.20
in FC1, hopefully 2.6.x in FC2) which allows to eliminate all
compatibility with older kernels.  This cuts out almost all of the
cruft.  The other libcs are for various degrees of backward
compatibility for apps which do not follow the API rules and depend on
non-guaranteed behavior of one sort or another.


Anyway, if you add the d_type field after the string and we do the
memmove that already much better than what we have to do today.

- -- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA 
\
 
 \ /
  Last update: 2005-03-22 13:01    [from the cache]
©2003-2008