Dne 30.8.2014 8:44, Marc De Mulder napsal(a):
> Sorry, i found a bug in PdfDate::CreateStringRepresentation(), but
> didn't find any other way to report it
> The error lines are commented out and i appended "// Original code !
> (n)" to the corresponding line. n is 1,2,3 or 4
> The corrected line is just below the problem line. (4 problem lines)
>
> Sorry i overlooked the bug marked as 3 !
> localtime_s(&stm, &m_time ) returns En != 0 on error, En == 0 means NO error
Hello,
thanks for the code, the best option is to create real diff files,
either from a svn checkout of the current PoDoFo (or any other open
source project using any version control system like cvn, svn, git,
mercury, ...) with a command like "svn diff >file.patch". If you do not
have any such checkout, then having an original file and creating your
changes into a new file, you can get a similar patch with a command like
this:
$ diff -up file.orig file >file.patch
> // En = localtime_s(stm, &m_time );
I also mentioned the "current PoDoFo checkout" above, because the code
you use is not what the current (0.9.3) PoDoFo has. There is no
localtime_s() in the base/PdfDate.cpp now [1]. I suggest you to use more
recent version of PoDoFo.
Bye,
zyx
[1]
http://sourceforge.net/p/podofo/code/1661/tree/podofo/trunk/src/base/PdfDate.cpp#l145
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users