]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/bash/bash50-009
Merge branch 'next'
[ipfire-2.x.git] / src / patches / bash / bash50-009
CommitLineData
415fb8b5
PM
1 BASH PATCH REPORT
2 =================
3
4Bash-Release: 5.0
5Patch-ID: bash50-009
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*** ../bash-5.0-patched/lib/readline/histfile.c 2018-06-11 09:14:52.000000000 -0400
19--- lib/readline/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*** ../bash-5.0/patchlevel.h 2016-06-22 14:51:03.000000000 -0400
29--- patchlevel.h 2016-10-01 11:01:28.000000000 -0400
30***************
31*** 26,30 ****
32 looks for to find the patch level (for the sccs version string). */
33
34! #define PATCHLEVEL 8
35
36 #endif /* _PATCHLEVEL_H_ */
37--- 26,30 ----
38 looks for to find the patch level (for the sccs version string). */
39
40! #define PATCHLEVEL 9
41
42 #endif /* _PATCHLEVEL_H_ */