pkgsrc/filesystems/fuse-curlftpfs/patches/patch-ftpfs.h
nia 08b5517a20 fuse-curlftpfs: Update to 0.9.2
- new helper function cancel_previous_multi() which checks for errors.
- patch by Miklos Szeredi: fixes 'du' for files >= 4GB.
- remove buffered writes completely and handle O_RDWR
- Fix "hang" when curl_easy_perform(fh->write_conn) in the write thread fails; Detect write errors in the write thread; Synchronize writing with the new semaphore "data_written" to be able to report write errors earlier; Fix that ftpfs_truncate created empty files with no permissions set (caused problems with gedit and others)
- Patch from Miklos Szeredi to support streaming writes (includes changes from Robson Braga Araujo)
- Added option to use a custom command to list files.
- Add ftp_method option to make it faster to browse directories.
- Fix broken header dependencies.
- Put the FTP server name in fsname by default. Upgraded FUSE_USE_VERSION to 26.
- Disable EPSV by default because it can cause the program to hang.
2020-04-21 13:56:25 +00:00

15 lines
321 B
C

$NetBSD: patch-ftpfs.h,v 1.1 2020/04/21 13:56:26 nia Exp $
Include limits.h for PATH_MAX.
--- ftpfs.h.orig 2008-04-25 10:32:30.000000000 +0000
+++ ftpfs.h
@@ -12,7 +12,7 @@
#include <curl/curl.h>
#include <curl/easy.h>
#include <pthread.h>
-#include <pthread.h>
+#include <limits.h>
struct ftpfs {
char* host;