Revision: 881 Author: tim.bunce Date: Mon Oct 26 15:01:29 2009 Log: Provide a little more detail if deflate() fails (see RT#50851 https://rt.cpan.org/Ticket/Display.html?id=50851)
http://code.google.com/p/perl-devel-nytprof/source/detail?r=881 Modified: /trunk/NYTProf.xs ======================================= --- /trunk/NYTProf.xs Sat Oct 24 08:56:24 2009 +++ /trunk/NYTProf.xs Mon Oct 26 15:01:29 2009 @@ -700,8 +700,8 @@ return; } } else { - croak("deflate failed, error %d (%s) in pid %d", status, ofile->zs.msg, - getpid()); + croak("deflate(%ld,%d) failed, error %d (%s) in pid %d", + (long)ofile->zs.avail_in, flush, status, ofile->zs.msg, getpid()); } } } --~--~---------~--~----~------------~-------~--~----~ You've received this message because you are subscribed to the Devel::NYTProf Development User group. Group hosted at: http://groups.google.com/group/develnytprof-dev Project hosted at: http://perl-devel-nytprof.googlecode.com CPAN distribution: http://search.cpan.org/dist/Devel-NYTProf To post, email: [email protected] To unsubscribe, email: [email protected] -~----------~----~----~----~------~----~------~--~---
