"Yelp crashes when trying to view one of GNU Info Pages"

1. the info files on solaris (for some reason) are not compressed. And
yelp, expects it to be compressed. (info.gz). Matt mentioned that on
Linux, they seem to be compressed. So a work-around would actually be
to compress all the info pages on Solaris.

2. Since the info files are UTF-8 encoded, the mime-type that
'g_content_type_guess()' returns is 'application/octet-stream' - and there is
no support for such a mime-type (since these are gzipped on linux, and a call
to g_content_type_guess() will return 'appplication/x-gzip').

The attached patch fixes both these issues. 


Thanks,
Partha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5068-spec.diff
Type: text/x-patch
Size: 553 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20090407/770ae541/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yelp-05-parse-crash.diff
Type: text/x-patch
Size: 2108 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20090407/770ae541/attachment-0001.bin>
  • [jds-review] R... Parthasarathi Susarla

Reply via email to