diff options
author | Jani Taskinen <jani@php.net> | 2009-05-13 00:45:57 +0000 |
---|---|---|
committer | Jani Taskinen <jani@php.net> | 2009-05-13 00:45:57 +0000 |
commit | 7f6657c2431fbd71557f615a510c4f4d0687f57f (patch) | |
tree | 1c1ab1a85f04b7b1beee74414fa6d7cdd17cc9aa /build/order_by_dep.awk | |
parent | c6aa455ff19bc61ac31fca054c60c0ae4f436fd6 (diff) | |
download | php-git-7f6657c2431fbd71557f615a510c4f4d0687f57f.tar.gz |
- Fixed bug #48247 (PHP crashes on errors during startup)
#
# This was sum of many little things:
# 1. Wrong assumption made in order_by_dep.awk on the ordering
# (that script was done prior to adding runtime deps..?)
# 2. request shutdown calls weren't done in reverse order like all other
# shutdown funcs are called.
# 3. config0.m4 rename is necessary for keeping things simple.
#
Diffstat (limited to 'build/order_by_dep.awk')
-rw-r--r-- | build/order_by_dep.awk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build/order_by_dep.awk b/build/order_by_dep.awk index 38128b2e1b..487d055723 100644 --- a/build/order_by_dep.awk +++ b/build/order_by_dep.awk @@ -79,8 +79,7 @@ END { out_count = 0; while (count(mods)) { - # count down, since we need to assemble it in reverse order - for (i = mod_count-1; i >= 0; --i) { + for (i = 0; i <= mod_count; i++) { if (i in mods) { do_deps(i); } |