diff options
author | Paul Smith <psmith@gnu.org> | 2009-09-24 02:41:44 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2009-09-24 02:41:44 +0000 |
commit | 0afbbf8595b6035a5a930399d20320d2e2852d72 (patch) | |
tree | 6c74d485e4d57b2bf41bb5d6afaac1b4569dd554 /job.c | |
parent | 3cc351decdd7d53fea0c730fd919163f20706762 (diff) | |
download | make-0afbbf8595b6035a5a930399d20320d2e2852d72.tar.gz |
- Rework secondary expansion so we only defer it if there's a possibility
it might be needed: for most situations we parse prereqs immediately as
we used to. Reduces memory usage.
- Fixes Savannah bug #18622.
Diffstat (limited to 'job.c')
-rw-r--r-- | job.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -967,8 +967,9 @@ start_job_command (struct child *child) #if !defined(_AMIGA) && !defined(WINDOWS32) static int bad_stdin = -1; #endif - register char *p; - int flags; + char *p; + /* Must be volatile to silence bogus GCC warning about longjmp/vfork. */ + volatile int flags; #ifdef VMS char *argv; #else |