packages: mpg123/mpg123-no-la.patch - updated to 1.9.1

adamg adamg at pld-linux.org
Sun Nov 8 17:08:29 CET 2009


Author: adamg                        Date: Sun Nov  8 16:08:29 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 1.9.1

---- Files affected:
packages/mpg123:
   mpg123-no-la.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/mpg123/mpg123-no-la.patch
diff -u packages/mpg123/mpg123-no-la.patch:1.3 packages/mpg123/mpg123-no-la.patch:1.4
--- packages/mpg123/mpg123-no-la.patch:1.3	Thu Jan 24 21:55:07 2008
+++ packages/mpg123/mpg123-no-la.patch	Sun Nov  8 17:08:24 2009
@@ -26,11 +26,15 @@
  		if(moddir  != NULL) free(moddir);
  		return NULL;
  	}
-@@ -90,15 +87,14 @@
+@@ -90,19 +87,14 @@
  	/* Initialize libltdl */
  	if (lt_dlinit()) error( "Failed to initialise libltdl" );
  
--	chdir(moddir);
+-	if(chdir(moddir) != 0)
+-	{
+-		error2("Failed to enter module directory %s: %s", moddir, strerror(errno));
+-		goto om_bad;
+-	}
  	/* Work out the path of the module to open */
 -	module_path_len = strlen(type) + 1 + strlen(name) + strlen(MODULE_FILE_SUFFIX) + 1;
 +	module_path_len = strlen(moddir) + 1 + strlen(type) + 1 + strlen(name) + strlen(MODULE_FILE_SUFFIX) + 1;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mpg123/mpg123-no-la.patch?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list