]> Savannah Git Hosting - gnulib.git/commit
putenv tests: Put the putenv() argument strings into writable memory.
authorBruno Haible <bruno@clisp.org>
Fri, 24 May 2024 10:38:54 +0000 (12:38 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 24 May 2024 10:38:54 +0000 (12:38 +0200)
commit07e316a028af16ea6eca60bc8b127f220b12d824
tree31ae0d510668d54442f0341640cca5793ff0bf9d
parent4504bf67ce156aa9b21b9bbba00b2f36c77c13c8
putenv tests: Put the putenv() argument strings into writable memory.

* tests/test-putenv.c (main): Declare static variables of type 'char[]',
not 'char *'.
ChangeLog
tests/test-putenv.c