]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
systemd: Correct 0001-pass-correct-parameters-to-getdents64.patch
authorJiaqing Zhao <jiaqing.zhao@linux.intel.com>
Tue, 7 Jun 2022 02:49:23 +0000 (10:49 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 Jun 2022 20:52:09 +0000 (21:52 +0100)
commite9e43d7f7488c4da8598759c4882cceeda9d2095
treef5d3c236b6e1a584f45e25d74ebbd02bd586d2da
parent8f785f35c8a9cdc0107fbaa76b20df5199159ee0
systemd: Correct 0001-pass-correct-parameters-to-getdents64.patch

Current patch removes the uint8_t* cast in src/basic/recurse-dir.c:57
to fix musl build, but it changes the value here as pointer arithmetic
is type-depended in C. This patch corrects the behavior by adding an
extra cast to struct dirent*.

Also changes the patch's Upstream-Status to Inappropriate as it's musl-
specific.

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd/0001-pass-correct-parameters-to-getdents64.patch