Re: Cygwin backwards compatibility break with WinMain and GetCommandLine (was Re: WinMain() not getting cl...)

2006-04-20 Thread Christopher Faylor
Just to close the loop on this subject: Corinna more or less convinced me that breaking backwards compatibility isn't a good idea at this time. So, I've introduced the previously-mentioned kludge into cygwin sources. So, recent snapshots have reverted to the slow method for filling out command

Re: Cygwin backwards compatibility break with WinMain and GetCommandLine (was Re: WinMain() not getting cl...)

2006-04-11 Thread Chris Sutcliffe
Just a thought Since this could potentially cause some misunderstanding, what about bumping the Cygwin DLL version number to 1.6.0? That way there could be some sort of statement to the affect that apps requiring these functions should be relinked with 1.6.0 when it's released. It's

Re: Cygwin backwards compatibility break with WinMain and GetCommandLine (was Re: WinMain() not getting cl...)

2006-04-10 Thread Igor Peshansky
On Sun, 9 Apr 2006, Christopher Faylor wrote: On Tue, Apr 04, 2006 at 11:44:47AM -0700, David Rothenberger wrote: WinMain() in a program compiled with cygwin1.dll is no longer getting passed the command-line from bash correctly with the 20060403 snapshot. It works fine with the 20060329

Re: Cygwin backwards compatibility break with WinMain and GetCommandLine (was Re: WinMain() not getting cl...)

2006-04-10 Thread Christopher Faylor
On Mon, Apr 10, 2006 at 09:48:10AM -0400, Igor Peshansky wrote: On Sun, 9 Apr 2006, Christopher Faylor wrote: On Tue, Apr 04, 2006 at 11:44:47AM -0700, David Rothenberger wrote: WinMain() in a program compiled with cygwin1.dll is no longer getting passed the command-line from bash correctly

Re: Cygwin backwards compatibility break with WinMain and GetCommandLine (was Re: WinMain() not getting cl...)

2006-04-10 Thread Igor Peshansky
On Mon, 10 Apr 2006, Christopher Faylor wrote: On Mon, Apr 10, 2006 at 09:48:10AM -0400, Igor Peshansky wrote: On Sun, 9 Apr 2006, Christopher Faylor wrote: On Tue, Apr 04, 2006 at 11:44:47AM -0700, David Rothenberger wrote: WinMain() in a program compiled with cygwin1.dll is no longer

Re: Cygwin backwards compatibility break with WinMain and GetCommandLine (was Re: WinMain() not getting cl...)

2006-04-10 Thread Brian Dessent
Igor Peshansky wrote: If GetCommandLine lives in libcygwin.a, then programs linked on older versions of Cygwin will not link that function in, and thus won't work with the new DLL. Programs linking with the new version of Cygwin will have that function, but due to API changes, may not work

Re: Cygwin backwards compatibility break with WinMain and GetCommandLine (was Re: WinMain() not getting cl...)

2006-04-10 Thread Igor Peshansky
On Mon, 10 Apr 2006, Brian Dessent wrote: Igor Peshansky wrote: If GetCommandLine lives in libcygwin.a, then programs linked on older versions of Cygwin will not link that function in, and thus won't work with the new DLL. Programs linking with the new version of Cygwin will have that

Re: Cygwin backwards compatibility break with WinMain and GetCommandLine (was Re: WinMain() not getting cl...)

2006-04-10 Thread Christopher Faylor
On Mon, Apr 10, 2006 at 02:52:04PM -0400, Igor Peshansky wrote: On Mon, 10 Apr 2006, Brian Dessent wrote: Igor Peshansky wrote: If GetCommandLine lives in libcygwin.a, then programs linked on older versions of Cygwin will not link that function in, and thus won't work with the new DLL. Programs

Re: Cygwin backwards compatibility break with WinMain and GetCommandLine (was Re: WinMain() not getting cl...)

2006-04-10 Thread Igor Peshansky
On Tue, 11 Apr 2006, Christopher Faylor wrote: On Mon, Apr 10, 2006 at 02:52:04PM -0400, Igor Peshansky wrote: On Mon, 10 Apr 2006, Brian Dessent wrote: Igor Peshansky wrote: If GetCommandLine lives in libcygwin.a, then programs linked on older versions of Cygwin will not link that function

Re: Cygwin backwards compatibility break with WinMain and GetCommandLine (was Re: WinMain() not getting cl...)

2006-04-10 Thread Christopher Faylor
On Mon, Apr 10, 2006 at 03:55:02PM -0400, Igor Peshansky wrote: On Tue, 11 Apr 2006, Christopher Faylor wrote: On Mon, Apr 10, 2006 at 02:52:04PM -0400, Igor Peshansky wrote: On Mon, 10 Apr 2006, Brian Dessent wrote: Igor Peshansky wrote: If GetCommandLine lives in libcygwin.a, then programs

Cygwin backwards compatibility break with WinMain and GetCommandLine (was Re: WinMain() not getting cl...)

2006-04-09 Thread Christopher Faylor
On Tue, Apr 04, 2006 at 11:44:47AM -0700, David Rothenberger wrote: WinMain() in a program compiled with cygwin1.dll is no longer getting passed the command-line from bash correctly with the 20060403 snapshot. It works fine with the 20060329 snapshot. This is the same problem mentioned in