This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [COMMITTED PATCH] Add generic POSIX implementation of C11 timespec_get.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Tue, 23 Apr 2013 15:57:42 -0700 (PDT)
- Subject: Re: [COMMITTED PATCH] Add generic POSIX implementation of C11 timespec_get.
- References: <20130423223223 dot 64D7C2C066 at topped-with-meat dot com> <Pine dot LNX dot 4 dot 64 dot 1304232246460 dot 25437 at digraph dot polyomino dot org dot uk>
> On Tue, 23 Apr 2013, Roland McGrath wrote:
>
> > + if (clock_gettime (CLOCK_REALTIME, ts) < 0)
> > + return 0;
>
> Doesn't this need to use __clock_gettime, to be namespace-correct for
> static linking?
Yes. I don't know how I overlooked that. Fixed.
Thanks,
Roland