Package: rsrce
Version: 0.1-2

Hi!

The export command fails silently when trying to export binary resources
with commands
  > export <resource> <file>
  > export <resource> <file> bin
It's also impossible to export supported text resources ("STR", "STR#"
and "CMDL") in binary format, as the command
  > export <resource> <file> bin
fails silently for these as well.

I don't have any problems with exporting in txt format.

Reported problems are caused by incorrect logic in tr_lookup function.
The type compare is done for each entry of translator table, while
original intention was likely to skip this condition for entries with empty
string in type field. Attached patch fixes this and solves reported problems.


Regards,

Piotr Krysiuk

Attachment: rsrce-0.1-bin.patch
Description: Binary data

Reply via email to