[Mplayer-cvslog] CVS: main get_path.c,1.2,1.3
Sascha Sommer
saschasommer at freenet.de
Wed Apr 30 12:02:38 CEST 2003
> Sascha Sommer CVS writes:
> > Modified Files:
> > get_path.c
> > Log Message:
> > allow config file loading outside of cygwin environment
> >
> > --- get_path.c 25 Dec 2001 20:41:04 -0000 1.2
> > +++ get_path.c 18 Apr 2003 18:17:05 -0000 1.3
> > @@ -2,11 +2,27 @@
> > char *get_path(char *filename){
> > char *homedir;
> > char *buff;
> > +#if defined(__MINGW32__)||defined(__CYGWIN__)
> > + static char *config_dir = "/mplayer";
> > +#else
> > static char *config_dir = "/.mplayer";
> > +#endif
> > int len;
>
> Hmm, I've been thinking about this again and think that this should be
> MinGW only, not MinGW and Cygwin. Cygwin should behave like a Unix
> app and search for configuration files in ~/.mplayer. Most Cygwin
> users probably run MPlayer from the Cygwin console anyway.
>
Hm, now I understand what you mean. The .mplayer change should really be
MinGW
only. Feel free to change it. I am a bit busy currently.
Sascha
More information about the MPlayer-cvslog
mailing list