Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 211060 Details for
Bug 294421
app-misc/mc-4.7.0_pre4 FTPFS does not work in active mode
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
FTPFS active mode fix
mc-4.7.0_pre4-ftpfs_active.patch (text/plain), 565 bytes, created by
Balint SZENTE
on 2009-11-24 14:21:55 UTC
(
hide
)
Description:
FTPFS active mode fix
Filename:
MIME Type:
Creator:
Balint SZENTE
Created:
2009-11-24 14:21:55 UTC
Size:
565 bytes
patch
obsolete
>diff -ur mc-4.7.0-pre4.orig/vfs/ftpfs.c mc-4.7.0-pre4/vfs/ftpfs.c >--- mc-4.7.0-pre4.orig/vfs/ftpfs.c 2009-11-24 15:47:57.000000000 +0200 >+++ mc-4.7.0-pre4/vfs/ftpfs.c 2009-11-24 15:48:25.000000000 +0200 >@@ -981,7 +981,7 @@ > memset (&data_addr, 0, sizeof (struct sockaddr_storage)); > data_addrlen = sizeof (struct sockaddr_storage); > >- if (getpeername (SUP.sock, (struct sockaddr *) &data_addr, &data_addrlen) == -1) >+ if (getsockname (SUP.sock, (struct sockaddr *) &data_addr, &data_addrlen) == -1) > return -1; > > switch (data_addr.ss_family) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 294421
: 211060 |
211062