source: patches/readline-6.1-branch_update-1.patch@ 5cabdc2

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 5cabdc2 was 06fcd8e, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Updated Readline to 6.1.

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[06fcd8e]1Submitted By: Joe Ciccone <jciccone@gmail.com>
2Date: 2010-08-03
3Initial Package Version: 6.1
4Origin: Upstream
5Upstream Status: From Upstream
6Description: Contains all upstream patches up to 6.1-002
7
8diff -Naur readline-6.1.orig/complete.c readline-6.1/complete.c
9--- readline-6.1.orig/complete.c 2009-11-29 23:39:30.000000000 +0000
10+++ readline-6.1/complete.c 2010-08-04 01:25:55.061576555 +0000
11@@ -2138,7 +2138,7 @@
12 All other entries except "." and ".." match. */
13 if (filename_len == 0)
14 {
15- if (_rl_match_hidden_files == 0 && HIDDEN_FILE (entry->d_name))
16+ if (_rl_match_hidden_files == 0 && HIDDEN_FILE (convfn))
17 continue;
18
19 if (convfn[0] != '.' ||
20@@ -2219,7 +2219,7 @@
21 temp[dirlen++] = '/';
22 }
23
24- strcpy (temp + dirlen, entry->d_name);
25+ strcpy (temp + dirlen, convfn);
26 }
27 else
28 temp = savestring (convfn);
29diff -Naur readline-6.1.orig/patchlevel readline-6.1/patchlevel
30--- readline-6.1.orig/patchlevel 2008-11-18 16:01:14.000000000 +0000
31+++ readline-6.1/patchlevel 2010-08-04 01:25:55.949701897 +0000
32@@ -1,3 +1,3 @@
33 # Do not edit -- exists only for use by patch
34
35-0
36+2
37diff -Naur readline-6.1.orig/readline.h readline-6.1/readline.h
38--- readline-6.1.orig/readline.h 2009-08-27 03:05:55.000000000 +0000
39+++ readline-6.1/readline.h 2010-08-04 01:25:55.949701897 +0000
40@@ -39,9 +39,9 @@
41 #endif
42
43 /* Hex-encoded Readline version number. */
44-#define RL_READLINE_VERSION 0x0600 /* Readline 6.0 */
45+#define RL_READLINE_VERSION 0x0601 /* Readline 6.1 */
46 #define RL_VERSION_MAJOR 6
47-#define RL_VERSION_MINOR 0
48+#define RL_VERSION_MINOR 1
49
50 /* Readline data structures. */
51
Note: See TracBrowser for help on using the repository browser.