summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2009-05-14 21:00:07 +0000
committerJani Taskinen <jani@php.net>2009-05-14 21:00:07 +0000
commit8c604d3c3124d3e5d9bfea8664a400122297ec64 (patch)
tree92ef460b1e4341c2d448d4f87a77a7d616ef1566 /build
parent133e8c5ccbfdc3379bf114f47c14bc4984faf97d (diff)
downloadphp-git-8c604d3c3124d3e5d9bfea8664a400122297ec64.tar.gz
- Fix harmless extra for() loop iteration
Diffstat (limited to 'build')
-rw-r--r--build/order_by_dep.awk4
1 files changed, 1 insertions, 3 deletions
diff --git a/build/order_by_dep.awk b/build/order_by_dep.awk
index 487d055723..bc492b79e6 100644
--- a/build/order_by_dep.awk
+++ b/build/order_by_dep.awk
@@ -51,8 +51,6 @@ function do_deps(mod_idx, module_name, mod_name_len, dep, ext, val, depid
do_deps(depidx);
}
}
-
- #printf(" phpext_%s_ptr,\n", module_name);
printf(" phpext_%s_ptr,@NEWLINE@", module_name);
delete mods[mod_idx];
}
@@ -79,7 +77,7 @@ END {
out_count = 0;
while (count(mods)) {
- for (i = 0; i <= mod_count; i++) {
+ for (i = 0; i < mod_count - 1; i++) {
if (i in mods) {
do_deps(i);
}