Add some indexing to the manual.

Fix a few simple casting warnings, etc.
This commit is contained in:
Paul Smith 2002-09-18 04:35:52 +00:00
parent dac7b49de4
commit 76652d5d02
5 changed files with 14 additions and 3 deletions

View file

@ -13,6 +13,12 @@
the root and make the root's variable list the parent of our
variable list.
2002-09-13 Paul D. Smith <psmith@gnu.org>
* doc/make.texi (MAKE Variable): Add some indexing for "+".
* hash.c (round_up_2): Get rid of a warning.
2002-09-12 Paul D. Smith <psmith@gnu.org>
* Makefile.am (loadavg_SOURCES, loadavg.c): Tiptoe around automake

View file

@ -3653,6 +3653,7 @@ is @samp{cd subdir && /bin/make}. If you use a special version of
executed for recursive invocations.
@cindex @code{cd} (shell command)
@cindex +, and commands
As a special feature, using the variable @code{MAKE} in the commands of
a rule alters the effects of the @samp{-t} (@samp{--touch}), @samp{-n}
(@samp{--just-print}), or @samp{-q} (@w{@samp{--question}}) option.
@ -6932,6 +6933,7 @@ target that is not up to date.
It is an error to use more than one of these three flags in the same
invocation of @code{make}.
@cindex +, and command execution
The @samp{-n}, @samp{-t}, and @samp{-q} options do not affect command
lines that begin with @samp{+} characters or contain the strings
@samp{$(MAKE)} or @samp{$@{MAKE@}}. Note that only the line containing

View file

@ -1837,7 +1837,7 @@ expand_builtin_function (o, argc, argv, entry_p)
char **argv;
struct function_table_entry *entry_p;
{
if (argc < entry_p->minimum_args)
if (argc < (int)entry_p->minimum_args)
fatal (reading_file,
_("Insufficient number of arguments (%d) to function `%s'"),
argc, entry_p->name);

4
hash.c
View file

@ -359,7 +359,11 @@ round_up_2 (n)
n |= (n >> 4);
n |= (n >> 8);
n |= (n >> 16);
#if !defined(HAVE_LIMITS_H) || ULONG_MAX > 4294967295
/* We only need this on systems where unsigned long is >32 bits. */
n |= (n >> 32);
#endif
return n + 1;
}

View file

@ -86,9 +86,8 @@ static int
signame_init ()
{
int i;
char *u = _("unknown signal");
undoc = xstrdup(u);
undoc = xstrdup (_("unknown signal"));
/* Initialize signal names. */
for (i = 0; i < NSIG; i++)