Tcl Library Source Code

Artifact [8c48571d8a]
Login

Artifact 8c48571d8acb6d0791e605f852fb6b30d91c29e4691cb625c630b795882b252a:

Ticket change [8c48571d8a] - Ticket [4ff12e3abdbad86b|4ff12e3abd] <i>fileutil::magic fails to identify mimetype</i> status still Open with 6 other changes by aku 2018-05-17 20:03:12.
D 2018-05-17T20:03:12.459
J comment package\srequire\sfileutil::magic::filetype\r\nfileutil::magic::filetype\s/Users/kevin/Desktop/dndtest.rb\r\n\r\nBased\son\sinspection\sof\sthe\ssource\scode\sof\sthe\smodule,\sI\sexpected\sthe\soutput\sto\sbe\ssomething\slike:\r\n\r\n\s\s\s\smime\stext/x-ruby\r\n\r\nbut\sthere's\sno\soutput\sat\sall.\r\n\r\nChecking\sto\ssee\sif\sthe\smodule\sis\scorrectly\sinstalled,\sI\srun\sthis\scommand:\r\n\r\n\s\s\s\sfileutil::magic::filetype\s/Users/kevin/Downloads/tcllib-1.19/devdoc/devguide.html\r\n\r\nAnd\sI\sget\sthis\soutput:\r\n\r\n\s\s\s\s{{HTML\sdocument\stext}}\s{text\shtml}\s{}\r\n\r\nSo,\sit\sseems\sto\sbe\sworking\sas\sdesigned,\sat\sleast\sin\ssome\sinstances.\sBut\sothers,\ssuch\sas\sscript\sand\stext\sfiles,\sreturn\sno\soutput.\sThis\sseems\sto\sbe\sa\sbug\sto\sme.
J icomment Kevin,\scould\syou\sattach\sa\ssmall\ssample\sruby\sfile\sto\sthe\sticket\swhich\sdemos\sthe\sproblem\s?
J login aku
J mimetype text/plain
J priority 6
J title fileutil::magic\sfails\sto\sidentify\smimetype
K 4ff12e3abdbad86b99ec59f604632952cd4b44ab
U aku
Z 69bea07c73fdc933b7d16fe961f56c79