04.11.2022 19:49, Michael Tokarev wrote:
From: Samuel Thibault
Some features are Linux-only.
And this is what's left from the patch by Samuel sent in October -
only the actual source changes. Maybe some bits could be done
in a more compact way, with less ifdeffery.
/mjt
Just a bit of context I failed to add.
I'm aware of the previous issues there,
http://lists.busybox.net/pipermail/busybox/2011-February/074954.html
was the reason it was changed from "depends on linux" to "select linux".
It was a wrong thing to do, instead, PLATFORM_LINUX should have been
made
From: Samuel Thibault
Some features are Linux-only.
Also, libresolv is used on all GNU platforms, notably GNU/Hurd and
GNU/kfreeBSD.
---
coreutils/dd.c | 20 ++--
networking/traceroute.c | 2 ++
2 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/coreutils/
This effectively reverts the following two commits:
commit e3b1a1fd28558f7a1b3c0ec33313bedb675be8a1
Author: Denys Vlasenko
Date: Sat Feb 26 22:24:08 2011 +0100
Replace "depends on PLATFORM_LINUX" with "select PLATFORM_LINUX"
and
commit 5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d
A
nslookup uses symbols from libresolv, no matter it is
on linux or not. This also eliminates hackish way to
detect linux.
---
Makefile.flags | 2 --
1 file changed, 2 deletions(-)
diff --git a/Makefile.flags b/Makefile.flags
index 84cb00a75..be0a3c4bb 100644
--- a/Makefile.flags
+++ b/Makefile.fla