commit | fbcee9f114bb42810ee824c2bc1bbe4cd4a7a5b2 | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicholas.marriott@gmail.com> | Thu Jun 25 15:58:58 2009 +0000 |
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | Thu Jun 25 15:58:58 2009 +0000 |
tree | 41fd6a2df74443b8ff7115de40b539b4a081ec0b | |
parent | 0e95769b435d1e21859efce6c1687e4343090ffc [diff] |
strdup the input to putenv to avoid in one case passing a string that is later freed and in the other const strings.