AT_* flags

David Bartley dtbartle@csclub.uwaterloo.ca
Fri Jun 13 18:11:00 GMT 2008


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


More information about the Libc-alpha mailing list