diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-10-08 15:08:59 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-10-09 12:01:25 +0100 |
commit | ea22fb3aa1c5dd3edcd1d8b415a0843a9ee4677c (patch) | |
tree | 9efccb682f057d03c3873360a354fd935a30a0b1 /meta/recipes-devtools/pseudo/files/pathfix.patch | |
parent | 016ee90e210c9b15b80e8370d83f41a14867a413 (diff) | |
download | openembedded-core-contrib-ea22fb3aa1c5dd3edcd1d8b415a0843a9ee4677c.tar.gz |
pseudo: Update to account for patches merged on branch
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/pseudo/files/pathfix.patch')
-rw-r--r-- | meta/recipes-devtools/pseudo/files/pathfix.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/meta/recipes-devtools/pseudo/files/pathfix.patch b/meta/recipes-devtools/pseudo/files/pathfix.patch deleted file mode 100644 index b3e63fa28f..0000000000 --- a/meta/recipes-devtools/pseudo/files/pathfix.patch +++ /dev/null @@ -1,25 +0,0 @@ -We're seeing systems in the wild (e.g. ubuntu 20.04) which call -with a dirfd set to the full filename and path set to "". Since -this seems to be expected to work, handle it accordingly. - -Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> -Upstream-Status: Pending - -Index: git/pseudo_client.c -=================================================================== ---- git.orig/pseudo_client.c -+++ git/pseudo_client.c -@@ -1549,8 +1549,12 @@ base_path(int dirfd, const char *path, i - - if (!path) - return NULL; -- if (!*path) -+ -+ if (!*path) { -+ if (dirfd != -1 && dirfd != AT_FDCWD) -+ return fd_path(dirfd); - return ""; -+ } - - if (path[0] != '/') { - if (dirfd != -1 && dirfd != AT_FDCWD) { |