Patch: implement clock_nanosleep

Bernd Schmidt bernds at codesourcery.com
Mon Feb 21 17:48:19 UTC 2011


On 02/19/2011 07:42 PM, Bernhard Reutner-Fischer wrote:

> Missing signed-off-by. Other than that the Makefile part will not
> apply anymore, I think.

Ow. I made a complete mess of these patch submissions; I forgot about
the switch to git and worked in an old svn repository. Sorry :-(

Here's a new version of the two patches. The __libc_ffs functions are
now declared in string.h. I've had another look at the clock_nanosleep
implementation and saw no reason for the use of __libc_clock_nanosleep,
so I've changed the implementation to look like e.g. capget (define the
syscall if it's available, otherwise provide a function that sets errno
to ENOSYS). Nathan, any input on why you chose to do it that way?

Ok to check in this version?
Signed-off-by: Bernd Schmidt <bernds at codesourcery.com>


Bernd
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: uc-patches.diff
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20110221/1bba954b/attachment.diff>


More information about the uClibc mailing list