diff options
| author | Jani Taskinen <jani@php.net> | 2009-05-14 21:00:07 +0000 |
|---|---|---|
| committer | Jani Taskinen <jani@php.net> | 2009-05-14 21:00:07 +0000 |
| commit | 8c604d3c3124d3e5d9bfea8664a400122297ec64 (patch) | |
| tree | 92ef460b1e4341c2d448d4f87a77a7d616ef1566 /build/order_by_dep.awk | |
| parent | 133e8c5ccbfdc3379bf114f47c14bc4984faf97d (diff) | |
| download | php-git-8c604d3c3124d3e5d9bfea8664a400122297ec64.tar.gz | |
- Fix harmless extra for() loop iteration
Diffstat (limited to 'build/order_by_dep.awk')
| -rw-r--r-- | build/order_by_dep.awk | 4 |
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); } |
