.
D 2013-06-28T18:44:42.546
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment This\scheck,\sdefined\sin\stcl.m4\sis\sincorrect:\r\n\r\n\t#\sNow\scheck\sfor\sauxiliary\sdeclarations\r\n\tAC_CACHE_CHECK([for\sstruct\sdirent64],\stcl_cv_struct_dirent64,[\r\n\t\s\s\s\sAC_TRY_COMPILE([#include\s<sys/types.h>\r\n#include\s<sys/dirent.h>],[struct\sdirent64\sp;],\r\n\t\ttcl_cv_struct_dirent64=yes,tcl_cv_struct_dirent64=no)])\r\n\tif\stest\s"x${tcl_cv_struct_dirent64}"\s=\s"xyes"\s;\sthen\r\n\t\s\s\s\sAC_DEFINE(HAVE_STRUCT_DIRENT64,\s1,\s[Is\s'struct\sdirent64'\sin\s<sys/types.h>?])\r\n\tfi\r\n\r\nThe\sheader\sfile\sis\sincorrect,\sit\sshould\sbe:\r\n\r\n#include\s<dirent.h>\r\n\r\nFrom\sthe\sreaddir()\sman\spage:\r\n\r\n\r\nREADDIR(3)\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sLinux\sProgrammer's\sManual\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sREADDIR(3)\r\n\r\nNAME\r\n\s\s\s\s\s\s\sreaddir\s-\sread\sa\sdirectory\r\n\r\nSYNOPSIS\r\n\s\s\s\s\s\s\s#include\s<sys/types.h>\r\n\s\s\s\s\s\s\s#include\s<dirent.h>\r\n\r\n\s\s\s\s\s\s\sstruct\sdirent\s*readdir(DIR\s*dir);\r\n\r\nDESCRIPTION\s...\r\n\r\n---------\r\n\r\nThis\swas\sdiscovered\susing\s\s32-bit\slinux\sbuild,\swhich\shad\sa\sfailure\swith\s[glob\s*]\sused\sduring\spackage\sdiscovery\sin\sthe\sinit\sphase.\s\sBasically,\stclsh\sutterly\sfailed\sto\sfind\sany\spackages\sbecause\sreaddir()\sfailed.\s\sReaddir()\sfailed\sbecause\sit\swas\susing\sthe\s32-bit\sstruct\sand\sreaddir\scould\snot\sstore\sthe\sinode\svalues\sin\sthe\sdirent\sstruct.\r\n\r\nUltimately\straced\sback\sto\sthe\sbuild\sconfigure\snot\sdoing\sthe\sright\sthing\sfor\sa\slarge\sfilesystem\saware\sOS.
J foundin 8.5
J is_private 0
J login anonymous
J priority 5\sMedium
J private_contact b80f46c1123ce4c80dc91b0c46319f6a27235f6a
J resolution None
J severity Severe
J status Open
J submitter anonymous
J subsystem 53.\sConfigure\sand\sBuild\sTools
J title dirent64\scheck\sis\sincorrect\sin\stcl.m4
J type Bug
K 32afa6e256555ebd6179b7227a15a923e1434ee6
U anonymous
Z 6de3e5fef2bd25a52eabde94c08f652e