[28249] users/rhwood/Pallet/Launcher.c

source_changes at macosforge.org source_changes at macosforge.org
Sun Aug 26 02:21:17 PDT 2007


Revision: 28249
          http://trac.macosforge.org/projects/macports/changeset/28249
Author:   rhwood at macports.org
Date:     2007-08-26 02:21:17 -0700 (Sun, 26 Aug 2007)

Log Message:
-----------
Add PalletHelper as a valid launchable command

Modified Paths:
--------------
    users/rhwood/Pallet/Launcher.c

Modified: users/rhwood/Pallet/Launcher.c
===================================================================
--- users/rhwood/Pallet/Launcher.c	2007-08-26 09:19:44 UTC (rev 28248)
+++ users/rhwood/Pallet/Launcher.c	2007-08-26 09:21:17 UTC (rev 28249)
@@ -78,8 +78,9 @@
 
     /* Test program name */
     if (!strstr(cmd[1], "/bin/port")		&&
-		!strstr(cmd[1], "/bin/portindex")		&&
-		!strstr(cmd[1], "/bin/portmirror")){
+		!strstr(cmd[1], "/bin/portindex")	&&
+		!strstr(cmd[1], "/bin/portmirror")	&&
+		!strstr(cmd[1], "PalletHelper"))	{
 		return cmdNotAuthorized;
     }
     /* Make sure program is owned by root, so it could not have been installed or

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070826/21367c4a/attachment.html


More information about the macports-changes mailing list