Re: Another little patch I would like to put upstream

2016-12-05 Thread Mike Frysinger
On 04 Dec 2016 22:53, Vladimir Marek wrote: > Studio compiler may use things like '-xregs=no%frameptr' for example. > > Thank you > -- > Vlad > # Our compiler flags contain percent sign which get mixed up with percent sign > # seprators used by sed. > > # Submitted to bug-bash@gnu.org >

Re: bash tests failing when compiled with --enable-xpg-echo-default=yes

2016-12-05 Thread Chet Ramey
On 12/4/16 8:38 AM, Vladimir Marek wrote: >>> And second patch we use because of xpg-echo. Would it have sense to have >>> it included, or maybe stop the tests completely instead? >> >> You could just have turned off the xpg_echo option instead of going through >> a convoluted test (which just emul

Re: [Bug-readline] [BUG] a race condition in add_history() leads to SIGSEGV

2016-12-05 Thread Chet Ramey
On 12/4/16 7:42 PM, Hong Cho wrote: > > The race condition is that “history_length” gets updated before the > “the_history” update is completed. > > > > In several cases we’ve encountered, “bash” got a signal (SIGHUP), which > interrupted add_history(), leaving “the_history” and “history_leng

[BUG] a race condition in add_history() leads to SIGSEGV

2016-12-05 Thread Hong Cho
This was encountered with bash. - bash: 2.05b - readline: 4.3 - FreeBSD 8.4 / amd64 Yeah... the version of bash is old, but it seems add_history() in history.c hasn't changed much in the master / devel branches at http://git.savannah.gnu.org/cgit/readline.git. The race condition is that "histo

Re: Filename completion causes doubling of initial ':' character

2016-12-05 Thread Chet Ramey
On 12/4/16 8:14 PM, L A Walsh wrote: > Chet Ramey wrote: >> The short answer is that colon is special to readline: it breaks words for >> the readline completion code. If you want to complete filenames beginning >> with a colon, either quote the colon or remove colon from $COMP_WORDBREAKS. >> If yo

Re: Could bash do what make does?

2016-12-05 Thread Greg Wooledge
On Mon, Dec 05, 2016 at 11:37:11PM +1100, Robert Durkacz wrote: > I am asking about shell scripting > of software builds, something that is perfectly possible to do and once > must have been the common way. Based on what evidence? Show me a shell script created to build a software project without

Re: Could bash do what make does?

2016-12-05 Thread Robert Durkacz
You have gone to some trouble with your answer Eduardo, and thanks for that but really you are arguing against a proposition that I have not put and I do not want other readers to be mislead. I am asking about shell scripting of software builds, something that is perfectly possible to do and once m