Improves create_native to use std::vector

 * Improves create_native function to use std::vector
instead of char** to build the list of parameters to
execv icecc-create-env script.

Signed-off-by: Ragner Magalhaes <ragner.magalhaes@gmail.com>
swap arguments for kill() call, since pid is the first argument
Fix some typos
Debian and Ubuntu uses docbook2x-man instead of docbook-to-man

Signed-off-by: Rodrigo Belem <rodrigo.belem@gmail.com>
Merge pull request #37 from rbelem/fix-docbook-ubuntu-debian

On Debian and Ubuntu docbook2x binary name is docbook2x-man and on openSUSE docbook-to-man.
Merge pull request #57 from mo/fix_typos

Fix some typos
Merge pull request #53 from marscher/handle_user_break_bug

fix user break handler, which previously called kill with swapped arguments
Merge pull request #44 from ragner/fix-create_native

Improves create_native to use std::vector
Fix icecc-create-env for Darwin

   * Parse outputs from otool that contains @executable_path
     in the libs path like: @executable_path/libllvmgcc.dylib
   * Check /bin/true before add it.
   * Fix parse to command `as -micha`
     $ /usr/bin/as -micha
     "FATAL:/usr/bin/../libexec/as/x86_64/as: I don't understand ..."
   * Check if exists /etc/ld.so.conf before parse its content.

Signed-off-by: Ragner Magalhaes <ragner.magalhaes@gmail.com>
man page improvements

- simplify, update and sort the command line options, also unifying them
  among the various man pages
- use a bit more docbook markup (tags and entities)
- remove old note about suse < 9.1
- add man sections in "see also" paragraphs
- grammar fixes (typo fixes, remove contractions, etc)
- remove traling spaces
add a man page for icecc-create-env
Apply KDE Coding Style to client/*, compilerwrapper/* and daemon/* files

Signed-off-by: Rodrigo Belem <rodrigo.belem@gmail.com>
Detect gcc "out of memory allocating" as EXIT_OUT_OF_MEMORY. Closes #49

Signed-off-by: Rodrigo Belem <rodrigo.belem@gmail.com>
Fix off-by-one error

The array 'suffs' has four entries. The nested for-loop, however, only
traversed up to the third entry and failed to reach the fourth entry
'.tgz'.

Signed-off-by: David Vest <davve@opera.com>
Mac/brew has docbook2man instead of docbook-to-man
Future proof array iteration

Instead of relying on a constant being up-to-date with the length of
an specific array, add a NULL entry last to the array and iterate up
to that instead.

Signed-off-by: David Vest <davve@opera.com>
fix icecc-create-env with clang 3.3+

It now has a subdirectory in its internal include directory, so plain wildcard
doesn't work well, use find to get paths for each file.
add "[Cc]annot allocate memory" to the list of OOM error messages
protect against repeatedly choosing broken remote after scheduler start
Merge pull request #64 from doomdavve/fix-off-by-one-take-two

Fix off-by-one error