Overview
Artifact ID: | 926e178a1f75a67cc3bc331f5ffec81aa6aedeed |
---|---|
Ticket: | d4fb4e80d220e46e588f310291fd7a4205e8cd67
Image photo commands read/write/put do not accept "-" as first letter in file names resp. image data |
User & Date: | anonymous 2016-12-06 21:35:23 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
If specifying file names starting with "-" (example "-folder.gif") to photo commands read and write gives error: unrecognized option "-folder.gif": must be -format, -from, -shrink, or -to while executing "$img2 read "-folder.gif"" Same problem when having image data for command "put" starting with "-" (i.e. integer 45): unrecognized option "--..." must be -format, or -to while executing "$img2 put [binary format "cu*" $rowList] Attached is a patch which works for me. It may break existing code, which does not conform to the documentation. Documentation says: read fileName options while read options filename does work with current implementation. Bug seems to be present in 8.5, too.
- foundin changed to: "8.6.6"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "b161dbf142556f12a9a6289ffc2a489dd98cabae"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "41. Photo Images"
- title changed to:
Image photo commands read/write/put do not accept "-" as first letter in file names resp. image data
- type changed to: "Patch"