[RFE][PATCH] Allow cd smb://, cd sh://, cd mc:// vfs requests
Roland Illig
roland.illig at gmx.de
Sat Feb 12 14:37:24 UTC 2005
Jindrich Novy wrote:
> +} url_table[] = { {"ftp://", 6, "/#ftp:"},
> + {"mc://", 5, "/#mc:"},
> + {"smb://", 6, "/#smb:"},
> + {"sh://", 5, "/#sh:"},
Here I added {"ssh://", 6, "/#sh:"},
> + {"a:", 2, "/#a"}
> +};
> +
> char *
> vfs_translate_url (const char *url)
> {
> + int i;
I changed this to size_t i.
> } prefixes[] = { {"/#ftp:", 6},
> - {"/#mc:", 5},
> {"ftp://", 6},
> + {"/#mc:", 5},
> + {"mc://", 5},
> {"/#smb:", 6},
> - {"/#sh:", 5}
> + {"smb://", 6},
> + {"/#sh:", 5},
> + {"sh://", 5}
I added "ssh://" here as well.
> };
> char *at, *inner_colon, *dir;
> size_t i;
And finally committed the changed patch.
Roland
More information about the mc-devel
mailing list