Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Feb 2018 07:30:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 113518] [patch] make(1): Prevent execution when command is a comment
Message-ID:  <bug-113518-8-T1RchINfCG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-113518-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-113518-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

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

Alex Kozlov <ak@FreeBSD.org> changed:

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

--- Comment #4 from Alex Kozlov <ak@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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-113518-8-T1RchINfCG>