[vlc-devel] [PATCH] WinCE: work-around inexistant functions
jpd at m2x.nl
jpd at m2x.nl
Thu May 7 14:43:01 CEST 2009
On Thu, May 7, 2009 14:03, Pierre Ynard wrote:
> getpid() and remove() don't exist on WinCE. Use rand() and unlink() here
> instead
Is there a reason why we can't call unlink() right away? If the victim is
known to be a file, that should work well enough, and it saves an #ifdef.
Unrelatedly, ISTR that not calling srand() is equivalent to srand(1),
so do you know srand() with a suitable argument has been called at
this point?
More information about the vlc-devel
mailing list