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 | 24aac7f8f6c72d60ce7c9f80868cbf21fb458072 (patch) | |
tree | 7172e5223fe888647c6a77fc0b892dfd8f081a45 /remake.c | |
parent | 29e539bad01c06a7e9655b5c33a88f05455124ad (diff) | |
download | gunmake-24aac7f8f6c72d60ce7c9f80868cbf21fb458072.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; |