This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: AT_* flags
On Fri, 2008-06-13 at 13:45 -0700, Jeff Bailey wrote:
> On Fri, Jun 13, 2008 at 9:34 AM, David Bartley
> <dtbartle@csclub.uwaterloo.ca> wrote:
> > On Fri, Jun 13, 2008 at 10:08 AM, Ulrich Drepper <drepper@redhat.com> wrote:
> >> 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?
>
> I'm pretty certain I'm the last person who touched the Solaris port of
> glibc, and that wasn't in this millennium. Let whichever porter picks
> it up next deal with it.
I imagine David is talking about the more general portability of Glibc
as a whole, not specifically it's portability to Solaris. This is a
concern of mine, as I maintain the out-of-tree port of Glibc for
Syllable, although the specific issue raised here isn't one of great
concern to me personally.
--
Vanders
http://www.syllable.org