[Mplayer-dev-eng] Re: [Mplayer-cvslog] CVS: main/Gui/mplayer/gtk fs.h,1.2,1.3

Vladimir Kushnir vkushnir at Alfacom.net
Tue Sep 4 00:10:47 CEST 2001


Hello, wouldn't it be better to use glib function g_get_current_dir
instead? It's more portable this way. Besides, under FreeBSD (don't know
about other BSDs) we also need getcwd(NULL, PATH_MAX) instead of
get_current_dir_name()

On Mon, 3 Sep 2001, JЭrgen Keil wrote:

> Update of /cvsroot/mplayer/main/Gui/mplayer/gtk
> In directory mplayer:/var/tmp.root/cvs-serv29233/mplayer/gtk
>
> Modified Files:
> 	fs.h
> Log Message:
> Some changes to compile the GUI on solaris
>
>
> Index: fs.h
> ===================================================================
> RCS file: /cvsroot/mplayer/main/Gui/mplayer/gtk/fs.h,v
> retrieving revision 1.2
> retrieving revision 1.3
> diff -u -r1.2 -r1.3
> --- fs.h	1 Sep 2001 17:53:07 -0000	1.2
> +++ fs.h	3 Sep 2001 16:13:24 -0000	1.3
> @@ -11,6 +11,10 @@
>
>  #include "../../language.h"
>
> +#ifdef	__SVR4
> +#define	get_current_dir_name()	getcwd(NULL, PATH_MAX)
> +#endif
> +
>  #ifndef get_current_dir_name
>   extern char * get_current_dir_name( void );
>  #endif
> @@ -657,4 +661,4 @@
>   return fsFileSelect;
>  }
>
> -#endif
> \ No newline at end of file
> +#endif
>

Regards,
Vladimir
-- 
Vladimir Kushnir - vkushnir at Alfacom.net


_______________________________________________
Mplayer-dev-eng mailing list
Mplayer-dev-eng at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list