[svn-commits] mvanbaak: trunk r135059 - in /trunk: ./ apps/app_ices.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Aug 1 06:47:34 CDT 2008


Author: mvanbaak
Date: Fri Aug  1 06:47:34 2008
New Revision: 135059

URL: http://svn.digium.com/view/asterisk?view=rev&rev=135059
Log:
Merged revisions 135058 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r135058 | mvanbaak | 2008-08-01 13:43:46 +0200 (Fri, 01 Aug 2008) | 2 lines

make app_ices compile on OpenBSD.

........

Modified:
    trunk/   (props changed)
    trunk/apps/app_ices.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/apps/app_ices.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_ices.c?view=diff&rev=135059&r1=135058&r2=135059
==============================================================================
--- trunk/apps/app_ices.c (original)
+++ trunk/apps/app_ices.c Fri Aug  1 06:47:34 2008
@@ -80,15 +80,15 @@
 	 * But many places has it in /usr/bin 
 	 * As a last-ditch effort, try to use PATH
 	 */
-	execl(path_LOCAL "ices2", "ices", filename, NULL);
-	execl(path_BIN "ices2", "ices", filename, NULL);
-	execlp("ices2", "ices", filename, NULL);
+	execl(path_LOCAL "ices2", "ices", filename, SENTINEL);
+	execl(path_BIN "ices2", "ices", filename, SENTINEL);
+	execlp("ices2", "ices", filename, SENTINEL);
 
 	ast_debug(1, "Couldn't find ices version 2, attempting to use ices version 1.");
 
-	execl(path_LOCAL "ices", "ices", filename, NULL);
-	execl(path_BIN "ices", "ices", filename, NULL);
-	execlp("ices", "ices", filename, NULL);
+	execl(path_LOCAL "ices", "ices", filename, SENTINEL);
+	execl(path_BIN "ices", "ices", filename, SENTINEL);
+	execlp("ices", "ices", filename, SENTINEL);
 
 	ast_log(LOG_WARNING, "Execute of ices failed, could not find command.\n");
 	close(fd);




More information about the svn-commits mailing list