diff options
Diffstat (limited to 'src/xine-engine')
| -rw-r--r-- | src/xine-engine/Makefile.am | 2 | ||||
| -rw-r--r-- | src/xine-engine/load_plugins.c | 8 | ||||
| -rw-r--r-- | src/xine-engine/xine.c | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/xine-engine/Makefile.am b/src/xine-engine/Makefile.am index 735f41eae..b78d54af6 100644 --- a/src/xine-engine/Makefile.am +++ b/src/xine-engine/Makefile.am @@ -58,7 +58,7 @@ install-exec-local: cp -p $(DEF_FILE) $(DESTDIR)$(libdir) uninstall-local: - rm -f $(DEF_FILE) $(DESTDIR)$(libdir) + rm -f $(DEF_FILE) endif @INCLUDED_INTL_TRUE@@INTLLIBS@: diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index 6910f157b..dfec63876 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: load_plugins.c,v 1.211 2005/08/25 15:36:30 valtri Exp $ + * $Id: load_plugins.c,v 1.212 2005/08/29 15:28:16 valtri Exp $ * * * Load input/demux/audio_out/video_out/codec plugins @@ -1088,21 +1088,21 @@ void _x_scan_plugins (xine_t *this) { if ((pluginpath = getenv("XINE_PLUGIN_PATH")) != NULL) { pluginpath = strdup(pluginpath); } else { - char *str1, *str2; + const char *str1, *str2; int len; str1 = "~/.xine/plugins"; str2 = XINE_PLUGINDIR; len = strlen(str1) + strlen(str2) + 2; pluginpath = xine_xmalloc(len); - snprintf(pluginpath, len, "%s:%s", str1, str2); + snprintf(pluginpath, len, "%s" XINE_DIRECTORY_SEPARATOR_STRING "%s", str1, str2); } plugindir = xine_xmalloc(strlen(pluginpath)+strlen(homedir)+2); j=0; lenpluginpath = strlen(pluginpath); for (i=0; i <= lenpluginpath; ++i){ switch (pluginpath[i]){ - case ':': + case XINE_DIRECTORY_SEPARATOR_CHAR: case '\0': plugindir[j] = '\0'; collect_plugins(this, plugindir); diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index c3f326bcd..c5ab40f8b 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.c,v 1.315 2005/08/25 15:36:30 valtri Exp $ + * $Id: xine.c,v 1.316 2005/08/29 15:28:17 valtri Exp $ */ /* @@ -1341,7 +1341,7 @@ void xine_exit (xine_t *this) { #if defined(WIN32) WSACleanup(); #endif - + free (this); } @@ -1352,7 +1352,7 @@ xine_t *xine_new (void) { #ifdef WIN32 WSADATA Data; int i_err; -#endif /* WIN32 */ +#endif this = xine_xmalloc (sizeof (xine_t)); if (!this) |
