From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1125fa,9f5c1c8d844fc69e X-Google-Attributes: gid1125fa,public X-Google-Thread: 1025b4,9f5c1c8d844fc69e X-Google-Attributes: gid1025b4,public X-Google-Thread: 111c93,9f5c1c8d844fc69e X-Google-Attributes: gid111c93,public X-Google-Thread: 10d0a1,9f5c1c8d844fc69e X-Google-Attributes: gid10d0a1,public X-Google-Thread: fcfb9,9f5c1c8d844fc69e X-Google-Attributes: gidfcfb9,public From: peltz@medusa.nn.com (Steve Peltz) Subject: Re: DLL mess Re: "No-one gets fired for buying Microsoft" Date: 1999/09/17 Message-ID: <7rufhc$epa$1@harbinger.nn.com>#1/1 X-Deja-AN: 526508579 References: <37D81FE1.E90C3B1F@winkinc.com> <7rjl08$efp$1@ben.hks.net> <7rmm2q$vcc$1@harbinger.nn.com> Organization: NovaNET Newsgroups: comp.os.linux.alpha,comp.os.linux.advocacy,comp.os.ms-windows.advocacy,comp.os.ms-windows.nt.advocacy,gnu.misc.discuss In article , wrote: >This is not the case, the most common changes that result >in patchlevel number changes are bugfixes. You are suggesting >that the desired behavior is to keep the fixed bugs by default. >If 100% bug-for-bug compatibility is what is desired you >are better off not using dynamic libraries at all. No - if you remove the old library, then everything loads the newer version. If you leave the old library, then old programs continue to load the old library. So you leave the old library if the new one causes problems for old programs, delete the old library if the new one fixes bugs you want fixed for old programs. If you need finer tuning than that, put the libraries in different directories and play games with LDPATH. A better solution would be to have have something that will change the name of a library that something dynamically links with. An even better solution would be to have library substitution configuration files that would match a specific executable by either path or name (with a hierarchy of defaults based on path). This would simply substitute the name of the library, which would still be found the usual way (although the substituted name might be an absolute path, of course, just as an soname can already specify).