[ksh93-integration-discuss] Patch to remove some gloval vars inlibcmd...
Casper.Dik at Sun.COM
Casper.Dik at Sun.COM
Tue Oct 31 00:55:48 PST 2006
>Uhm... why ? These global variables are |static| and therefore visible
>only in the source file where they're defined it. And in the case of our
>Solaris integration we use "mapfile-vers" which limites the exported
>symbols to exactly those listed in this file.
Sorry, I had interpreted "global" as "library global" and not
just file global.
Ok, so here's the price you pay for static variables: each application
pulls in all the data and it will likely cost more memory (each instance
of the library gets its own private copy)
Casper
More information about the ksh93-integration-discuss
mailing list