.
D 2025-04-22T12:50:36.839
J assignee nobody
J closer nobody
J cmimetype text/x-markdown
J comment The\stk_getOpenFile\sdocs\sseem\soutdated\sand\sunclear\sabout\sMacTypes.\r\n\r\nThe\sdocs\ssay\r\n\r\n>\sOn\sthe\sMacintosh\splatform,\sa\sfile\smatches\sa\sfile\spattern\sif\sits\sname\smatches\sat\sleast\sone\sof\sthe\sextension(s)\sAND\sit\sbelongs\sto\sat\sleast\sone\sof\sthe\smacType(s)\sof\sthe\sfile\spattern.\sFor\sexample,\sthe\sC\sSource\sFiles\sfile\spattern\sin\sthe\ssample\scode\smatches\swith\sfiles\sthat\shave\sa\s-c\sextension\sAND\sbelong\sto\sthe\smacType\sTEXT.\sTo\suse\sthe\sOR\srule\sinstead,\syou\scan\suse\stwo\sfile\spatterns,\sone\swith\sthe\sextensions\sonly\sand\sthe\sother\swith\sthe\smacType\sonly.\sThe\sGIF\sFiles\sfile\stype\sin\sthe\ssample\scode\smatches\sfiles\sthat\sEITHER\shave\sa\s-gif\sextension\sOR\sbelong\sto\sthe\smacType\sGIFF.\r\n>\r\n>\sOn\sthe\sUnix\sand\sWindows\splatforms,\sa\sfile\smatches\sa\sfile\spattern\sif\sits\sname\smatches\sat\sat\sleast\sone\sof\sthe\sextension(s)\sof\sthe\sfile\spattern.\sThe\smacTypes\sare\signored.\r\n\r\nI\shave\sfigured\sout\sMacintosh\shere\sis\snot\sOS\sX\s-\swhich\sis\sUnix\s-\sbut\sOS\s9.\sWhich\smakes\sthe\sdocs\sobsolete,\sOS\sX\sis\s20\syears\sold\sat\sthis\spoint,\sand\sit\sis\susing\sUTIs\ssince\saround\sSnow\sLeopard\s(around\s2006).\r\n\r\nI\shave\snot\sfigured\sout\swhat\sto\sdo\son\sOS\sX,\show\sto\sproperly\scall\sthis.\sIt\sseems\sthe\smacType\sis\sstill\sneeded?\sI\shave\sfigured\sout\sPDFs,\sfor\sexample,\sused\sto\shave\sfour\sletter\scode\s"PDF\s"\s(with\sthe\sspace),\sbut\sI\scannot\spass\sthat\sto\stk_getOpenFile?
J is_private 0
J login karelbilek
J priority 5\sMedium
J private_contact a065b26500bd4a9c5c35f8d0909d3a287ce576f7
J resolution None
J severity Minor
J status Open
J submitter karelbilek
J subsystem 37.\sFile\sSystem
J title Unclear\sdocs\son\sMacTypes\sin\stk_getOpenFile
J type Bug
K fd21a14f5c8a5645c4d79e2aaf09ca8c566b6a7f
U karelbilek
Z 1d6a6b18b16f6200f8f3fc260ffc2ce5