diff options
author | Paul Smith <psmith@gnu.org> | 2002-09-18 04:35:52 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2002-09-18 04:35:52 +0000 |
commit | 76652d5d02b31941ec085435f62b6c955d7e63d3 (patch) | |
tree | 1e59d09b065ad6ad3d3d096dbe6611d1499fb2aa | |
parent | dac7b49de4b935db71d7b4257c6354f16fe41cfa (diff) | |
download | gunmake-76652d5d02b31941ec085435f62b6c955d7e63d3.tar.gz |
Add some indexing to the manual.
Fix a few simple casting warnings, etc.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | doc/make.texi | 2 | ||||
-rw-r--r-- | function.c | 2 | ||||
-rw-r--r-- | hash.c | 4 | ||||
-rw-r--r-- | signame.c | 3 |
5 files changed, 14 insertions, 3 deletions
@@ -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 diff --git a/doc/make.texi b/doc/make.texi index 2389ca0..0593f19 100644 --- a/doc/make.texi +++ b/doc/make.texi @@ -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 @@ -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); @@ -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; } @@ -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++) |