[PATCH] Use the _unlocked stdio macros only when they're all available

Dan Fandrich dan at coneharvesters.com
Thu Jun 30 00:45:52 UTC 2011


On Thu, Jun 30, 2011 at 02:04:04AM +0200, Denys Vlasenko wrote:
> Do you use such an old glibc?

No, but I didn't want to break it since this section is already there.
Perhaps it should be removed altogether since gcc from that vintage won't
compile Busybox anymore.

> Is it __WATCOMC__ block? Watcom doesn't have unlocked stuff?
> All of it? At least unlocked getc/putc should be available...

OpenWatcom 1.9 provides no _unlocked functions at all.

> Same questions for Android...

Android provides getc_, getchar_, putc_ and putchar_unlocked, but not the
others. And it's all or nothing right now.

>>> Dan


More information about the busybox mailing list