mirror of
https://github.com/mirror/make.git
synced 2025-02-04 08:40:27 +08:00
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:
parent
d242ee9053
commit
dad29566b3
17
ChangeLog
17
ChangeLog
@ -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>
|
2002-01-07 Paul D. Smith <psmith@gnu.org>
|
||||||
|
|
||||||
* i18n/es.po, i18n/ru.po: Installed an updated translation.
|
* i18n/es.po, i18n/ru.po: Installed an updated translation.
|
||||||
|
13
NEWS
13
NEWS
@ -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
|
See the README file and the GNU make manual for details on sending bug
|
||||||
reports.
|
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
|
* New pseudo-target .LOW_RESOLUTION_TIME, superseding the configure
|
||||||
option --disable-nsec-timestamps. You might need this if your build
|
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
|
"cp -p" (right now) doesn't preserve the subsecond portion of a time
|
||||||
stamp.
|
stamp.
|
||||||
|
|
||||||
* Updated translations for French, Galician, Japanese, Korean, and Russian.
|
* Updated translations for French, Galician, German, Japanese, Korean,
|
||||||
New translations for Danish and Turkish.
|
and Russian. New translations for Danish and Turkish.
|
||||||
|
|
||||||
Version 3.79.1
|
Version 3.79.1
|
||||||
|
|
||||||
|
@ -1876,7 +1876,7 @@ func_call (o, argv, funcname)
|
|||||||
char num[11];
|
char num[11];
|
||||||
|
|
||||||
sprintf (num, "%d", i);
|
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
|
/* Expand the body in the context of the arguments, adding the result to
|
||||||
|
867
i18n/de.po
867
i18n/de.po
File diff suppressed because it is too large
Load Diff
429
i18n/fr.po
429
i18n/fr.po
File diff suppressed because it is too large
Load Diff
14
main.c
14
main.c
@ -1677,10 +1677,11 @@ int main (int argc, char ** argv)
|
|||||||
switch (update_goal_chain (read_makefiles, 1))
|
switch (update_goal_chain (read_makefiles, 1))
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
default:
|
/* The only way this can happen is if the user specified -q and asked
|
||||||
#define BOGUS_UPDATE_STATUS 0
|
* for one of the makefiles to be remade as a target on the command
|
||||||
assert (BOGUS_UPDATE_STATUS);
|
* line. Since we're not actually updating anything with -q we can
|
||||||
break;
|
* treat this as "did nothing".
|
||||||
|
*/
|
||||||
|
|
||||||
case -1:
|
case -1:
|
||||||
/* Did nothing. */
|
/* Did nothing. */
|
||||||
@ -1860,6 +1861,11 @@ int main (int argc, char ** argv)
|
|||||||
exit (0);
|
exit (0);
|
||||||
#endif
|
#endif
|
||||||
/* NOTREACHED */
|
/* NOTREACHED */
|
||||||
|
|
||||||
|
default:
|
||||||
|
#define BOGUS_UPDATE_STATUS 0
|
||||||
|
assert (BOGUS_UPDATE_STATUS);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
db_level = orig_db_level;
|
db_level = orig_db_level;
|
||||||
|
2
remake.c
2
remake.c
@ -767,7 +767,7 @@ notice_finished_file (file)
|
|||||||
|
|
||||||
/* Propagate the change of modification time to all the double-colon
|
/* Propagate the change of modification time to all the double-colon
|
||||||
entries for this file. */
|
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;
|
f->last_mtime = file->last_mtime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user