[PATCH] Re: proxy setup help
Robert Collins
rbcollins@cygwin.com
Fri Mar 7 20:17:00 GMT 2003
On Sat, 2003-03-08 at 02:24, Max Bowsher wrote:
> vijay kiran kamuju wrote:
> > i am trying to setup cygwin. i am behind a firewall n it also
> > uses
> > a proxy server. my proxy server id has no password, and i dont
> > have the permission to change it. the setup program asks me to
> > enter the proxy server id n its passwd, it does not take a null
> > passwd.
> > plz hlp me.
>
> This is a bug in setup. I'm submitting a patch to fix it.
>
>
> Robert: Can we fast-track this patch, and a subsequent snapshot, since it's
> stopping someone installing Cygwin at all?
Of course we can fast track it. You've taken the hard route to solving
it though.
in net-io.cc (hand crafted :}):
static void
save_dialog (HWND h)
{
*user = eget (h, IDC_NET_USER, *user);
*passwd = eget (h, IDC_NET_PASSWD, *passwd);
+ if (! *passwd) {
+ *passwd = new char[1];
+ char[0] = '\0';
+ }
}
Should do it.
Rob :}.
--
GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20030307/36ced4ac/attachment.sig>
More information about the Cygwin-apps
mailing list