[LTP] [PATCH 07/31] tlibio.c: Remove UCLINUX

Petr Vorel pvorel@suse.cz
Thu Apr 11 22:46:31 CEST 2024


Hi Cyril,

> Hi!
> > +#ifndef __UCLIBC__

> The UCLIBC should be removed as well, since that was libc for uCLinux.

IMHO you are wrong here. IMHO uCLinux-ng [1], still used libc (used in Buildroot
and openembedded). And log in e5e938f4b7 (2009) suggests that it's about libc.
But the question is whether it's still needed. I could try to remove these and
test, but as a separate effort.

We have few of them:

$ git grep -l  __UCLIBC__
include/old/tlibio.h
lib/tlibio.c
testcases/kernel/syscalls/fmtmsg/fmtmsg01.c
utils/benchmark/ebizzy-0.3/ebizzy.h

Kind regards,
Petr

[1] https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/include/features.h#n185


More information about the ltp mailing list