Re: global variables in shared libraries

2004-01-21 Thread Paul Morgan
On Wed, 21 Jan 2004 14:13:07 +0100, martin f krafft wrote: > Hi there, > > Please excuse the OTness of this post. Since I am writing a library > to be included in Debian, I feel that I should not be slaughtered > for bothering you and hoping for your time and knowledge. > It wouldn't be OT if y

Re: Global variables

2002-06-06 Thread Nicos Gollan
On Thursday 06 June 2002 00:00, Carlos Sousa wrote: > On Wed, 5 Jun 2002 10:38:10 +0200 Nicos Gollan <[EMAIL PROTECTED]> > > OK, I don't know if this was already said, but I have to include > > > > if [ -f /etc/profile ]; then > > . /etc/profile > > fi > > Are you sure you need that? Are you usin

Re: Global variables

2002-06-05 Thread Carlos Sousa
On Wed, 5 Jun 2002 10:38:10 +0200 Nicos Gollan <[EMAIL PROTECTED]> wrote: > On Wednesday 05 June 2002 02:11, Carlos Sousa wrote: > > On Sat, 1 Jun 2002 00:09:42 -0500 dman <[EMAIL PROTECTED]> wrote: > > > ... > > > Yes -- the problem is the user's .profile doesn't source the > > > system one. It

Re: Global variables

2002-06-05 Thread Nicos Gollan
On Wednesday 05 June 2002 02:11, Carlos Sousa wrote: > On Sat, 1 Jun 2002 00:09:42 -0500 dman <[EMAIL PROTECTED]> wrote: > > ... > > Yes -- the problem is the user's .profile doesn't source the system > > one. It isn't automagically sourced. > > It should be. From the bash man page: > > When

Re: Global variables

2002-06-04 Thread Carlos Sousa
On Sat, 1 Jun 2002 00:09:42 -0500 dman <[EMAIL PROTECTED]> wrote: > ... > Yes -- the problem is the user's .profile doesn't source the system > one. It isn't automagically sourced. It should be. From the bash man page: When bash is invoked as an interactive login shell, or as a non-int

Re: Global variables

2002-05-31 Thread dman
On Sat, Jun 01, 2002 at 12:26:21AM -0400, Oleg wrote: | On Saturday 01 June 2002 12:10 am, Maya wrote: | > Thank you for the prompt reply. | > | > Actually what I'd like to know is the following: If '.bashrc' and | > '.profile' are responsible for setting the individual users variables and | > '/et

Re: Global variables

2002-05-31 Thread Oleg
On Saturday 01 June 2002 12:10 am, Maya wrote: > Thank you for the prompt reply. > > Actually what I'd like to know is the following: If '.bashrc' and > '.profile' are responsible for setting the individual users variables and > '/etc/profile' the global variables, why is it that if I set variables

Re: Global variables

2002-05-31 Thread Maya
Thank you for the prompt reply. Actually what I'd like to know is the following: If '.bashrc' and '.profile' are responsible for setting the individual users variables and '/etc/profile' the global variables, why is it that if I set variables only in the '/etc/profile', thus making them global, th

Re: Global variables

2002-05-31 Thread Oleg
On Friday 31 May 2002 09:09 pm, Maya wrote: > I have removed the '.bashrc' and '.profiles' from all the users > accounts. Now we know where BOFH lives! BTW we are hiring a new sysadmin, send your resume. > Added the necessary modifications in '/etc/profile' including > the variables necessary t