* dcrt0.cc (multiple_cygwin_problem): Reorganize error message to not always
talk about a "version" when it's not a version. (dll_crt0_0): Change info passed to multiple_cygwin_problem to be a little more precise. * shared.cc (user_shared_initialize): Ditto. (shared_info::initialize): Ditto.
This commit is contained in:
@ -185,9 +185,9 @@ user_shared_initialize (bool reinit)
|
||||
user_shared->delqueue.init ();
|
||||
}
|
||||
else if (user_shared->version != USER_VERSION_MAGIC)
|
||||
multiple_cygwin_problem ("user", user_shared->version, USER_VERSION_MAGIC);
|
||||
multiple_cygwin_problem ("user shared memory version", user_shared->version, USER_VERSION_MAGIC);
|
||||
else if (user_shared->cb != sizeof (*user_shared))
|
||||
multiple_cygwin_problem ("user shared size", user_shared->cb, sizeof (*user_shared));
|
||||
multiple_cygwin_problem ("user shared memory size", user_shared->cb, sizeof (*user_shared));
|
||||
}
|
||||
|
||||
void
|
||||
@ -203,7 +203,7 @@ shared_info::initialize ()
|
||||
{
|
||||
if (version != SHARED_VERSION_MAGIC)
|
||||
{
|
||||
multiple_cygwin_problem ("shared", version, SHARED_VERSION_MAGIC);
|
||||
multiple_cygwin_problem ("system shared memory version", version, SHARED_VERSION_MAGIC);
|
||||
InterlockedExchange ((LONG *) &version, sversion);
|
||||
}
|
||||
while (!cb)
|
||||
|
Reference in New Issue
Block a user