delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/10/16:37:56

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3BC4B006.9CF8E671@rowman.com>
Date: Wed, 10 Oct 2001 16:31:02 -0400
From: John Peacock <jpeacock AT rowman DOT com>
MIME-Version: 1.0
To: Kris Erickson <kris AT mha DOT ca>
CC: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: Perl 5.7.2 (GDB breaks in 1.3.3-2 on certain Win2000 machines)
References: <30BDEE18E474D511BB0A00D0B7BB87AF092953 AT camel DOT mha DOT ca>

Kris Erickson wrote:
> 
> Ok, compiled it from the complete 1.3.4 version in CVS...
> 
> It is on the second call to NetUserGetInfo that the signal fails...
> 
> 88                strcat (strcpy (buf, "\\\\"), user.logsrv ());
> (gdb)
> 89                sys_mbstowcs (wlogsrv, buf,
> INTERNET_MAX_HOST_NAME_LENGTH + 3);
> (gdb)
> 90                ui = NULL;
> (gdb)
> 91                if (NetUserGetInfo (wlogsrv, wuser, 3,(LPBYTE *) &ui))

OK, we need to know what wlogsrv contains.  It should be a Unicode 
representation of the PDC/BDC that you are logged in via.  I'll bet it
isn't.  You can check it at line 89 in the buf variable.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019