Updates to translaations.

Fix an assert() in an obscure use of -q
Handling of double-colon timestamp updates was broken in a bizarre way.
Store arguments to $(call ...) functions in simple variables, not recursive
variables.
This commit is contained in:
Paul Smith 2002-04-20 19:25:54 +00:00
parent d242ee9053
commit dad29566b3
7 changed files with 794 additions and 550 deletions

View File

@ -1,3 +1,20 @@
2002-04-20 Paul D. Smith <psmith@gnu.org>
* function.c (func_call): Don't mark the argument variables $1,
etc. as recursive. They've already been fully expanded so
there's no need to do it again, and doing so strips escaped $'s.
Reported by Sebastian Glita <glseba@yahoo.com>.
* remake.c (notice_finished_file): Walk through double-colon
entries via the prev field, not the next field!
Reported by Greg McGary <greg@mcgary.org>.
* main.c (main): If the user specifies -q and asks for a specific
target which is a makefile, we got an assert. In that case it
turns out we should continue normally instead.
* i18n/de.po, i18n/fr.po: Installed an updated translation.
2002-01-07 Paul D. Smith <psmith@gnu.org>
* i18n/es.po, i18n/ru.po: Installed an updated translation.

13
NEWS
View File

@ -12,7 +12,14 @@ Please send GNU make bug reports to <bug-make@gnu.org>.
See the README file and the GNU make manual for details on sending bug
reports.
Version 3.79.2
Version <next>
* The arguments to $(call ...) functions were being stored in $1, $2,
etc. as recursive variables, even though they are fully expanded
before assignment. This means that escaped dollar signs ($$ etc.)
were not behaving properly. Now the arguments are stored as simple
variables. This may mean that if you added extra escaping to your
$(call ...) function arguments you will need to undo it now.
* New pseudo-target .LOW_RESOLUTION_TIME, superseding the configure
option --disable-nsec-timestamps. You might need this if your build
@ -20,8 +27,8 @@ Version 3.79.2
"cp -p" (right now) doesn't preserve the subsecond portion of a time
stamp.
* Updated translations for French, Galician, Japanese, Korean, and Russian.
New translations for Danish and Turkish.
* Updated translations for French, Galician, German, Japanese, Korean,
and Russian. New translations for Danish and Turkish.
Version 3.79.1

View File

@ -1876,7 +1876,7 @@ func_call (o, argv, funcname)
char num[11];
sprintf (num, "%d", i);
define_variable (num, strlen (num), *argv, o_automatic, 1);
define_variable (num, strlen (num), *argv, o_automatic, 0);
}
/* Expand the body in the context of the arguments, adding the result to

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

14
main.c
View File

@ -1677,10 +1677,11 @@ int main (int argc, char ** argv)
switch (update_goal_chain (read_makefiles, 1))
{
case 1:
default:
#define BOGUS_UPDATE_STATUS 0
assert (BOGUS_UPDATE_STATUS);
break;
/* The only way this can happen is if the user specified -q and asked
* for one of the makefiles to be remade as a target on the command
* line. Since we're not actually updating anything with -q we can
* treat this as "did nothing".
*/
case -1:
/* Did nothing. */
@ -1860,6 +1861,11 @@ int main (int argc, char ** argv)
exit (0);
#endif
/* NOTREACHED */
default:
#define BOGUS_UPDATE_STATUS 0
assert (BOGUS_UPDATE_STATUS);
break;
}
db_level = orig_db_level;

View File

@ -767,7 +767,7 @@ notice_finished_file (file)
/* Propagate the change of modification time to all the double-colon
entries for this file. */
for (f = file->double_colon; f != 0; f = f->next)
for (f = file->double_colon; f != 0; f = f->prev)
f->last_mtime = file->last_mtime;
}