[redland-dev] perl example.pl failing

John C Barstow jbowtie at amathaine.com
Thu Mar 30 20:00:30 BST 2006


Dave mentioned this some time back. Quote below the line.
-----------------------------------------------------------------------

Actually as you can see, it's due to an extra fclose() on a file handle.
Seems to fix it and looks like it has been a bug for some time.

I don't think I'll make a redland 1.0.4 just for this one line change,
although I've applied it to the redland debs, just uploaded to
download.librdf.org.

Dave

-----------------
--- redland-1.0.2/librdf/rdf_parser_raptor.c.orig       26 Jan 2006
04:57:32 -0000      1.84
+++ redland-1.0.2/librdf/rdf_parser_raptor.c    19 Feb 2006 20:34:03
-0000
@@ -331,7 +331,6 @@
   }

   if(feof(context->fh) || status <1) {
-    fclose(context->fh);
     context->fh=NULL;
   }

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.gnomehack.com/pipermail/redland-dev/attachments/20060331/c6c0ba07/attachment.pgp


More information about the redland-dev mailing list