Add some indexing to the manual.
authorPaul Smith <psmith@gnu.org>
Wed, 18 Sep 2002 04:35:52 +0000 (04:35 +0000)
committerPaul Smith <psmith@gnu.org>
Wed, 18 Sep 2002 04:35:52 +0000 (04:35 +0000)
Fix a few simple casting warnings, etc.

ChangeLog
doc/make.texi
function.c
hash.c
signame.c

index e67c819..6eb5691 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
        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
index 2389ca0..0593f19 100644 (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
index 06b23d2..d773735 100644 (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);
diff --git a/hash.c b/hash.c
index 2e37df2..9083b60 100644 (file)
--- 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;
 }
index f7128df..051d544 100644 (file)
--- 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++)