]> code.ossystems Code Review - openembedded-core.git/commit
pseudo: fix renaming to self
authorJoe Slater <joe.slater@windriver.com>
Wed, 26 Aug 2020 18:58:57 +0000 (11:58 -0700)
committerSteve Sakoman <steve@sakoman.com>
Thu, 28 Jan 2021 14:41:47 +0000 (04:41 -1000)
commit771f8755db3a612c2c438367e8a49f190d4b9d8e
tree2e5a0c90f3906af57a9f8b9e212e187c88b5ef6e
parent7d35b29add0d0baf786c3f2382492b44f16b4dba
pseudo: fix renaming to self

Pseudo tests for an item being renamed to itself only after
information about it has been deleted.  Move the test to before
we change the database.

Note that pseudo does not support renameat2(), but neither does
glibc.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b3d109f42385ad1cf1f297a6c06ea7eb6509f26)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/pseudo/pseudo_git.bb