]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/readline/readline80-001
Merge branch 'next'
[ipfire-2.x.git] / src / patches / readline / readline80-001
CommitLineData
c82aa03e
PM
1 READLINE PATCH REPORT
2 =====================
3
4Readline-Release: 8.0
5Patch-ID: readline80-001
6
7Bug-Reported-by: chet.ramey@case.edu
8Bug-Reference-ID:
9Bug-Reference-URL:
10
11Bug-Description:
12
13The history file reading code doesn't close the file descriptor open to
14the history file when it encounters a zero-length file.
15
16Patch (apply with `patch -p0'):
17
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