[asterisk-commits] eliel: branch group/appdocsxml r151871 - /team/group/appdocsxml/main/pbx.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Oct 24 05:33:24 CDT 2008


Author: eliel
Date: Fri Oct 24 05:33:23 2008
New Revision: 151871

URL: http://svn.digium.com/view/asterisk?view=rev&rev=151871
Log:
Fix an order issue to make thirdparty override core docs.

Modified:
    team/group/appdocsxml/main/pbx.c

Modified: team/group/appdocsxml/main/pbx.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/main/pbx.c?view=diff&rev=151871&r1=151870&r2=151871
==============================================================================
--- team/group/appdocsxml/main/pbx.c (original)
+++ team/group/appdocsxml/main/pbx.c Fri Oct 24 05:33:23 2008
@@ -6379,8 +6379,8 @@
 	ast_register_atexit(xmldoc_unload_documentation);
 
 	/* Get every *-LANG.xml file inside $(ASTDATADIR)/documentation */
-	ast_asprintf(&xmlpattern, "%s/documentation{/thirdparty/,/}*-{%.2s_??,%s}.xml", ast_config_AST_DATA_DIR,
-			documentation_language, default_documentation_language);
+	ast_asprintf(&xmlpattern, "%s/documentation{/thirdparty/,/}*-{%s,%.2s_??,%s}.xml", ast_config_AST_DATA_DIR,
+			documentation_language, documentation_language, default_documentation_language);
 	globbuf.gl_offs = 0;    /* initialize it to silence gcc */
 	globret = glob(xmlpattern, MY_GLOB_FLAGS | GLOB_BRACE, NULL, &globbuf);
 	if (globret == GLOB_NOSPACE) {




More information about the asterisk-commits mailing list