diff options
author | Andrei Gherzan <andrei.gherzan@huawei.com> | 2021-02-23 22:16:37 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-03-03 19:55:28 -0800 |
commit | dad2aef6be76564103952e0ad78a7d666b49f72e (patch) | |
tree | ef83abe77cb7897f551d360275fe1c81372a74c4 /meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch | |
parent | 5593fac20fed30069baf369aba71dbfd355e08a7 (diff) | |
download | meta-openembedded-dad2aef6be76564103952e0ad78a7d666b49f72e.tar.gz |
nss: Fix warnings generated by getcwd
getcwd() conforms to POSIX.1-2001 which leaves the behaviour when the
buf argument is NULL, undefined. This makes gcc 10+ throw the following
warning:
argument 1 is null but the corresponding size argument 2 value is 4096
Initially, this was fixed by disabling NSS_ENABLE_WERROR. This patch
re-enables NSS_ENABLE_WERROR (by leaving it to its default value) and
takes advantage of the existing functionality in nss that wraps the
getcwd call into a function making sure that the buf argument is always
properly allocated.
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch')
0 files changed, 0 insertions, 0 deletions