[vlc-devel] [PATCH] WinCE: remove call to unsupported getcwd()

Pierre Ynard linkfanel at yahoo.fr
Tue May 19 10:25:34 CEST 2009

> 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?

I would send another patch to disable the feature on WinCE. Or Geoffroy
would. Or if it's a major feature that cannot be disabled, VideoLAN
can also drop the support of WinCE. And I can keep my patches to my
employer's private repository, too. However, I think that the official
VLC can still run very well on a platform with no environment or working

As for crapping up the code with ifdefs, as I said:

> Do you suggest that ifdefs used to work around missing POSIX functions
> (especially on broken platforms like WinCE which cause a lot of them)
> should be replaced by wrappers in compat/ ?

You did not reply, so I assume that there is no more problem with that

Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."

More information about the vlc-devel mailing list