[vlc-devel] [vlc-commits] playlist: indirectly write when exporting to ml.xspf

Rémi Denis-Courmont remi at remlab.net
Fri Feb 14 21:33:20 CET 2014

Le vendredi 14 février 2014, 21:24:12 Francois Cartegnie a écrit :
> Le 14/02/2014 18:13, Rémi Denis-Courmont a écrit :
> > There is no point doing it that way. It does not protect against
> > concurrent
> > instances writing the same file.
> Can't be worse than now. There's no protection for single instance at
> all: Truncates first then writes until s/shit/ret!=VLC_SUCCESS/ happens.

Still, it would make far more sense to postfix the PID instead of "tmp", like 
we already do for the configuration and cache.

Реми Денис-Курмон

More information about the vlc-devel mailing list