[FFmpeg-devel] [PATCH] parseutils: replace setenv() by putenv().
nicolas.george at normalesup.org
Fri Apr 27 17:46:47 CEST 2012
Le nonidi 9 floréal, an CCXX, Reimar Döffinger a écrit :
> Note that the issue is not so much whether the libc will try
> to alter the string which is unlikely, it might be a user space
> application that tries to change it - since it is only in the test code
> that probably doesn't really matter though.
Yes, I would not have risked that in the library itself. Nor would I mess
with the environment, for that matter.
> But I guess a
> static char tzstr = "TZ...";
> probably is safest.
It looks nicer than the cast. I'll do that and push very soon. Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel