summaryrefslogtreecommitdiff
path: root/sysutils/fusefs-curlftpfs/files/patch-path__utils.c
diff options
context:
space:
mode:
authorRodrigo Osorio <rodrigo@FreeBSD.org>2024-11-01 14:24:13 +0100
committerRodrigo Osorio <rodrigo@FreeBSD.org>2024-11-01 15:14:38 +0100
commit049f13bc6a60bd458d82a1aedebdcc4ebbaf1436 (patch)
treed17d6b74a78a0fceceda1883225c1ecf57fa9e34 /sysutils/fusefs-curlftpfs/files/patch-path__utils.c
parentmisc/R-cran-xfun: Update to 0.49 (diff)
sysutils/fusefs-curlftpfs: Add debian patches
Update curlftpfs code by integration additional debian patches who provide multiple fixes. Major changes: * fix-CURLOPT_INFILESIZE : Fix an unsupported curl value (-1) for CURLOPT_INFILESIZE option. * free_ftpfs_file-memleak-fix: Fix a memory leak. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587250 * nocache-memleak-fix : Fix a memory leak when cache is disabled. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614347 * curlftpfs__no_verify_hostname : Fix no_verify_hostname option with recent versions of curl * consistent feature flag : ensure consistent use of _XOPEN_SOURCE * getpass prototype : add getpass() prototype * Fix a typo in one of our patches who does an urlencode of paths. Bump portrevision PR: 282358 Reported by: diizzy
Diffstat (limited to 'sysutils/fusefs-curlftpfs/files/patch-path__utils.c')
-rw-r--r--sysutils/fusefs-curlftpfs/files/patch-path__utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/fusefs-curlftpfs/files/patch-path__utils.c b/sysutils/fusefs-curlftpfs/files/patch-path__utils.c
index 9ce6c500dbab..7855c90e7043 100644
--- a/sysutils/fusefs-curlftpfs/files/patch-path__utils.c
+++ b/sysutils/fusefs-curlftpfs/files/patch-path__utils.c
@@ -12,7 +12,7 @@
+static inline int is_unreserved_rfc3986(char c)
+{
+ int is_locase_alpha = (c >= 'a' && c <= 'z');
-+ int is_upcase_alpha = (c >= 'a' && c <= 'z');
++ int is_upcase_alpha = (c >= 'A' && c <= 'Z');
+ int is_digit = (c >= '0' && c <= '9');
+ int is_special = c == '-'
+ || c == '.'