[poppler] poppler/PDFDoc.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Sun Dec 19 06:16:45 PST 2010


 poppler/PDFDoc.cc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 93cf184b7573980bf2e56342e64f9b99c5d0b415
Author: Albert Astals Cid <aacid at kde.org>
Date:   Sun Dec 19 14:16:25 2010 +0000

    Fix last commit
    
    Applying patches by hand is bad

diff --git a/poppler/PDFDoc.cc b/poppler/PDFDoc.cc
index 089f38c..cb3de02 100644
--- a/poppler/PDFDoc.cc
+++ b/poppler/PDFDoc.cc
@@ -124,7 +124,7 @@ PDFDoc::PDFDoc(GooString *fileNameA, GooString *ownerPassword,
   fileName = fileNameA;
   guiData = guiDataA;
 
-  struct _stat buf;
+  struct stat buf;
   if (stat(fileName->getCString(), &buf) == 0) {
      size = buf.st_size;
   }
@@ -179,7 +179,7 @@ PDFDoc::PDFDoc(wchar_t *fileNameA, int fileNameLen, GooString *ownerPassword,
 
   // try to open file
   // NB: _wfopen is only available in NT
-  struct stat buf;
+  struct _stat buf;
   int size;
   version.dwOSVersionInfoSize = sizeof(version);
   GetVersionEx(&version);


More information about the poppler mailing list