NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/53754 (/bin/sh strips too many characters with %% modifier)



Synopsis: /bin/sh strips too many characters with %% modifier

Responsible-Changed-From-To: bin-bug-people->kre
Responsible-Changed-By: kre%NetBSD.org@localhost
Responsible-Changed-When: Fri, 30 Nov 2018 20:57:37 +0000
Responsible-Changed-Why:
I am (for now) handling this PR


State-Changed-From-To: open->analyzed
State-Changed-By: kre%NetBSD.org@localhost
State-Changed-When: Fri, 30 Nov 2018 20:57:37 +0000
State-Changed-Why:
This is with NetBSD 7.* right?

That issue is fixed already in HEAD, but it is very unlikely
that it will get pulled up to -7 ... there have been too many
sh changes, and fixing pattern matching properly was a big change
to many of the internals.  (I am not even sure all of the pattern
fixes will get pulled up to -8, however I think this particular one
might be fixed there already.)

There would be some minor issues taking the sh from HEAD and
running it on -7, but nothing insurmountable I expect, and if
you want to try doing that, I am willing to help with whatever
is needed to fix any places where it is expecting something
that -7 doesn't have.   I know it is possible to build the HEAD
shell on -8 with just one minor change (changing a #if 0 to #if 1,
I guess I should make that settable in the Makefile...).

kre





Home | Main Index | Thread Index | Old Index