This is the mail archive of the cygwin-patches 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: PATCH: avoid system shared memory version mismatch detected by versioning shared memory name


Noel Burton-Krahn wrote:

> The problem is there are several installable apps built on Cygwin,
> like EAC, ClamAV, and one I just found which is a
> Cygwin-on-a-thumbdrive.  The problem is they can't all coexist because
> they're distributed with different versions of the cygwin dlls.
> Making them work with the current cygwin means hand-copying cygwin
> dlls into application directories, and repeating that every time you
> upgrade. People used to give Windows a hard time for DLL hell!  I
> don't see the benefit of forcing users to hand-maintain cygwin dlls
> across multiple applications.

But we go to great pains to make the DLL binary backwards compatible
always.  So in this case all you have to do is maintain one copy in the
PATH and make sure it's the most recent, deleting all others.  This
should be a job for the installers of those 3PPs.

Besides, the shared memory region is only one of a whole bunch of IPC
objects that would need their own namespace if you wanted the true
ability to insulate two versions of Cygwin.  Fire up process explorer,
click on the handle search, and enter cygwin1S4 to get a rough list.  To
truly make this work you'd need to change shared_prefix.  And the
registry key for the mount table.  And probably other things too.

Brian


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