[vlc-devel] commit: Prefer setenv to putenv (evenmore with local variables). ( Rémi Duraffort )

Rémi Duraffort ivoire at via.ecp.fr
Thu Jul 31 18:28:45 CEST 2008


Le jeudi 31 juillet 2008 à 07:18:16, Rémi Denis-Courmont a écrit :
> On Thursday 31 July 2008 18:58:14 git version control, you wrote:
> > vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Jul 31
> > 17:55:29 2008 +0200| [d632ffe1a6f5e6cea5dd796105e1708cdb0b3631]
> >
> > Prefer setenv to putenv (evenmore with local variables).
> 
> What local variable?
Hum here it's static so I think it's ok with putenv but setenv seem to
be better (IMHO) because it does a copy of the string passed.

-- 
ivoire | Rémi Duraffort



More information about the vlc-devel mailing list