diff options
author | Paul Smith <psmith@gnu.org> | 2006-03-20 02:36:36 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2006-03-20 02:36:36 +0000 |
commit | dfa8d38f413e8d53e2aa72df516c65e5a74556dd (patch) | |
tree | 7172e5223fe888647c6a77fc0b892dfd8f081a45 /remake.c | |
parent | 9b652ca844a6c2aec961db78cb5215288c1a360e (diff) | |
download | make-dfa8d38f413e8d53e2aa72df516c65e5a74556dd.tar.gz |
Add some alloca(0) calls for systems without "normal" alloca support.
Fix a file descriptor leak with make re-exec while using the jobserver.
Update some release information.
Diffstat (limited to 'remake.c')
-rw-r--r-- | remake.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -264,6 +264,7 @@ update_goal_chain (struct dep *goals) just_print_flag = n; job_slots = j; } + return status; } @@ -306,6 +307,9 @@ update_file (struct file *file, unsigned int depth) status |= update_file_1 (f, depth); check_renamed (f); + /* Clean up any alloca() used during the update. */ + alloca (0); + /* If we got an error, don't bother with double_colon etc. */ if (status != 0 && !keep_going_flag) return status; |