hpcc-systems/HPCC-Platform — pull request #1589 by rengolin (2012-02-16 17:08:00+00:00)
Title: getcwd warnings

Another round of warnings, not sure the best thing to do on most of them, just followed some basic guidelines.

Basically, ```getcwd``` returns NULL when it can't find the current path (what?) or the path is larger than ```buffer``` can accommodate (more plausible).

We're clearly not hitting any of those cases, so this is more to clear the warnings than anything else, BUT, I'm asserting on some cases where it's impossible to continue (according to my blind guesses). Most of the time, having a NULL path is acceptable (local files, means remote) or fixable (try again, some other method).

I'll add a comment to each of the changes, making sense of them. Please let me know if my assumptions were wrong.