]> granicus.if.org Git - python/commitdiff
Issue #22463: Correct #endif placement; patch by Senthil Kumaran
authorMartin Panter <vadmium+py@gmail.com>
Wed, 22 Jun 2016 02:04:38 +0000 (02:04 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Wed, 22 Jun 2016 02:04:38 +0000 (02:04 +0000)
Modules/readline.c

index bfb5d76172cf09f0b719a4a402481595b4aa373c..3bb0ac8952d2f35a1193b26c3e2bdeb689a7cf6b 100644 (file)
@@ -818,6 +818,7 @@ on_completion_display_matches_hook(char **matches,
 #endif
 }
 
+#endif
 
 #ifdef HAVE_RL_RESIZE_TERMINAL
 static volatile sig_atomic_t sigwinch_received;
@@ -876,7 +877,6 @@ on_completion(const char *text, int state)
     }
     return result;
 }
-#endif
 
 
 /* A more flexible constructor that saves the "begidx" and "endidx"