Bug 7005 - mc hang downloading from wu-ftp-2.6.0-1
mc hang downloading from wu-ftp-2.6.0-1
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: mc (Show other bugs)
6.1
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Jonathan Blandford
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-11-15 00:18 EST by Gabriel Gaxiola
Modified: 2013-04-02 00:13 EDT (History)
1 user (show)

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


Attachments (Terms of Use)

  None (edit)
Description Gabriel Gaxiola 1999-11-15 00:18:56 EST
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 11:07:59 EST
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.