[PATCH] Use the _unlocked stdio macros only when they're all available
Denys Vlasenko
vda.linux at googlemail.com
Thu Jun 30 01:00:15 UTC 2011
On Thursday 30 June 2011 02:45, Dan Fandrich wrote:
> 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.
So be it.
> > 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.
Ok, I applied your patch with some edits. Pleas try current git.
--
vda
More information about the busybox
mailing list