<i>glob -types type/creator/hidden not implemented on OSX</i> status still Open with 4 other changes
by
.
D 2003-10-14T19:07:50
J icomment Logged\sIn:\sYES\s\nuser_id=90580\n\nOn\sTuesday,\sOct\s14,\s2003,\sat\s19:56\sAustralia/Sydney,\sDaniel\sA.\s\nSteffen\s\nwrote:\n>\sOn\sTuesday,\sOct\s14,\s2003,\sat\s19:40\sAustralia/Sydney,\sVince\s\nDarley\s\n>\swrote:\n>>\sOn\sTue,\s14\sOct\s2003,\sDaniel\sA.\sSteffen\swrote:\n>>>\sOn\sMonday,\sOct\s13,\s2003,\sat\s21:38\sAustralia/Sydney,\s\nVince\sDarley\s\n>>>\swrote:\n>>>\n>>>>\sThe\s'NativeMatchType'\sin\stcl/unix/tclUnixFile.c\sneeds\sto\s\nbe\supdated\s\n>>>>\sto\n>>>>\s(somehow)\saccess\sthe\sfile\stype/creator\swhen\srunning\son\s\na\scompatible\n>>>>\sversion\sof\sUnix\s(i.e.\sDarwin).\n>>>\n>>>\sit\sshould\s\sbe\svery\seasy\sto\suse\sthe\snew\s\nTclMacOSXGetFileAttribute()\s\n>>>\sfrom\n>>>\sTIP118\sfor\sthis.\n>>\n>>\sShould\sthis\sjust\sbe\s#ifdef'd\sinto\sNativeMatchType\sso\sit\s\ncompiles\son\s\n>>\sthe\n>>\srelevant\splatform,\sor...?\n>\n>\sthe\screator/type\scode\sis\s#ifdef\sMAC_OSX_TCL\sso\sthe\ssame\s\nwould\sbe\s\n>\sappropriate,\sc.f\stclMacOSXFCmd.c\n>\n>\s[glob\s-types\shidden]\sshould\sbe\sproperly\ssupported\sas\swell,\s\nthat's\salso\s\n>\shandled\sby\sTclMacOSXGetFileAttribute()\sand\scontrolled\sby\s\nsame\s#ifdef\n>\n>\salso\s[glob\s-types\sreadonly]\sshould\sbe\shandled\son\sunices\sthat\s\nsupport\s\n>\sCHFLAGS,\sc.f\sGetReadOnlyAttribute()\sin\stclUnixFCmd.c,\sthis\s\nis\s\n>\scontrolled\sby\s#if\sdefined(HAVE_CHFLAGS)\s&&\s\ndefined(UF_IMMUTABLE)\n\nas\sfar\sas\ssupport\sfor\sreadonly\sgoes,\sthe\s4\sline\spatch\sbelow\s\nshould\sdo\s\nthe\strick,\swhat\sdo\syou\sthink?\sthis'll\swork\son\sOSX\sand\sany\sBSD\s\nthat\shas\s\nchflags\n\nthis\sway\s[glob\s-type\sreadonly]\swill\sfind\sany\sfiles\sthat\shave\s[file\s\nattribute\s-readonly]\sbut\salso\sfiles\sthat\sdon't\shave\sany\swrite\s\nperms\s(to\s\npreserve\sexisting\sbehaviour)\n\n>>\sAlso,\sby\sthe\stime\swe're\sin\sNativeMatchType\swe\sactually\sonly\s\nhave\sa\s\n>>\snative\n>>\spath\sdescription\s(no\sTcl_Obj)\sso\swe\sreally\swant\saccess\sto\sthe\s\ninnards\s\n>>\sof\n>>\sTclMacOSXGetFileAttribute.\n>\n>\sthat's\sa\sbit\sof\sa\spain,\sit\skills\scode\smodularization\sfor\sthese\s\n>\sfunctions...\n>\n>\sit\swouldn't\sbe\shard\sto\scopy\sthe\sguts\sout\sof\s\n>\sTclMacOSXGetFileAttribute()\sand\sGetReadOnlyAttribute()\sinto\s\nthe\sunix\s\n>\sNativeMatchType()\sbut\sit\sdoesn't\sseem\sto\sbe\svery\sclean.\s\nmaybe\swe\sneed\s\n>\sa\snative\spath\saware\sversions\sof\s\n>\sTclMacOSXGetFileAttribute/GetReadOnlyAttribute\s?\n\nmaybe\sbetter\sto\smake\sa\sTclMacOSXNativeMatchType()\sthat\s\nchecks\sfor\sOSX\s\nspecific\spossibilities\slike\screator/type/hidden\sand\sput\sthat\sinto\s\ntclMacOSXFCmd.c\sand\scall\sit\sfrom\sthe\sunix\sNativeMatchType()?\s\nThat\sway\s\nplatform\sspecific\sFS\scode\sstays\sin\stclMacOSXFCmd.c\s\s(and\scan\s\npotentially\sbe\sshared\svia\sstatic\sfunctions).\n\n
J login das
J mimetype text/plain
J username das
K 823329ffffffffffffffffffffffffffffffffff
U das
Z b3591d5d6687b4fdfbdacf9c0f4131cd