This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Definition of __USE_MISC?


On 17/10/17 14:01, Florian Weimer wrote:

Would it be possible to change the guard in glibc to __USE_MISC?

Yes, it should be a simple change.  I was worried about the long long part initially, but we have precedent for using long long under __USE_MISC (strtouq in <stdlib.h>).

Patch attached.

What are the opinions with respect to this patch? The ffsl() and ffsll() are BSD visible in FreeBSD,  DragonFlyBSD, some Mac OS X and musl. They are not available in OpenBSD and NetBSD.

Unless there are objects, I'm going to check this in later this week.

I think there were no objections.

Which documentation parts need an update? Only the man page in

https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/man3/ffs.3

?

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]