[PATCH] udhcpd: Serve BOOTP clients

2023-05-28 Thread Adam Goldman
This patch makes udhcpd respond correctly to queries from BOOTP clients. It contains the following changes: The end field, or DHCP_END option, is required in DHCP requests but optional in BOOTP requests. Only complain about missing end fields if there are DHCP options in the packet. However,

Re: [PATCH] libbb: in xmalloc_fgetline, use getline if enabled

2023-05-28 Thread tito
On Sun, 28 May 2023 19:01:52 +0200 Elvira Khabirova wrote: > When xmalloc_fgetline was introduced, getline(3) was a GNU extension > and was not necessarily implemented in libcs. Since then, > it's become a part of POSIX.1-2008 and is now implemented in > glibc, uClibc-ng, and musl. > >

[PATCH] libbb: in xmalloc_fgetline, use getline if enabled

2023-05-28 Thread Elvira Khabirova
When xmalloc_fgetline was introduced, getline(3) was a GNU extension and was not necessarily implemented in libcs. Since then, it's become a part of POSIX.1-2008 and is now implemented in glibc, uClibc-ng, and musl. Previously, xmalloc_fgetline directly called bb_get_chunk_from_file. The issue