<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/unifdef.c, branch v2.6.34.8</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/scripts/unifdef.c?h=v2.6.34.8</id>
<link rel='self' href='https://git.amat.us/linux/atom/scripts/unifdef.c?h=v2.6.34.8'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2009-12-12T12:08:16Z</updated>
<entry>
<title>unifdef: update to upstream revision 1.190</title>
<updated>2009-12-12T12:08:16Z</updated>
<author>
<name>Tony Finch</name>
<email>dot@dotat.at</email>
</author>
<published>2009-11-27T15:50:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d8379ab1dde371f13d7fdddf05346840a82c2b61'/>
<id>urn:sha1:d8379ab1dde371f13d7fdddf05346840a82c2b61</id>
<content type='text'>
Fix handling of input files (e.g. with no newline at EOF) that could
make unifdef get into an unexpected state and call abort().

The new -B option compresses blank lines around a deleted section
so that blank lines around "paragraphs" of code don't get doubled.

The evaluator can now handle macros with arguments, and unbracketed
arguments to the "defined" operator.

Add myself to MAINTAINERS for unifdef.

Signed-off-by: Tony Finch &lt;dot@dotat.at&gt;
Acked-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kbuild: fix headers_exports with boolean expression</title>
<updated>2009-06-09T20:37:57Z</updated>
<author>
<name>Russell King</name>
<email>rmk+lkml@arm.linux.org.uk</email>
</author>
<published>2009-06-06T21:47:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=eedc9d83eaab2d35fb9dd1ec25b765dec964e26c'/>
<id>urn:sha1:eedc9d83eaab2d35fb9dd1ec25b765dec964e26c</id>
<content type='text'>
When we had code like this in a header unifdef failed to
deduct that the expression was always false - and we had code exported
that was not intended for userspace.

#if defined(__KERNEL__) &amp;&amp; !defined(__ASSEMBLY__)
  int a;
#endif

This commit implment support in unidef which allows it to work out if
an #if expression always evaluates true or false for symbols which
are being undefined/always defined.

The patch is slightly more complicated than I'd hoped because unifdef
needs to see lines fully evaluated - doing otherwise causes it to
mark the line as "dirty" and copy it over no matter what.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: fix C libary confusion in unifdef.c due to getline()</title>
<updated>2009-03-07T12:31:29Z</updated>
<author>
<name>Justin P. Mattock</name>
<email>justinmattock@gmail.com</email>
</author>
<published>2009-03-07T12:31:29Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d15bd1067b1fcb2b7250d22bc0c7c7fea0b759f7'/>
<id>urn:sha1:d15bd1067b1fcb2b7250d22bc0c7c7fea0b759f7</id>
<content type='text'>
This fixes an error when compiling the kernel.

  CHK     include/linux/version.h
  HOSTCC  scripts/unifdef
scripts/unifdef.c:209: error: conflicting types for 'getline'
/usr/include/stdio.h:651: note: previous declaration of 'getline' was here
make[1]: *** [scripts/unifdef] Error 1
make: *** [__headers] Error 2

Signed-off-by: Justin P. Mattock &lt;justinmattock@gmail.com&gt;
Cc:  Frederic Weisbecker &lt;fweisbec@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: replace use of strlcpy with a dedicated implmentation in unifdef</title>
<updated>2006-09-25T07:00:00Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2006-07-23T18:41:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=14a036d2dc304797f3624c06bd6d2a1e9b59e45a'/>
<id>urn:sha1:14a036d2dc304797f3624c06bd6d2a1e9b59e45a</id>
<content type='text'>
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: add unifdef</title>
<updated>2006-09-25T07:00:00Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2006-07-23T18:39:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=01f1c8799ad8b23c190d59cf1c9e28e6fed390a4'/>
<id>urn:sha1:01f1c8799ad8b23c190d59cf1c9e28e6fed390a4</id>
<content type='text'>
This patch contains a raw copy of unifdef.c
Next patch will modify it and add infrastructure to use it
Adding unifdef to the kernel is acked by the author.

The reason to add unifdef as part of the kernel source is that it is not
yet a common utility on most distributions.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
</feed>
