One more patch. It restores fread() call dropped by SeoZ in r62592
while he was fixing compiler warnings. No code, no warning. That is
smart, isn't it?
-- Igor
Index: src/lib/route_gpx.c
===================================================================
--- src/lib/route_gpx.c (revision 77392)
+++ src/lib/route_gpx.c (working copy)
@@ -53,7 +53,8 @@
buf = malloc(sz);
if (buf)
{
- eina_simple_xml_parse(buf, sz, EINA_TRUE, _parser_cb, route);
+ size_t n = fread(buf, 1, sz, f);
+ eina_simple_xml_parse(buf, n, EINA_TRUE, _parser_cb, route);
free(buf);
}
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel