Yitzchak Scott-Thoennes writes: > > In article <19991118210401.A16532@monk.mps.ohio-state.edu>, > Ilya Zakharevich <ilya@math.ohio-state.edu> wrote: > >On Fri, Nov 19, 1999 at 01:37:35AM +0100, Joerg Schumacher wrote: > > > >I do not believe this. At least the documentation I see states that > >putenv() will malloc() environ if it needs to modify it. Thus with > >usemymalloc=n the test is OK as is. > > Single UNIX V2 seems to say otherwise. In particular it states that > if you call putenv(string) and then later change string, the > environment will be changed. We are not discussing environ[i] here, we are discussing environ itself. You know, one of type char**. The container for environment variables. ;-) Ilya