]> git.cameronkatri.com Git - cgit.git/commit
Maŕk cgit_environment members const
authorLukas Fleischer <cgit@cryptocrack.de>
Mon, 1 Apr 2013 15:11:14 +0000 (17:11 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 8 Apr 2013 13:43:17 +0000 (15:43 +0200)
commit3a8432437934a0a95f2618b534b1f5b3494d6b18
tree6e7dd26d45c4f10c60dc762a11071f1787a79443
parent996f86e664ab6d00a9304a42374e9c691b78ca6b
Maŕk cgit_environment members const

These reflect the values of environment variables and should never be
changed. Add another xstrdup() when we assign environment variables to
strings that are potentially non-constant.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
cgit.c
cgit.h