[svn-commits] tilghman: branch 1.4 r262321 - in /branches/1.4: ./ apps/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue May 11 12:22:12 CDT 2010


Author: tilghman
Date: Tue May 11 12:22:07 2010
New Revision: 262321

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=262321
Log:
Fix issue #17302 a slightly different way (mad props to Qwell)

Modified:
    branches/1.4/Makefile.rules
    branches/1.4/apps/app_voicemail.c

Modified: branches/1.4/Makefile.rules
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/Makefile.rules?view=diff&rev=262321&r1=262320&r2=262321
==============================================================================
--- branches/1.4/Makefile.rules (original)
+++ branches/1.4/Makefile.rules Tue May 11 12:22:07 2010
@@ -37,9 +37,6 @@
 
 OPTIMIZE?=-O6
 ifneq ($(findstring darwin,$(OSARCH)),)
-  ifeq ($(shell /usr/bin/sw_vers -productVersion | cut -c1-4),10.4)
-    OPTIMIZE+=-fno-inline
-  endif
   ifeq ($(shell /usr/bin/sw_vers -productVersion | cut -c1-4),10.6)
     # Snow Leopard has an issue with this optimization flag on large files (like chan_sip)
     OPTIMIZE+=-fno-inline-functions

Modified: branches/1.4/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/apps/app_voicemail.c?view=diff&rev=262321&r1=262320&r2=262321
==============================================================================
--- branches/1.4/apps/app_voicemail.c (original)
+++ branches/1.4/apps/app_voicemail.c Tue May 11 12:22:07 2010
@@ -6886,6 +6886,7 @@
 
 	/* Play voicemail intro - syntax is different for different languages */
 	if (0) {
+		return 0;
 	} else if (!strncasecmp(chan->language, "cs", 2)) {  /* CZECH syntax */
 		return vm_intro_cs(chan, vms);
 	} else if (!strncasecmp(chan->language, "cz", 2)) {  /* deprecated CZECH syntax */




More information about the svn-commits mailing list