[vlc-devel] [PATCH] WinCE: remove call to unsupported getcwd()
Rémi Denis-Courmont
remi at remlab.net
Mon May 18 18:38:36 CEST 2009
Le lundi 18 mai 2009 19:23:18 Pierre Ynard, vous avez écrit :
> I did not. I worked around it. By returning a constant "\\My Documents"
> instead of anything that looks like a current directory.
>
> But it's not really important to me. I'm just trying to fix the WinCE
> build. If you'd rather have me send a patch containing:
>
> char *getcwd(char *buf, size_t size)
> {
> #ifdef UNDER_CE
> return strncpy(buf, "\\My Documents", size);
> #endif
> }
>
> just tell me, I'll do it.
To try to bring the topic to a higher-level instead of answering the question
(muahahahah). If there came another patch using getcwd(), what would *you* do?
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list