seed random with a real random data
 clean up win32 stuff
open not fopen and other mistakes
correction of types
fix typo
program name when erroring
better message
[client-agent] fix compiler warnings
[remoted] fix compiler warnings
[reportd] fix compiler warnings
fix chmod error message
Merge pull request #386 from cgzones/remoted

[remoted] fix compiler warnings
Merge pull request #387 from cgzones/reportd

[reportd] fix compiler warnings
Merge pull request #388 from cgzones/fix_chmod_macro

fix chmod error message
Merge pull request #383 from cgzones/client-agent

[client-agent] fix compiler warnings
merging master into random.  Fixing conflicts
Merge pull request #377 from jrossi/random-we-need-random

seed random with a real random data
Fix formatting of chmod() and ErrorExit() params
Merge pull request #389 from awiddersheim/fix_formatting

Fix formatting of chmod() and ErrorExit() params
Merge branch 'master' into lua-rules