Hi, after a fix of wrong ERRNOR usage in ftpfs.c (2006-01-24 ftpfs.c (ftpfs_dir_load): Fix a bad ERRNOR call), mc segfaults when I try uploading directories recursively. Changing the return value from -1 to 0 seems to fix the problem.
Regards, -- Jindrich Makovicka
Index: ftpfs.c =================================================================== RCS file: /sources/mc/mc/vfs/ftpfs.c,v retrieving revision 1.186 diff -u -r1.186 ftpfs.c --- ftpfs.c 25 Jan 2006 14:04:27 -0000 1.186 +++ ftpfs.c 1 Feb 2006 22:50:23 -0000 @@ -1317,7 +1317,7 @@ goto again; } print_vfs_message (_("ftpfs: failed; nowhere to fallback to")); - ERRNOR (EACCES, -1); + ERRNOR (EACCES, 0); } static int
_______________________________________________ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel