]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Aug 2020 07:25:08 +0000 (08:25 +0100)
commit6b3d109f42385ad1cf1f297a6c06ea7eb6509f26
treee4bd66db86ee5c47774b45c50420a0ffba8d9b34
parent36fe4db8ae827a93abe9fce6740459d215411965
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>
meta/recipes-devtools/pseudo/pseudo_git.bb