[PATCH] ash: reset tokpushback before prompting while parsing heredoc

Ron Yorston rmy at pobox.com
Tue Nov 20 21:56:13 UTC 2018


Christoph Schulz wrote:
>I could not reproduce the problem with dash, neither with git dash nor  
>with older versions (0.5.8, 0.5.9.1, 0.5.10.2, to name a few).  
>Something must be handled differently. But I haven't compared busybox  
>ash and dash sources thoroughly either.

The same issue is present in dash and has been discussed in a mailing
list thread starting here:

   https://www.spinics.net/lists/dash/msg01652.html

It isn't always reproducible due to system/compiler differences.

Herbert Xu has recently posted a different patch:

   https://www.spinics.net/lists/dash/msg01727.html

Sorry, I should have picked this up sooner, especially as I was involved
in that thread.  Lack of concentration.

Ron


More information about the busybox mailing list