[patch?] recent ftpfs ERRNOR fix broke uploading
- From: Jindrich Makovicka <makovick kmlinux fjfi cvut cz>
- To: MC Devel <mc-devel gnome org>
- Subject: [patch?] recent ftpfs ERRNOR fix broke uploading
- Date: Wed, 01 Feb 2006 23:55:56 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]