.
D 2003-02-18T22:58:32
J assignee andreas_kupries
J cmimetype text/plain
J comment I\sbriefly\sbrough\sthis\sup\son\stcl-core.\s\sOn\sUnix(like)\nsystems,\sway\stoo\smuch\smemory\sis\sbeing\sallocated\sfor\nper-thread\sstructures.\s\sBasically,\ssome\sstorage\sis\nallocated\sfor\sa\sfilename\sreturned\sfrom\sdirent(),\sbut\nthe\samount\sof\sspace\sallocated\sis\senough\sfor\sa\sfull\npathname,\swhen\sonly\senough\sfor\sa\sfilename\sis\srequired.\n\sIn\sother\swords,\s"PATH_MAX"\sis\sused\swhere\s"NAME_MAX"\sis\nwhat\swas\swanted.\s\sThe\sdifference\sis\sabout\s3.75k/thread\non\smy\sLinux\sbox,\sand\smight\sbe\sworse\son\sother\ssystems.\s\s\n\nFurthermore,\sPOSIX\sallows\sa\ssystem\sto\snot\sdefine\nPATH_MAX\sif\sit\sdoesn't\shave\sa\spathname\slimit.\s\sThe\sHurd\nis\ssuch\sa\ssystem,\sso\sthis\scode\sbreaks\son\sThe\sHurd\n(which\sshouldn't\sbe\sa\smajor\sproblem,\ssince\sthe\scode\sis\nwrong\sto\sbegin\swith).\n\nI'm\sattaching\sthe\spatch\sI\swrote\sfor\sDebian's\sTcl8.4\npackage.\s\sComments,\scriticism\sand\squestions\swelcomed.
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter xtifr
J subsystem 49.\sThreading
J title too\smuch\sper-thread\smemory/hurd\sbreakage
J type Bug
K 689100ffffffffffffffffffffffffffffffffff
U xtifr
Z 4aa435e5fcf0e5f7df2bf1d3c1a32351