[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: environ[] in kinit?
From:       Waldo Bastian <bastian () kde ! org>
Date:       2001-06-08 3:21:17
[Download RAW message or body]

"extern char **environ" is missing. I have no idea how portable this code is 
though. So maybe it should indeed use "envp", whatever that is.

Cheers,
Waldo

On Thursday 07 June 2001 08:00, Rob Napier wrote:
> I'm not sure if this is a typo or a Linux-thing in
> kdelibs/kinit/kinit.cpp:
>
>          for( int tmp_env_count = 0;
>               environ[tmp_env_count];
>               tmp_env_count++)
>              unset_envs.append( environ[ tmp_env_count ] );
>
> environ[] is not declared. Is this a special array on Linux perhaps?
> Or is this supposed to be taken from envp?
>
> Rob
>
> >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<

-- 
bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic