Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37865344
en ru br
ALT Linux repos
S:7.0.3-alt1
5.0: 4.11-alt4
4.1: 4.11-alt3
4.0: 4.8-alt4
3.0: 4.8-alt2

Group :: Publishing
RPM: texinfo

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: texinfo-4.8-deb-fixes.patch
Download


--- texinfo-4.7.orig/info/infodoc.c
+++ texinfo-4.7/info/infodoc.c
@@ -185,6 +185,10 @@
 
 #endif /* !INFOKEY */
 
+static char *where_is_rep = (char *)NULL;
+static int where_is_rep_index = 0;
+static int where_is_rep_size = 0;
+
 static char *where_is_internal (Keymap map, InfoCommand *cmd);
 
 void
@@ -334,6 +338,8 @@
         {
           InfoCommand *cmd = DocInfoCmd(&function_doc_array[i]);
 
+          where_is_rep_index = 0;
+
           if (InfoFunction(cmd) != (VFunction *) info_do_lowercase_version
               && !where_is_internal (info_keymap, cmd)
               && !where_is_internal (echo_area_keymap, cmd))
@@ -1052,10 +1058,6 @@
 
 /* Return a string of characters which could be typed from the keymap
    MAP to invoke FUNCTION. */
-static char *where_is_rep = (char *)NULL;
-static int where_is_rep_index = 0;
-static int where_is_rep_size = 0;
-
 char *
 where_is (Keymap map, InfoCommand *cmd)
 {
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin