4.5.99a (mc-2002-04-26-03) .netrc patch
Andrew V. Samoilov
kai at cmail.ru
Wed May 8 06:50:45 UTC 2002
Hi, Thomas!
Can you add -p option to diff. It makes patches more readable.
> diff -ur mc-4.5.99a-orig/vfs/ftpfs.c mc-4.5.99a/vfs/ftpfs.c
> --- mc-4.5.99a-orig/vfs/ftpfs.c Wed May 1 14:17:55 2002
> +++ mc-4.5.99a/vfs/ftpfs.c Wed May 1 14:19:05 2002
> @@ -1973,8 +1973,12 @@
> rupp->host = g_strdup (host);
> rupp->login = rupp->pass = 0;
>
> - if (*login != NULL)
> + if (*login != NULL) {
> + if (!strncmp(*login, "*netrc*", 7))
Sorry, but I don't understand, why do you use strncmp instead of simple strcmp?
--
Regards,
Andrew V. Samoilov.
More information about the mc-devel
mailing list