From 5993c3e83c6f83b36045c75a03ffb1da3d1d283c Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 29 Jul 2017 20:19:54 -0400 Subject: Detect input file = output file (fixes #29) --- include/qpdf/QUtil.hh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/qpdf/QUtil.hh b/include/qpdf/QUtil.hh index eba4ef61..98784a37 100644 --- a/include/qpdf/QUtil.hh +++ b/include/qpdf/QUtil.hh @@ -74,6 +74,9 @@ namespace QUtil QPDF_DLL qpdf_offset_t tell(FILE* stream); + QPDF_DLL + bool same_file(char const* name1, char const* name2); + QPDF_DLL char* copy_string(std::string const&); -- cgit v1.2.3-70-g09d2