summaryrefslogtreecommitdiffstats
path: root/source/a/bash/bash-5.0-patches/bash50-006
blob: 2ad1cd200907b1966fa111edb447d02ae75219c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
			     BASH PATCH REPORT
			     =================

Bash-Release:	5.0
Patch-ID:	bash50-006

Bug-Reported-by:	Tomas Mozes <hydrapolic@gmail.com>
Bug-Reference-ID:	<CAG6MAzQumLU2vhnmr1UrYAUQAFW5Yo8hfM_sEibX9RJQWJkRrA@mail.gmail.com>
Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2019-03/msg00037.html

Bug-Description:

Bash-5.0 did not build successfully if SYSLOG_HISTORY was defined without
also defining SYSLOG_SHOPT.

Patch (apply with `patch -p0'):

*** ../bash-5.0-patched/builtins/shopt.def	2018-10-05 14:49:02.000000000 -0400
--- builtins/shopt.def	2019-01-23 09:55:22.000000000 -0500
***************
*** 123,127 ****
  #endif
  
! #if defined (SYSLOG_HISTORY) && defined (SYSLOG_SHOPT)
  extern int syslog_history;
  #endif
--- 123,127 ----
  #endif
  
! #if defined (SYSLOG_HISTORY)
  extern int syslog_history;
  #endif
*** ../bash-5.0/patchlevel.h	2016-06-22 14:51:03.000000000 -0400
--- patchlevel.h	2016-10-01 11:01:28.000000000 -0400
***************
*** 26,30 ****
     looks for to find the patch level (for the sccs version string). */
  
! #define PATCHLEVEL 5
  
  #endif /* _PATCHLEVEL_H_ */
--- 26,30 ----
     looks for to find the patch level (for the sccs version string). */
  
! #define PATCHLEVEL 6
  
  #endif /* _PATCHLEVEL_H_ */