<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/make/for.c, branch release/9.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F9.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F9.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2009-12-11T23:20:02Z</updated>
<entry>
<title>Remove unnecessary includes.</title>
<updated>2009-12-11T23:20:02Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2009-12-11T23:20:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=512be259a7c6abdef6c680773772ca264c52e7f5'/>
<id>urn:sha1:512be259a7c6abdef6c680773772ca264c52e7f5</id>
<content type='text'>
Reviewed by:	rodrigc
</content>
</entry>
<entry>
<title>Consistently use Var_SetGlobal().</title>
<updated>2008-12-29T08:05:49Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2008-12-29T08:05:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cfd6aac638830072ab37366ffc672fd085af52ec'/>
<id>urn:sha1:cfd6aac638830072ab37366ffc672fd085af52ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix splitting into words of the .for expression to allow for</title>
<updated>2008-03-24T12:33:28Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2008-03-24T12:33:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2f93f6470b36c51f0b6416da6e80b0c7d16e1d48'/>
<id>urn:sha1:2f93f6470b36c51f0b6416da6e80b0c7d16e1d48</id>
<content type='text'>
spaces in values.  Without this change, the following valid
call broke due to parsing of .MAKEFLAGS in bsd.symver.mk:

cd /usr/src/lib/libc &amp;&amp; make -n DEBUG_FLAGS="-DFOO -DBAR"

Spotted by:	Igor Sysoev
Submitted by:	Maxim Dounin, ru
MFC after:	1 week
</content>
</entry>
<entry>
<title>Var_SubstOnly() is only used to subsitute a variable from the global</title>
<updated>2005-05-10T12:02:15Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2005-05-10T12:02:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=671adc85da865fc66cbd2b8fbc67e25142dd3c51'/>
<id>urn:sha1:671adc85da865fc66cbd2b8fbc67e25142dd3c51</id>
<content type='text'>
context (and only in one place to substitute the .for variable). Therefor
there is no need to pass the context as a parameter.

Patch:	7.197
Submitted by:	Max Okumoto &lt;okumoto@ucsd.edu&gt;
</content>
</entry>
<entry>
<title>Split Var_Subst() into two functions: Var_SubstOnly() which substitutes</title>
<updated>2005-05-09T14:06:04Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2005-05-09T14:06:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=02c3270da10a3bd74ce8d7094f850633f9c93b6c'/>
<id>urn:sha1:02c3270da10a3bd74ce8d7094f850633f9c93b6c</id>
<content type='text'>
only one variable and Var_Subst() which substitutes all. Split out the
test whether a variable should not be expanded into match_var().
Make access to the input string consistently using str[]. Remove two
unused functions: Var_GetTail() and Var_GetHead().

Patches:	7.184-7.189
Submitted by:	Max Okumoto &lt;okumoto@ucsd.edu&gt;
</content>
</entry>
<entry>
<title>Rework the directive parsing code. Instead of using a lot of strcmp()s</title>
<updated>2005-04-11T07:20:10Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2005-04-11T07:20:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f520690c2c6018ff252b661d6c7e11886d6d22b6'/>
<id>urn:sha1:f520690c2c6018ff252b661d6c7e11886d6d22b6</id>
<content type='text'>
on every line that starts with a dot use a minimal perfect hash
function and a single strcmp() on the first word after the dot
to find out whether it is really a directive call and, if yes, which
one. Then directly dispatch to a handler function for that directive
(or fall through to the dependency handling code). This makes the
directive parse a little bit more strict about the syntax: the directive
word must be followed by a character that is not alphanumerical and not
an underline (making .undefFOO illegal); .endif and .else can only be
followed by comments.
</content>
</entry>
<entry>
<title>Simplify buffer access by using Buf_Data() and Buf_Peel() where</title>
<updated>2005-03-22T07:50:40Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2005-03-22T07:50:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4896df631415c66b8f5690c77f3d66139b4f2dbb'/>
<id>urn:sha1:4896df631415c66b8f5690c77f3d66139b4f2dbb</id>
<content type='text'>
appropriate.

Patch:		7.147-7.151

Submitted by:	Max Okumoto &lt;okumoto@ucsd.edu&gt;
</content>
</entry>
<entry>
<title>Use the new Buf_Peel function to simplify things.</title>
<updated>2005-03-08T13:15:51Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2005-03-08T13:15:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7ca80f1cbc4f0b7e16d324a47ad79922a9216d67'/>
<id>urn:sha1:7ca80f1cbc4f0b7e16d324a47ad79922a9216d67</id>
<content type='text'>
Remove an unused struct definition.
</content>
</entry>
<entry>
<title>Change the return value of Var_Subst to return a Buffer instead</title>
<updated>2005-02-25T13:16:56Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2005-02-25T13:16:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=179078e76dd4654edf91fbf18c1bb304c925e0e1'/>
<id>urn:sha1:179078e76dd4654edf91fbf18c1bb304c925e0e1</id>
<content type='text'>
of a char *.

Patch:		7.49

Submitted by:	Max Okumoto &lt;okumoto@ucsd.edu&gt;
</content>
</entry>
<entry>
<title>Use the LST_FOREACH macro instead of the Lst_ForEach function</title>
<updated>2005-02-23T14:03:18Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2005-02-23T14:03:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=592dcf0422ba362af46eff2f5112c6172636289e'/>
<id>urn:sha1:592dcf0422ba362af46eff2f5112c6172636289e</id>
<content type='text'>
and so get rid of the ForExec helper function by inlining it
into For_Run.
</content>
</entry>
</feed>
