This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
hjl@lucon.org (H.J. Lu) writes: > [...] In either case, the string pointed to > by string becomes part of the environment, so altering the string will > change the environment. The space used by string is no longer used > once a new string-defining name is passed to putenv(). > > It seems to me that it is ok to free 'p' since it is no longer used > when returning from putenv (). You are quoting the standard and still don't see that your argument is wrong? The putenv() code as it is now is correct. -- ---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Cygnus Solutions `--' drepper at cygnus.com `------------------------
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |