Re: [RFE][PATCH] Allow cd smb://, cd sh://, cd mc:// vfs requests
- From: Roland Illig <roland illig gmx de>
- To: Jindrich Novy <jnovy redhat com>
- Cc: MC Devel <mc-devel gnome org>
- Subject: Re: [RFE][PATCH] Allow cd smb://, cd sh://, cd mc:// vfs requests
- Date: Sat, 12 Feb 2005 15:37:24 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]