Our *.cf files should not be executable
Merge pull request #1359 from ediosyncratic/cf-file-perms

Our *.cf files should not be executable
Merge pull request #1358 from lpefferkorn/privkey_check

Fix a segmentation fault if the private key file is corrupted
Merge pull request #1346 from xrg/services-resolution

verify_services: bail out with error if some service cannot be resolved
Removing "Call Collect" messages
Merge pull request #1362 from cduclos/call-collect-agent

Removing "Call Collect" messages
Revert "Fix a segmentation fault if the private key file is corrupted"

This reverts commit cd42342631503dfea1f9a1fc14bf1e8f24bdda75.
The FatelExit breaks acceptance test runs, which happen on a machine
without private keys.
Fix a segmentation fault if the private key file is corrupted
Revert "Verbose level to console implies --legacy-output to console"

This reverts commit dff7786da89a32216955b16b09040107f2796661.
The solution caused more confusion that it removed, without really
adding the improvement we were looking for.
Revert "Fix a segmentation fault if the private key file is corrupted"

This reverts commit 0f274922003536f46be300997ea0be426ee094bf.
Accidentially reappeared. Mea culpa.
Fix possible uninitialised buffer use.
Don't break connection when access is denied.
const-qualify two char* args.

In files_names.[ch], IsNewerFileTree() doesn't need to modify its dir;
nor does JoinSuffix need to modify its leaf.  So don't invite callers
to cast away constness in order to call these functions ...
Clean-up globals in cmockery.c

Some were unused, the rest could be declared static.  One was only
used via strcmp(, "file_writer_test"); replaced it with the bool
result of this comparison.
Don't be stupid in how we use formatting functions.

One use of sprintf() where strcpy() would do.  Many uses of
vsnprintf() to a buffer that's then output, where vfprintf() would
avoid the risk of truncation, save the need for a buffer and do the
job directly.  (Also: each fprintf(out, "%s", buffer) should have been
an fputs(buffer, out) in the first place.)
Various format fixes for printf-style formatting.
Initialize uninitialized array !
Unused variable fix.

Don't bother with an intermediate variable when all you're going to do
with its value is assert it's NULL.  When NDEBUG is defined, the
variables were set but not used ...

Also change tests to use assert_true (testing checks) instead of
assert (program-level failures), prompted by Kristian's review
comments.
Make String2StringArray admit it doesn't change its first param.
Make StringSafeCompare a proper sort function.

Claiming that its second argument is bigger when either is NULL would
be A Bad Thing for some sort algorithms ("any" vs NULL gets different
answers depending on order passed).  So actually give a stable result,
treating NULL as less than any other string.