On Thu, 2018-10-25 at 17:54 +0200, Michal Sudolsky wrote:
> I do not think this was good change:
> 
> https://sourceforge.net/p/podofo/code/1870/tree//podofo/trunk/src/base/PdfOutputStream.cpp?diff=50f1cef7e88f3d7cbdd252d0:1869
> 
> I would rather ignore such call to write:
> 
>     if( !pBuffer ) 
>     {
>         return 0;
>     }

        Hi,
okay, I've no problem with the change.

I'd say PoDoFo can be made more forgiving on more places, to allow load
of certainly broken PDF files (not that it's this case).

I made the change as you suggested as r1946:
http://sourceforge.net/p/podofo/code/1946

Ideally propose changes as attached patches the next time, it's more
convenient and avoids mistakes when applying the change.

        Thanks and bye,
        zyx




_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to