summaryrefslogtreecommitdiffstats
path: root/src/subprocess.cc
Commit message (Collapse)AuthorAgeFilesLines
* fix warning: "comparison between signed and unsigned integer expressions"Hiroyuki Iwatsuki2012-03-161-1/+1
|
* addressed pcc commentsAmi Fischman2012-03-041-10/+9
|
* pselect->ppoll on linux to raise the process limit roofAmi Fischman2012-03-041-4/+56
|
* Implement cleanup-on-interruptPeter Collingbourne2012-02-041-27/+93
| | | | | | | | This causes us to clean up by deleting any output files belonging to currently-running commands before we quit if we are interrupted (either by Ctrl-C or by a command failing). Fixes issue #110.
* disable the 'unused parameter' warningEvan Martin2011-12-051-1/+1
| | | | It was firing too often, and hadn't uncovered any bugs.
* Add -Wextra warning flag.Nicolas Despres2011-11-191-1/+1
| | | | | | | Fix triggered warnings: - unused parameter - type qualifiers ignored on function return type - missing initializer for member
* Merge pull request #127 from tiresdonexits/masterEvan Martin2011-11-061-1/+1
|\ | | | | Minor code change to address a warning in g++ 4.6.
| * Added a cast to NULL to remove a warning issues by g++ 4.6.Jonathan Sternberg2011-11-051-1/+1
| |
* | don't leak fds into subprocessesEvan Martin2011-10-311-0/+1
|/ | | | Patch from Antoine Labour <piman@chromium.org>, (hacky) test by me.
* fix "ignored return value of write" harderEvan Martin2011-09-091-2/+4
|
* Fix a Clang self-assign warning by casting result to voidPeter Collingbourne2011-09-011-2/+2
|
* windows: subprocess implementation for WindowsEvan Martin2011-05-061-3/+6
| | | | Heavily based on a patch from Sergey Nenakhov <nenakhov.sergey@gmail.com>.
* more refactoring for windowsEvan Martin2011-05-061-25/+11
|
* refactor subprocess to make it easier for windows portEvan Martin2011-05-031-41/+40
| | | | | | Rather than tracking stdout/stderr explicitly, just keep an opaque pointer to a platform-specific 'stream' type. Also provide API to get at the process output.
* fix compilation error on Mac 10.5Arnaud Gelas2011-04-301-1/+1
| | | | std::vector<>::data() does not exist
* Prefix perror(3) messages with program name.Nicolas Despres2011-04-261-1/+1
| | | | | | It make it easier while debugging to know who is reporting the error: Ninja itself or one of the command called by Ninja during the build process or one of the generator which called Ninja.
* add copyrightsEvan Martin2011-02-061-0/+14
|
* work around an unused variable warningEvan Martin2011-01-081-1/+2
|
* move src into subdirEvan Martin2010-12-051-0/+170