summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}