From f7cc7190bf2f9e05d890509903e0612fbe6b9afd Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 23 Oct 2010 11:28:05 +0000 Subject: [PATCH] 2010-10-23 13:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * external/libhpdf/hpdfpdfa.c ! Fixed C++ variable declraration. ; NOTE: Could not rediff because the newly added hpdfpdfa.c file is missing from the diffing process. Also current .diff appears to contain some invalid diffs for this file. --- harbour/ChangeLog | 7 +++++++ harbour/external/libhpdf/hpdfpdfa.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index d4be0f9df6..608e8a09f5 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,13 @@ The license applies to all entries newer than 2009-04-28. */ +2010-10-23 13:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * external/libhpdf/hpdfpdfa.c + ! Fixed C++ variable declraration. + ; NOTE: Could not rediff because the newly added hpdfpdfa.c file + is missing from the diffing process. Also current .diff + appears to contain some invalid diffs for this file. + 2010-10-23 11:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbtip/encqp.prg * QP decoder will now accept LF EOLs (to work well with diff --git a/harbour/external/libhpdf/hpdfpdfa.c b/harbour/external/libhpdf/hpdfpdfa.c index ab3ff872c9..c959e965ed 100644 --- a/harbour/external/libhpdf/hpdfpdfa.c +++ b/harbour/external/libhpdf/hpdfpdfa.c @@ -116,12 +116,12 @@ HPDF_PDFA_GenerateID(HPDF_Doc pdf) HPDF_BYTE *currentTime; HPDF_BYTE idkey[HPDF_MD5_KEY_LEN]; HPDF_MD5_CTX md5_ctx; + HPDF_Array id; time_t ltime; ltime = time(NULL); currentTime = (HPDF_BYTE *)ctime(<ime); - HPDF_Array id; id = HPDF_Dict_GetItem(pdf->trailer, "ID", HPDF_OCLASS_ARRAY); if (!id) { id = HPDF_Array_New(pdf->mmgr);