summaryrefslogtreecommitdiff
path: root/pkg/fuse/patch/0006-Fix-sscanf-format-specifier.patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2024-03-21 23:29:18 -0700
committerMichael Forney <mforney@mforney.org>2024-03-21 23:29:18 -0700
commit594971b59caa1d75f0179de8d612375f410a7566 (patch)
treedd14cb80cc3c90a9019b0d9442a2dd8d6a02d9df /pkg/fuse/patch/0006-Fix-sscanf-format-specifier.patch
parent01eb93d6f752c2bb3815bb794572231651f105fa (diff)
Remove obsolete portability patches with C23 and new cproc
Diffstat (limited to 'pkg/fuse/patch/0006-Fix-sscanf-format-specifier.patch')
-rw-r--r--pkg/fuse/patch/0006-Fix-sscanf-format-specifier.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/pkg/fuse/patch/0006-Fix-sscanf-format-specifier.patch b/pkg/fuse/patch/0006-Fix-sscanf-format-specifier.patch
deleted file mode 100644
index a338ce72..00000000
--- a/pkg/fuse/patch/0006-Fix-sscanf-format-specifier.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From b556d59ad2ffa73e4baa4c8345210c70a255296a Mon Sep 17 00:00:00 2001
-From: Michael Forney <mforney@mforney.org>
-Date: Mon, 6 Sep 2021 23:26:54 -0700
-Subject: [PATCH] Fix sscanf format specifier
-
----
- lib/mount_util.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/mount_util.c b/lib/mount_util.c
-index 35e9948..85ab119 100644
---- a/lib/mount_util.c
-+++ b/lib/mount_util.c
-@@ -360,7 +360,7 @@ int fuse_mnt_parse_fuse_fd(const char *mountpoint)
- int fd = -1;
- int len = 0;
-
-- if (sscanf(mountpoint, "/dev/fd/%u%n", &fd, &len) == 1 &&
-+ if (sscanf(mountpoint, "/dev/fd/%d%n", &fd, &len) == 1 &&
- len == strlen(mountpoint)) {
- return fd;
- }
---
-2.32.0
-