Tk Source Code

Artifact [926e178a]
Login

Artifact 926e178a1f75a67cc3bc331f5ffec81aa6aedeed:

Ticket change [926e178a] - New ticket [d4fb4e80] Image photo commands read/write/put do not accept "-" as first letter in file names resp. image data. by anonymous 2016-12-06 21:35:23.
D 2016-12-06T21:35:23.499
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment If\sspecifying\sfile\snames\sstarting\swith\s"-"\s(example\s"-folder.gif")\sto\sphoto\scommands\sread\sand\swrite\sgives\serror:\r\nunrecognized\soption\s"-folder.gif":\smust\sbe\s-format,\s-from,\s-shrink,\sor\s-to\r\n\s\s\s\swhile\sexecuting\r\n"$img2\sread\s"-folder.gif""\r\n\r\nSame\sproblem\swhen\shaving\simage\sdata\sfor\scommand\s"put"\sstarting\swith\s"-"\s(i.e.\sinteger\s45):\r\nunrecognized\soption\s"--..."\smust\sbe\s-format,\sor\s-to\r\n\s\s\s\swhile\sexecuting\r\n"$img2\sput\s[binary\sformat\s"cu*"\s$rowList]\r\n\r\nAttached\sis\sa\spatch\swhich\sworks\sfor\sme.\sIt\smay\sbreak\sexisting\scode,\swhich\sdoes\snot\sconform\sto\sthe\sdocumentation.\sDocumentation\ssays:\r\nread\sfileName\soptions\r\nwhile\sread\soptions\sfilename\sdoes\swork\swith\scurrent\simplementation.\r\nBug\sseems\sto\sbe\spresent\sin\s8.5,\stoo.
J foundin 8.6.6
J is_private 0
J login anonymous
J priority 5\sMedium
J private_contact b161dbf142556f12a9a6289ffc2a489dd98cabae
J resolution None
J severity Important
J status Open
J submitter anonymous
J subsystem 41.\sPhoto\sImages
J title Image\sphoto\scommands\sread/write/put\sdo\snot\saccept\s"-"\sas\sfirst\sletter\sin\sfile\snames\sresp.\simage\sdata
J type Patch
K d4fb4e80d220e46e588f310291fd7a4205e8cd67
U anonymous
Z 710635f990b83285b1c4189b436d53ad