This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Re: proxy setup help


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>.

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]