[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 0/2] Remove locking.sh dependency on perl
Perl is a large dependency for locking.sh's single use of comparing a file descriptor's and a file's inodes. Many systems don't otherwise require perl, so dropping this use eliminates the dependency. Replace the open-coded perl with an equivalent C implementation. Jason Andryuk (2): tools/helpers: Introduce cmp-fd-file-inode utility Linux/locking.sh: Use cmp-fd-file-inode for lock check .gitignore | 1 + tools/helpers/Makefile | 3 +++ tools/helpers/cmp-fd-file-inode.c | 43 +++++++++++++++++++++++++++++++ tools/hotplug/Linux/locking.sh | 10 ++----- 4 files changed, 49 insertions(+), 8 deletions(-) create mode 100644 tools/helpers/cmp-fd-file-inode.c -- 2.24.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |