Bug 7005 - mc hang downloading from wu-ftp-2.6.0-1
Summary: mc hang downloading from wu-ftp-2.6.0-1
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: mc   
(Show other bugs)
Version: 6.1
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-11-15 05:18 UTC by Gabriel Gaxiola
Modified: 2013-04-02 04:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-02-03 18:46:17 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Gabriel Gaxiola 1999-11-15 05:18:56 UTC
The new wu-ftp update makes mc hang....
mc has been fixed for virtual file systems ftp's.....
But you didn't publish the update as rpm binary
Gabriel

Comment 1 Rafal Podeszwa 1999-11-16 16:07:59 UTC
You may use the following patch taken from mc-4.5.41.

------BEGIN-PATCH
--- mc-4.5.39-pre9/vfs/ftpfs.c.orig     Wed Sep 22 21:18:51 1999
+++ mc-4.5.39-pre9/vfs/ftpfs.c  Tue Nov 16 16:31:14 1999
@@ -1644,12 +1644,13 @@
            linear_abort(fe);

     if (!n) {
+       close (fe->data_sock);
+       fe->data_sock = -1;
+
         if ((get_reply (qsock (fe->bucket), NULL, 0) != COMPLETE)) {
            my_errno = EIO;
            n=-1;
        }
-       close (fe->data_sock);
-       fe->data_sock = -1;
     }
     ERRNOR (errno, n);
 }
---END-PATCH


Note You need to log in before you can comment on or make changes to this bug.