This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: AT_* flags
On Fri, Jun 13, 2008 at 10:08 AM, Ulrich Drepper <drepper@redhat.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> David Bartley wrote:
>> I noticed that the AT_* flags (e.g. AT_FDCWD) are defined in
>> io/fcntl.h. Shouldn't they be defined in the platform-dependent
>> bits/fcntl.h? Solaris (and probably other platforms) define different
>> values for these flags.
>
> And why should this matter? The only other supported kernel is Hurd and
> they can and should use the same value.
Glibc has been ported to some of the *bsd systems and might eventually
be ported to other platforms. Wouldn't it generally be a good idea to
make glibc as portable/platform-independent as is reasonable?
-- David
>
> - --
> â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkhSf0kACgkQ2ijCOnn/RHSr5wCgnX6Q2nIJtsmMUu+f1Jnn8246
> 8TkAnikXNGbTIWFBqKQgitCzDcm6I84A
> =DWTr
> -----END PGP SIGNATURE-----
>
>