Find attached a patch to fix some typos and spacing; it also
removes a redundant line.
--
Jason.
diff -urp current/callback.c working/callback.c
--- current/callback.c 2017-01-30 04:55:51 +1000
+++ working/callback.c 2017-02-21 16:01:36 +1000
@@ -60,7 +60,7 @@ int rl_persistent_signal_handlers = 0;
/* **************************************************************** */
/* */
-/* Callback Readline Functions */
+/* Callback Readline Functions */
/* */
/* **************************************************************** */
diff -urp current/complete.c working/complete.c
--- current/complete.c 2017-01-30 04:55:51 +1000
+++ working/complete.c 2017-02-21 15:51:10 +1000
@@ -988,7 +988,6 @@ print_filename (to_print, full_pathname,
slen--;
else
new_full_pathname[slen] = '/';
- new_full_pathname[slen] = '/';
strcpy (new_full_pathname + slen + 1, to_print);
#if defined (VISIBLE_STATS)
diff -urp current/display.c working/display.c
--- current/display.c 2017-01-30 04:55:51 +1000
+++ working/display.c 2017-02-21 16:01:36 +1000
@@ -2636,7 +2636,7 @@ _rl_erase_at_end_of_line (l)
}
/* Clear to the end of the line. COUNT is the minimum
- number of character spaces to clear, */
+ number of character spaces to clear. */
void
_rl_clear_to_eol (count)
int count;
@@ -2651,7 +2651,7 @@ _rl_clear_to_eol (count)
}
/* Clear to the end of the line using spaces. COUNT is the minimum
- number of character spaces to clear, */
+ number of character spaces to clear. */
static void
space_to_eol (count)
int count;
@@ -2659,7 +2659,7 @@ space_to_eol (count)
register int i;
for (i = 0; i < count; i++)
- putc (' ', rl_outstream);
+ putc (' ', rl_outstream);
_rl_last_c_pos += count;
}
diff -urp current/kill.c working/kill.c
--- current/kill.c 2017-01-30 04:55:51 +1000
+++ working/kill.c 2017-02-21 16:01:36 +1000
@@ -740,7 +740,7 @@ rl_bracketed_paste_begin (count, key)
return (retval);
}
-/* A special paste command for Windows users.. */
+/* A special paste command for Windows users. */
#if defined (_WIN32)
#include <windows.h>
diff -urp current/rlconf.h working/rlconf.h
--- current/rlconf.h 2017-01-30 04:55:51 +1000
+++ working/rlconf.h 2017-02-21 16:01:36 +1000
@@ -42,7 +42,7 @@
/* The next-to-last-ditch effort file name for a user-specific init file. */
#define DEFAULT_INPUTRC "~/.inputrc"
-/* The ultimate last-ditch filenname for an init file -- system-wide. */
+/* The ultimate last-ditch filename for an init file -- system-wide. */
#define SYS_INPUTRC "/etc/inputrc"
/* If defined, expand tabs to spaces. */
_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline