Hi,
No , there was no segfault. It's strange but on my Arch machine it just said that file don't exists. This is probably because I store my hydrogen songs in SVN. Few days ago , I force h2playlist file to be in text ( actually I remove mime property: application/xml ), cause now I can diff files.
For some reason this part of code required "binary" files. I changed this check to be more QT. This seems to be better anyway, beside of my problems ;-)
P.
Dnia Poniedziałek, 13 Października 2014 07:49 Sebastian Moors <mau...@smoors.de> napisał(a)
Hi Pawel!
What exactly is the "problem" with the code? Is it crashing with a segmentation fault? If yes, have you checked if playlistInfoFile.c_str() is a null pointer in the cases?
Best regards,
Sebastian
Pawel wrote:Hi, I had problem with loading playlist on one of my machines. This code failed.std::string playlistInfoFile = filename; std::ifstream verify( playlistInfoFile.c_str() , std::ios::in | std::ios::binary ); Really, I'm not sure why, but for fix this I change this to more proper QT style. Patch is in attachment. Please say is this OK or not, and apply if you can. Best Regards Xj
------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________ Hydrogen-devel mailing list Hydrogen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://p.sf.net/sfu/Zoho
_______________________________________________ Hydrogen-devel mailing list Hydrogen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hydrogen-devel