* dcrt0.cc (check_sanity_and_sync): Correct api major version check so that
newer dlls will work with older apps but not vice versa.
This commit is contained in:
parent
759a097e72
commit
876083f32e
|
@ -1,3 +1,8 @@
|
|||
2003-11-22 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* dcrt0.cc (check_sanity_and_sync): Correct api major version check so
|
||||
that newer dlls will work with older apps but not vice versa.
|
||||
|
||||
2003-11-21 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* sem.cc: Always include signal.h to handle SIGSYS raise when
|
||||
|
|
|
@ -436,8 +436,8 @@ check_sanity_and_sync (per_process *p)
|
|||
p->magic_biscuit, SIZEOF_PER_PROCESS);
|
||||
|
||||
/* Complain if incompatible API changes made */
|
||||
if (p->api_major != cygwin_version.api_major)
|
||||
api_fatal ("cygwin DLL and APP are out of sync -- API version mismatch %d < %d",
|
||||
if (p->api_major > cygwin_version.api_major)
|
||||
api_fatal ("cygwin DLL and APP are out of sync -- API version mismatch %d > %d",
|
||||
p->api_major, cygwin_version.api_major);
|
||||
|
||||
if (CYGWIN_VERSION_DLL_MAKE_COMBINED (p->dll_major, p->dll_minor) <=
|
||||
|
|
Loading…
Reference in New Issue