recipes: devel/{tk,valgrind}: match x32 target
[dragora.git] / patches / readline / readline80-001
blobaa72a9dfa72774b9ce53fa37f1c2f13fc4dd3709
1                            READLINE PATCH REPORT
2                            =====================
4 Readline-Release: 8.0
5 Patch-ID: readline80-001
7 Bug-Reported-by:        chet.ramey@case.edu
8 Bug-Reference-ID:
9 Bug-Reference-URL:
11 Bug-Description:
13 The history file reading code doesn't close the file descriptor open to
14 the history file when it encounters a zero-length file.
16 Patch (apply with `patch -p0'):
18 *** ../readline-8.0-patched/histfile.c  2018-06-11 09:14:52.000000000 -0400
19 --- histfile.c  2019-05-16 15:55:57.000000000 -0400
20 ***************
21 *** 306,309 ****
22 --- 312,316 ----
23       {
24         free (input);
25 +       close (file);
26         return 0;       /* don't waste time if we don't have to */
27       }
28 *** ../readline-8.0/patchlevel  2013-11-15 08:11:11.000000000 -0500
29 --- patchlevel  2014-03-21 08:28:40.000000000 -0400
30 ***************
31 *** 1,3 ****
32   # Do not edit -- exists only for use by patch
33   
34 ! 0
35 --- 1,3 ----
36   # Do not edit -- exists only for use by patch
37   
38 ! 1