[PATCH] Style guide: add "Required_argument" example to applet_longopts

2022-02-08 Thread Jody Bruchon
From 48532ee17f752a9bbf4dbf6cb1d7662004c41756 Mon Sep 17 00:00:00 2001 From: Jody Bruchon Date: Wed, 31 Mar 2021 11:30:31 -0400 Subject: [PATCH] Style guide: add "Required_argument" example to applet_longopts Signed-off-by: Jody Bruchon --- docs/style-guide.txt | 5 +++-- 1 file changed, 3

[PATCH] ed: don't use memcpy with overlapping memory regions

2022-02-08 Thread soeren
From: Sören Tempel The memcpy invocations in the subCommand function, modified by this commit, previously used memcpy with overlapping memory regions. This is undefined behavior. On Alpine Linux, it causes BusyBox ed to crash since we compile BusyBox with -D_FORTIFY_SOURCE=2 and our