[ksh93-integration-discuss] Patch to remove some gloval vars in libcmd...

2006-10-30 Thread casper....@sun.com
>With Solaris, is there a way to specify the set of symbols that you want >to be visible from the library or are all symbols that need to be >shared between modules within the library visible no matter what? Yes; this is done through linker mapfiles. For a (not that) typical example see usr/src

[ksh93-integration-discuss] Patch to remove some gloval vars in libcmd...

2006-10-30 Thread casper....@sun.com
>On 10/30/06, Roland Mainz wrote: >> Attached is a small patch ("ksh93_libcmd_killglobalvars001.diff.txt") >> for ast-ksh.2006-09-12 which significantly reduces the size of the >> global variables in libcmd >Why do you think the global variable size needs to be reduced? Is >there anything especia

[ksh93-integration-discuss] Patch to remove some gloval vars in libcmd...

2006-10-30 Thread Josh Hurst
On 10/30/06, Roland Mainz wrote: > Attached is a small patch ("ksh93_libcmd_killglobalvars001.diff.txt") > for ast-ksh.2006-09-12 which significantly reduces the size of the > global variables in libcmd Why do you think the global variable size needs to be reduced? Is there anything especially bad

[ksh93-integration-discuss] Patch to remove some gloval vars in libcmd...

2006-10-30 Thread David Korn
Subject: Re: Re: [ksh93-integration-discuss] Patch to remove some gloval vars in libcmd... > But there's a bigger issue: any variable in a program > will be mapped to the libcmd variable of the same name, so > in essence libcmd steals a large chunk of user namespace a

[ksh93-integration-discuss] Patch to remove some gloval vars in libcmd...

2006-10-30 Thread Glenn Fowler
On Mon, 30 Oct 2006 19:46:45 +0100 Casper.Dik at Sun.COM wrote: > >On 10/30/06, Roland Mainz wrote: > >> Attached is a small patch ("ksh93_libcmd_killglobalvars001.diff.txt") > >> for ast-ksh.2006-09-12 which significantly reduces the size of the > >> global variables in libcmd > >Why do you thin

[ksh93-integration-discuss] Patch to remove some gloval vars in libcmd...

2006-10-30 Thread Roland Mainz
Hi! Attached is a small patch ("ksh93_libcmd_killglobalvars001.diff.txt") for ast-ksh.2006-09-12 which significantly reduces the size of the global variables in libcmd - there are still some |static| buffers and "cp.c" causes headaches since I don't know how I can pass a pointer to the chi