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

Petr Vorel
2024-04-11T20:46:53Z

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