diff options
author | Jay Berkenbilt <ejb@ql.org> | 2009-07-15 06:26:32 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2009-07-15 06:26:32 +0200 |
commit | fe18385ffaa7e5b11db86af1e992c0fb1984609a (patch) | |
tree | 132e8e04227971809c592a680d0dc497a2c677a4 /include/qpdf | |
parent | 86f2d3449c651674b92b1249186375ad821f9017 (diff) | |
download | qpdf-fe18385ffaa7e5b11db86af1e992c0fb1984609a.tar.zst |
clean up windows portability code, make remaining test suite pass
git-svn-id: svn+q:///qpdf/trunk@686 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'include/qpdf')
-rw-r--r-- | include/qpdf/QUtil.hh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/qpdf/QUtil.hh b/include/qpdf/QUtil.hh index f5ff3323..a70db0bd 100644 --- a/include/qpdf/QUtil.hh +++ b/include/qpdf/QUtil.hh @@ -32,8 +32,12 @@ namespace QUtil char* copy_string(std::string const&); - // Set stdout to binary mode + // Set stdin, stdout to binary mode void binary_stdout(); + void binary_stdin(); + + // May modify argv0 + char* getWhoami(char* argv0); // Get the value of an environment variable in a portable fashion. // Returns true iff the variable is defined. If `value' is |