This is the mail archive of the cygwin 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: please try latest snapshot


I'm having a problem with the 20050908 snapshot. I have been using
my own compiled version of XEmacs 21.4 for some time and I
frequently use the DDE client winclient. I noticed that this client
started core dumping with recent snapshots.

I did some investigation and found that winclient uses WinMain as
it's entry point. With the latest snapshot, WinMain isn't getting a
valid command-line, while it works just fine with the 20050828
snapshot.

A simple test case (winCmdLine.c) is attached.

With the 20050828 snapshot, I get:

% uname -a
CYGWIN_NT-5.1 tela 1.5.19s(0.138/4/2) 20050828 19:27:12 i686 unknown unknown Cygwin
% gcc -Wall -o winCmdLine winCmdLine.c
% ./winCmdLine arg1 arg2
 arg1 arg2

With the 20050908 snapshot, I get:

% uname -a
CYGWIN_NT-5.1 tela 1.5.19s(0.138/4/2) 20050908 23:01:39 i686 unknown unknown Cygwin
% gcc -Wall -o winCmdLine winCmdLine.c
% ./winCmdLine arg1 arg2
"

-- 
David Rothenberger                spammer? -> spam@daveroth.dyndns.org
GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734 

I base my fashion taste on what doesn't itch.
		-- Gilda Radner
#include <windows.h>
#include <stdio.h>

int WINAPI
WinMain (HINSTANCE hInst,
	 HINSTANCE hPrev,
	 LPSTR     lpCmdLine,
	 int       nCmdShow)
{
  printf("%s\n", (const char*) lpCmdLine);
  return 0;
}

Attachment: cygcheck.out
Description: Text document

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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