[darwinbuild-changes] [64] trunk/darwinxref/plugins/resolveDeps.c
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 4 01:42:45 PDT 2006
Revision: 64
http://trac.macosforge.org/projects/darwinbuild/changeset/64
Author: ssen
Date: 2006-10-04 01:42:45 -0700 (Wed, 04 Oct 2006)
Log Message:
-----------
resolveDeps takes a single argument (a project name)
Modified Paths:
--------------
trunk/darwinxref/plugins/resolveDeps.c
Modified: trunk/darwinxref/plugins/resolveDeps.c
===================================================================
--- trunk/darwinxref/plugins/resolveDeps.c 2005-07-12 00:11:16 UTC (rev 63)
+++ trunk/darwinxref/plugins/resolveDeps.c 2006-10-04 08:42:45 UTC (rev 64)
@@ -39,7 +39,7 @@
static int run(CFArrayRef argv) {
int res = 0;
CFIndex count = CFArrayGetCount(argv);
- if (count >= 1) return -1;
+ if (count > 1) return -1;
char* project = (count == 1) ? strdup_cfstr(CFArrayGetValueAtIndex(argv, 0)) : NULL;
char* build = strdup_cfstr(DBGetCurrentBuild());
resolve_dependencies(build, project);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/38d5efcb/attachment-0001.html
More information about the darwinbuild-changes
mailing list