<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/distcc-git.git/src/dotd.c, branch python3</title>
<subtitle>github.com: distcc/distcc.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/distcc-git.git/'/>
<entry>
<title>Fix gcc warning about variable 'ret' set but not used.</title>
<updated>2012-02-06T17:38:06+00:00</updated>
<author>
<name>fergus.henderson</name>
<email>fergushenderson@users.noreply.github.com</email>
</author>
<published>2012-02-06T17:38:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/distcc-git.git/commit/?id=cb1bb08301efcd81aa51bbf827ceef8081e21d3f'/>
<id>cb1bb08301efcd81aa51bbf827ceef8081e21d3f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a couple of compiler warnings.</title>
<updated>2011-10-21T01:26:37+00:00</updated>
<author>
<name>fergus.henderson</name>
<email>fergushenderson@users.noreply.github.com</email>
</author>
<published>2011-10-21T01:26:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/distcc-git.git/commit/?id=b6bf948082442071b68bd6a5330520c83b132da6'/>
<id>b6bf948082442071b68bd6a5330520c83b132da6</id>
<content type='text'>
Reviewed by Craig Silverstein.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by Craig Silverstein.

</pre>
</div>
</content>
</entry>
<entry>
<title>Fix warnings about unused return values.  This includes some code changes</title>
<updated>2011-04-06T14:35:28+00:00</updated>
<author>
<name>fergus.henderson</name>
<email>fergushenderson@users.noreply.github.com</email>
</author>
<published>2011-04-06T14:35:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/distcc-git.git/commit/?id=2e8b156f51821b9a6b3dbf38fd978d3581fe0afa'/>
<id>2e8b156f51821b9a6b3dbf38fd978d3581fe0afa</id>
<content type='text'>
to do a better job of error checking.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to do a better job of error checking.

</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure that all ".c" files start with "#include &lt;config.h&gt;".</title>
<updated>2009-02-17T23:10:59+00:00</updated>
<author>
<name>fergus.henderson</name>
<email>fergushenderson@users.noreply.github.com</email>
</author>
<published>2009-02-17T23:10:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/distcc-git.git/commit/?id=99f367ba44092015293497f8540524d592c52a50'/>
<id>99f367ba44092015293497f8540524d592c52a50</id>
<content type='text'>
This will hopefully fix issue 39 &lt;http://code.google.com/p/distcc/issues/detail?id=39&gt;.
Some header files were using #if statements that depended on macros defined in config.h
without #including config.h first.  The result was a compilation error, because
"#if !HAVE_DECL_SNPRINTF" was evaluating to true because config.h hadn't been included,
causing us to declare snprintf() when we shouldn't, leading to a conflict with the
declaration in the standard header files.

(The alternative solution would have been to add "#include &lt;config.h&gt;"
to every header file that uses '#if'.  I decided not to do that, just
for consistency with the existing code.)

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will hopefully fix issue 39 &lt;http://code.google.com/p/distcc/issues/detail?id=39&gt;.
Some header files were using #if statements that depended on macros defined in config.h
without #including config.h first.  The result was a compilation error, because
"#if !HAVE_DECL_SNPRINTF" was evaluating to true because config.h hadn't been included,
causing us to declare snprintf() when we shouldn't, leading to a conflict with the
declaration in the standard header files.

(The alternative solution would have been to add "#include &lt;config.h&gt;"
to every header file that uses '#if'.  I decided not to do that, just
for consistency with the existing code.)

</pre>
</div>
</content>
</entry>
<entry>
<title>Add a test case to test "-MT" and "-MF" without spaces after them.</title>
<updated>2008-07-30T22:56:39+00:00</updated>
<author>
<name>fergus.henderson</name>
<email>fergushenderson@users.noreply.github.com</email>
</author>
<published>2008-07-30T22:56:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/distcc-git.git/commit/?id=7ac8448ba7d387c8d7c4388d3d9eba9466385769'/>
<id>7ac8448ba7d387c8d7c4388d3d9eba9466385769</id>
<content type='text'>
Some more bug fixes to make the test case pass.

Also, make the DashWpMD_Case test a bit more strict: disable
fallbacks, so that it tests that we can distribute such jobs.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some more bug fixes to make the test case pass.

Also, make the DashWpMD_Case test a bit more strict: disable
fallbacks, so that it tests that we can distribute such jobs.

</pre>
</div>
</content>
</entry>
<entry>
<title>Fix some of the written-on dates for some google patches.  Pointed out</title>
<updated>2008-05-29T01:46:50+00:00</updated>
<author>
<name>Craig Silverstein</name>
<email>csilvers@khanacademy.org</email>
</author>
<published>2008-05-29T01:46:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/distcc-git.git/commit/?id=218ce6d045d52a75682178ee4dcd5a1849130779'/>
<id>218ce6d045d52a75682178ee4dcd5a1849130779</id>
<content type='text'>
by fergus.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
by fergus.
</pre>
</div>
</content>
</entry>
<entry>
<title>Normalize the copyright text, to the latest version of the GPLv2 text</title>
<updated>2008-05-23T22:24:20+00:00</updated>
<author>
<name>Craig Silverstein</name>
<email>csilvers@khanacademy.org</email>
</author>
<published>2008-05-23T22:24:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/distcc-git.git/commit/?id=51f440cfad4a7b861b774dffb0d8e92db09ca84c'/>
<id>51f440cfad4a7b861b774dffb0d8e92db09ca84c</id>
<content type='text'>
(typically the only change is in the FSF street address).  Add Google
copyright line in some places it was missing.  Add GPLv2 notice to
avahi patches.

OKed by fergus
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(typically the only change is in the FSF street address).  Add Google
copyright line in some places it was missing.  Add GPLv2 notice to
avahi patches.

OKed by fergus
</pre>
</div>
</content>
</entry>
<entry>
<title>Change C++-style // comments to /**/.</title>
<updated>2008-05-20T18:16:38+00:00</updated>
<author>
<name>Craig Silverstein</name>
<email>csilvers@khanacademy.org</email>
</author>
<published>2008-05-20T18:16:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/distcc-git.git/commit/?id=458b09d3c0df853a872a2fb214dfbe2aaf7117f8'/>
<id>458b09d3c0df853a872a2fb214dfbe2aaf7117f8</id>
<content type='text'>
Also, fix the emacs var-setting line: it was missing a semicolon
before, which means the entire line was being ignored.

No contentful change.

Reviewed by fergus@google.com
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also, fix the emacs var-setting line: it was missing a semicolon
before, which means the entire line was being ignored.

No contentful change.

Reviewed by fergus@google.com
</pre>
</div>
</content>
</entry>
<entry>
<title>Turned all tabs into 4 spaces.  Got rid of whitespace at the end of</title>
<updated>2008-05-20T06:13:28+00:00</updated>
<author>
<name>Craig Silverstein</name>
<email>csilvers@khanacademy.org</email>
</author>
<published>2008-05-20T06:13:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/distcc-git.git/commit/?id=41b794c77d881e29b260d5fccd14293af499b768'/>
<id>41b794c77d881e29b260d5fccd14293af499b768</id>
<content type='text'>
lines.  Fixed up resulting mis-indented code I noticed (mostly in
files that used 8 space indents, or used 4-space and 8-space indents
in the same file (!)).  Added the emacs tab-var setting for all files,
not just some of them.

I also added in copyright notices for files I noticed that didn't have
them.  We'll want to do another pass-through to fix these up properly,
though.

I used the following perl snippet to check for mis-indented code after
converting tabs to whitespace:

  $ for i in *.{c,h}; do echo $i; perl -nle 'if ($indent &gt; 0) {$sp=" " x $indent; /^$sp[^ ]/ &amp;&amp; print "$.: $_"; $indent=0;}; if (/^( *).*{/ ) {$indent=length($1);} else {$indent=0;}' $i; done | less

It had false positives, but hopefully didn't miss anything.

Reviewed by klarlund@google.com
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
lines.  Fixed up resulting mis-indented code I noticed (mostly in
files that used 8 space indents, or used 4-space and 8-space indents
in the same file (!)).  Added the emacs tab-var setting for all files,
not just some of them.

I also added in copyright notices for files I noticed that didn't have
them.  We'll want to do another pass-through to fix these up properly,
though.

I used the following perl snippet to check for mis-indented code after
converting tabs to whitespace:

  $ for i in *.{c,h}; do echo $i; perl -nle 'if ($indent &gt; 0) {$sp=" " x $indent; /^$sp[^ ]/ &amp;&amp; print "$.: $_"; $indent=0;}; if (/^( *).*{/ ) {$indent=length($1);} else {$indent=0;}' $i; done | less

It had false positives, but hopefully didn't miss anything.

Reviewed by klarlund@google.com
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bugs in my previous change to handle "-Wp," options: arguments</title>
<updated>2008-05-18T06:06:13+00:00</updated>
<author>
<name>fergus.henderson</name>
<email>fergushenderson@users.noreply.github.com</email>
</author>
<published>2008-05-18T06:06:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/distcc-git.git/commit/?id=3a831a85a51a0ae7d03e310bd02882c02aeeaff5'/>
<id>3a831a85a51a0ae7d03e310bd02882c02aeeaff5</id>
<content type='text'>
to str_startswith() were in the wrong order, and in one place I had
wrongly passed 'argv' instead of 'new_argv'.

Move the call to dcc_expand_preprocessor_options() from
dcc_get_dotd_info() to gcc_build_somewhere(), so that it is pretty
much the first thing done to argv.  Not sure if this is really needed,
but it seems like a good idea.

Fix various memory management problems, including some introduced by
moving the call to dcc_expand_preprocessor_options().  One problem
was that dcc_find_compiler() was producing a result that was sometimes
allocated with malloc() and sometimes not, so the caller couldn't
safely deallocate it.  I changed dcc_find_compiler to always return
a dynamically allocated result.

Fix some places where return values were being ignored.
Also fix one place where distcc was inconsistenly calling exit()
rather than returning a return code.

Like my previous change, this one is necessary, but perhaps not
sufficient, for building the Linux kernel with distcc-pump.

Tested by "make valgrind-check", and by building and installing the
debian package and the building Linux 2.6.25 in pump mode using the
benchmark.py script.

Reviewers
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to str_startswith() were in the wrong order, and in one place I had
wrongly passed 'argv' instead of 'new_argv'.

Move the call to dcc_expand_preprocessor_options() from
dcc_get_dotd_info() to gcc_build_somewhere(), so that it is pretty
much the first thing done to argv.  Not sure if this is really needed,
but it seems like a good idea.

Fix various memory management problems, including some introduced by
moving the call to dcc_expand_preprocessor_options().  One problem
was that dcc_find_compiler() was producing a result that was sometimes
allocated with malloc() and sometimes not, so the caller couldn't
safely deallocate it.  I changed dcc_find_compiler to always return
a dynamically allocated result.

Fix some places where return values were being ignored.
Also fix one place where distcc was inconsistenly calling exit()
rather than returning a return code.

Like my previous change, this one is necessary, but perhaps not
sufficient, for building the Linux kernel with distcc-pump.

Tested by "make valgrind-check", and by building and installing the
debian package and the building Linux 2.6.25 in pump mode using the
benchmark.py script.

Reviewers
</pre>
</div>
</content>
</entry>
</feed>
