summaryrefslogtreecommitdiff
path: root/src/snprintf.h
Commit message (Collapse)AuthorAgeFilesLines
* Add #include "config.h" in a couple of places,fergus.henderson2012-01-251-0/+1
| | | | | | | | | | | | | | | to ensure that macros tested with #if/#ifdef are defined properly before they are tested. This is a partial application of a patch from pkts.ca for issue 80; the other parts of that patch conflict with a patch from Akim Demaille <demaille@gostai.com> which was committed in revision 715 <http://code.google.com/p/distcc/source/detail?r=715>. git-svn-id: http://distcc.googlecode.com/svn/trunk@751 01de4be4-8c4a-0410-9132-4925637da917
* Fix warnings about unused return values. This includes some code changesfergus.henderson2011-04-061-0/+2
| | | | | | | | to do a better job of error checking. git-svn-id: http://distcc.googlecode.com/svn/trunk@739 01de4be4-8c4a-0410-9132-4925637da917
* Normalize the copyright text, to the latest version of the GPLv2 textcsilvers2008-05-231-0/+6
| | | | | | | | | | | (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 git-svn-id: http://distcc.googlecode.com/svn/trunk@387 01de4be4-8c4a-0410-9132-4925637da917
* Change C++-style // comments to /**/.csilvers2008-05-201-1/+1
| | | | | | | | | | | | 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 git-svn-id: http://distcc.googlecode.com/svn/trunk@321 01de4be4-8c4a-0410-9132-4925637da917
* Turned all tabs into 4 spaces. Got rid of whitespace at the end ofcsilvers2008-05-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | 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 > 0) {$sp=" " x $indent; /^$sp[^ ]/ && 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 git-svn-id: http://distcc.googlecode.com/svn/trunk@320 01de4be4-8c4a-0410-9132-4925637da917
* The first step of moving everything in the distcc directory to the topcsilvers2008-04-111-0/+30
level. I'm doing this in two stages, because I don't understand svn enough to be confident to do it in one. This first stage just copies all the files from distcc/FOO to FOO. Now there are two copies of each file under distcc; the Makefile/etc uses the one in distcc and ignores the one at the top level. The next commit will delete everything under distcc, and rewrite the Makefile/etc to use the top-level versions instead. git-svn-id: http://distcc.googlecode.com/svn/trunk@22 01de4be4-8c4a-0410-9132-4925637da917