[Bug 220587] /bin/sh Incorrect options handling

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 10 00:30:21 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220587

--- Comment #1 from Ryan Moeller <ryan at freqlabs.com> ---
I am trying to absorb the source code for this right now. In bin/sh/options.c
there is a comment on line 116 noting the POSIX standard and the behavior I was
expecting. The problem seems to be in the options() function around the NOHACK
macros.

I will submit a patch here as an attachment when I have worked out a fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-standards mailing list