From: compudj Date: Sat, 27 Aug 2005 03:42:02 +0000 (+0000) Subject: valgrind fix X-Git-Tag: v0.12.20~2404 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ba8a51cd97c90a2c1c636836b096d6cdfe3ff7c7;p=lttv.git valgrind fix git-svn-id: http://ltt.polymtl.ca/svn@1085 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/ltt/facility.c b/ltt/branches/poly/ltt/facility.c index 53519c02..01100f66 100644 --- a/ltt/branches/poly/ltt/facility.c +++ b/ltt/branches/poly/ltt/facility.c @@ -86,6 +86,7 @@ int ltt_facility_open(LttFacility *f, LttTrace * t, gchar * pathname) in.lineno = 0; in.error = error_callback; in.name = pathname; + in.unget = 0; //in.fd = g_open(in.name, O_RDONLY, 0); //if(in.fd < 0 ) {