Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!tektronix!tekecs!orca!andrew From: andrew@orca.UUCP (Andrew Klossner) Newsgroups: net.unix-wizards Subject: another argument against shared libraries Message-ID: <47@orca.UUCP> Date: Wed, 10-Aug-83 19:24:54 EDT Article-I.D.: orca.47 Posted: Wed Aug 10 19:24:54 1983 Date-Received: Thu, 11-Aug-83 13:27:30 EDT References: sri-arpa.3936 Lines: 15 Consider a program written for a 16-bit machine which uses printf("%X",(long)a) to print a long. This program might live into an era in which printf is redesigned so that the correct arguments become printf("%lx",(long)a), because "%X" has come to mean that upper case letters are to be used in the hexadecimal numeral. If this program had been constructed to use shared libraries, dynamically loaded at runtime, then it would seem to "break", despite the lack of changes to it. This is not a case of exploiting a library bug. What has happened is that the library has evolved and the program has remained static. -- Andrew Klossner (decvax!tektronix!tekecs!andrew) [UUCP] (andrew.tektronix@rand-relay) [ARPA]