summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2002-09-18 04:35:52 +0000
committerPaul Smith <psmith@gnu.org>2002-09-18 04:35:52 +0000
commit76652d5d02b31941ec085435f62b6c955d7e63d3 (patch)
tree1e59d09b065ad6ad3d3d096dbe6611d1499fb2aa
parentdac7b49de4b935db71d7b4257c6354f16fe41cfa (diff)
downloadgunmake-76652d5d02b31941ec085435f62b6c955d7e63d3.tar.gz
Add some indexing to the manual.
Fix a few simple casting warnings, etc.
-rw-r--r--ChangeLog6
-rw-r--r--doc/make.texi2
-rw-r--r--function.c2
-rw-r--r--hash.c4
-rw-r--r--signame.c3
5 files changed, 14 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index e67c819..6eb5691 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/function.c b/function.c
index 06b23d2..d773735 100644
--- a/function.c
+++ b/function.c
@@ -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);
diff --git a/hash.c b/hash.c
index 2e37df2..9083b60 100644
--- a/hash.c
+++ b/hash.c
@@ -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;
}
diff --git a/signame.c b/signame.c
index f7128df..051d544 100644
--- a/signame.c
+++ b/signame.c
@@ -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++)