Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37764231
en ru br
ALT Linux repos
S:3.2.0.1.d89c-alt1
5.0: 3.0.4-alt1
4.1: 3.0.3-alt1
4.0: 3.0.1-alt2
3.0: 3.0.1-alt1.1

Group :: Development/C
RPM: gperf

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: gperf-3.0.4-alt3.patch
Download


 doc/Makefile.in | 2 +-
 doc/gperf.texi  | 2 +-
 src/options.cc  | 4 ++--
 src/output.cc   | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/doc/Makefile.in b/doc/Makefile.in
index fc06c15..471417f 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -63,7 +63,7 @@ SHELL = /bin/sh
 
 VPATH = $(srcdir)
 
-all : info ps pdf html
+all : info html
 
 
 info : $(srcdir)/gperf.info
diff --git a/doc/gperf.texi b/doc/gperf.texi
index 0bb42b8..f6c5b66 100644
--- a/doc/gperf.texi
+++ b/doc/gperf.texi
@@ -32,7 +32,7 @@
 @ifinfo
 @dircategory Programming Tools
 @direntry
-* Gperf: (gperf).                Perfect Hash Function Generator.
+* Gperf: (gperf).                               Perfect Hash Function Generator.
 @end direntry
 @end ifinfo
 
diff --git a/src/options.cc b/src/options.cc
index a60446d..c608335 100644
--- a/src/options.cc
+++ b/src/options.cc
@@ -279,7 +279,7 @@ Options::print_options () const
         {
           putchar (*arg);
           arg++;
-          if (*arg >= 'A' && *arg <= 'Z' || *arg >= 'a' && *arg <= 'z')
+          if ((*arg >= 'A' && *arg <= 'Z') || (*arg >= 'a' && *arg <= 'z'))
             {
               putchar (*arg);
               arg++;
@@ -291,7 +291,7 @@ Options::print_options () const
                   putchar (*arg);
                   arg++;
                 }
-              while (*arg >= 'A' && *arg <= 'Z' || *arg >= 'a' && *arg <= 'z' || *arg == '-');
+              while ((*arg >= 'A' && *arg <= 'Z') || (*arg >= 'a' && *arg <= 'z') || *arg == '-');
               if (*arg == '=')
                 {
                   putchar (*arg);
diff --git a/src/output.cc b/src/output.cc
index 2afabe3..73c032b 100644
--- a/src/output.cc
+++ b/src/output.cc
@@ -1299,7 +1299,7 @@ Output::output_lookup_array () const
 
           if (option[DEBUG])
             fprintf (stderr,
-                     "dup_ptr[%d]: hash_value = %d, index = %d, count = %d\n",
+                     "dup_ptr[%ld]: hash_value = %d, index = %d, count = %d\n",
                      dup_ptr - duplicates,
                      dup_ptr->hash_value, dup_ptr->index, dup_ptr->count);
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin