1 |
2005-06-25 Paul D. Smith <psmith@gnu.org> |
2005-06-25 Paul D. Smith <psmith@gnu.org> |
2 |
|
|
3 |
|
* job.c (construct_command_argv_internal): Sanitize handling of |
4 |
|
backslash/newline pairs according to POSIX: that is, keep the |
5 |
|
backslash-newline in the command script, but remove a following |
6 |
|
TAB character, if present. In the fast path, make sure that the |
7 |
|
behavior matches what the shell would do both inside and outside |
8 |
|
of quotes. In the slow path, quote the backslash and put a |
9 |
|
literal newline in the string. |
10 |
|
Fixes Savannah bug #1332. |
11 |
|
* doc/make.texi (Execution): Document the new behavior and give |
12 |
|
some examples. |
13 |
|
* NEWS: Make a note of the new behavior. |
14 |
|
|
15 |
* make.h [WINDOWS32]: #include <direct.h>. |
* make.h [WINDOWS32]: #include <direct.h>. |
16 |
Fixes Savannah bug #13478. |
Fixes Savannah bug #13478. |
17 |
|
|
20 |
the symlink we can get as the mtime of the file and don't fail. |
the symlink we can get as the mtime of the file and don't fail. |
21 |
Fixes Savannah bug #13280. |
Fixes Savannah bug #13280. |
22 |
|
|
|
Fix Savannah bug #1454. |
|
|
|
|
23 |
* read.c (find_char_unquote): Accept a new argument IGNOREVARS. |
* read.c (find_char_unquote): Accept a new argument IGNOREVARS. |
24 |
If it's set, then don't stop on STOPCHARs or BLANKs if they're |
If it's set, then don't stop on STOPCHARs or BLANKs if they're |
25 |
inside a variable reference. Make this function static as it's |
inside a variable reference. Make this function static as it's |
26 |
only used here. |
only used here. |
27 |
(eval): Call find_char_unquote() with IGNOREVARS set when we're |
(eval): Call find_char_unquote() with IGNOREVARS set when we're |
28 |
parsing an unexpanded line looking for semicolons. |
parsing an unexpanded line looking for semicolons. |
29 |
|
Fixes Savannah bug #1454. |
30 |
* misc.c (remove_comments): Move this to read.c and make it static |
* misc.c (remove_comments): Move this to read.c and make it static |
31 |
as it's only used there. Call find_char_unquote() with new arg. |
as it's only used there. Call find_char_unquote() with new arg. |
32 |
* make.h: Remove prototypes for find_char_unquote() and |
* make.h: Remove prototypes for find_char_unquote() and |
33 |
remove_comments() since they're static now. |
remove_comments() since they're static now. |
34 |
|
|
|
Implement the MAKE_RESTARTS variable, and disable -B if it's >0. |
|
|
Fixes Savannah bug #7566. |
|
|
|
|
|
* doc/make.texi (Special Variables): Document MAKE_RESTARTS. |
|
|
* NEWS: Mention MAKE_RESTARTS. |
|
35 |
* main.c (main): If we see MAKE_RESTARTS in the environment, unset |
* main.c (main): If we see MAKE_RESTARTS in the environment, unset |
36 |
its export flag and obtain its value. When we need to re-exec, |
its export flag and obtain its value. When we need to re-exec, |
37 |
increment the value and add it into the environment. |
increment the value and add it into the environment. |
38 |
(always_make_set): New variable. Change the -B option to set this |
* doc/make.texi (Special Variables): Document MAKE_RESTARTS. |
39 |
one instead. |
* NEWS: Mention MAKE_RESTARTS. |
40 |
|
* main.c (always_make_set): New variable. Change the -B option to |
41 |
|
set this one instead. |
42 |
(main): When checking makefiles, only set always_make_flag if |
(main): When checking makefiles, only set always_make_flag if |
43 |
always_make_set is set AND the restarts flag is 0. When building |
always_make_set is set AND the restarts flag is 0. When building |
44 |
normal targets, set it IFF always_make_set is set. |
normal targets, set it IFF always_make_set is set. |
46 |
files to NEW before we check makefiles if we've never restarted |
files to NEW before we check makefiles if we've never restarted |
47 |
before. If we have restarted, set what-if files to NEW _after_ we |
before. If we have restarted, set what-if files to NEW _after_ we |
48 |
check makefiles. |
check makefiles. |
49 |
|
Fixes Savannah bug #7566: |
50 |
|
|
51 |
2005-06-17 Paul D. Smith <psmith@gnu.org> |
2005-06-17 Paul D. Smith <psmith@gnu.org> |
52 |
|
|