[Bug 113518] [patch] make(1): Prevent execution when command is a comment

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 18 07:30:44 UTC 2018


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

Alex Kozlov <ak at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |Closed
         Resolution|---                         |FIXED
                 CC|                            |ak at FreeBSD.org

--- Comment #4 from Alex Kozlov <ak at FreeBSD.org> ---
The bmake is smart enough to ignore comments:
$ (printf 'all:\n'; for i in `jot 10000`; do printf '\t# %d\n' $i; done; printf
'\t @echo Hello World!\n') > Makefile; time make

real 0m0.004s user 0m0.004s sys 0m0.000s

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


More information about the freebsd-bugs mailing list