On 3/7/19 2:42 AM, Tomas Mozes wrote:

> Bash Version: 5.0
> Patch Level: 2
> Release Status: release
> 
> Description:
> In Gentoo Linux, we have a 'bashlogger' option to bash that basically
> enabled '-DSYSLOG_HISTORY' during compilation. However, it doesn't work any
> more with version 5.0_p2:

You can either define SYSLOG_SHOPT or apply the attached patch.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/
*** ../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

Reply via email to