.
D 2000-10-26T01:07:52
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2717\sBug\nVersion:\s8.2\nSubmitDate:\s'1999-09-10'\nLastModified:\s'1999-09-20'\nSeverity:\sMED\nStatus:\sReleased\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sSolaris\nOSVersion:\sSolaris7\s(Sparc)\nMachine:\sOther\nFixedDate:\s'1999-09-20'\nFixedInVersion:\s8.3b1\nClosedDate:\s'2000-10-25'\n\n\nName:\nWolfgang\sS.\sKechel\n\nComments:\nThe\scharacter\sclassification\sfunctions\sare\slikely\sto\sbe\smore\sportable.\n\s\s\s\sUsing\sthem\sinstead\sof\sthe\smacros\sis\snot\sa\sbig\sperformance\sloss.\n\nReproducibleScript:\ngcc\s-pipe\s-c\s-g\s-O\s-Wall\s-Wconversion\s-fPIC\n\s\s\s\s-I/export/home/p+r/g40/tcl8.2.0/unix/../generic\n\s\s\s\s-I/export/home/p+r/g40/tcl8.2.0/unix\s-DHAVE_UNISTD_H=1\s-DHAVE_LIMITS_H=1\n\s\s\s\s-DHAVE_GETCWD=1\s-DHAVE_OPENDIR=1\s-DHAVE_STRSTR=1\s-DHAVE_STRTOL=1\n\s\s\s\s-DHAVE_TMPNAM=1\s-DHAVE_WAITPID=1\s-DHAVE_UNISTD_H=1\s-DHAVE_SYS_PARAM_H=1\n\s\s\s\s-DUSE_TERMIOS=1\s-DHAVE_SYS_TIME_H=1\s-DTIME_WITH_SYS_TIME=1\n\s\s\s\s-DHAVE_TZNAME=1\s-DHAVE_TIMEZONE_VAR=1\s-DHAVE_ST_BLKSIZE=1\n\s\s\s\s-DSTDC_HEADERS=1\s-DNO_UNION_WAIT=1\s-DNEED_MATHERR=1\s-DRETSIGTYPE=void\n\s\s\s\s-DHAVE_SIGNED_CHAR=1\s-DHAVE_SYS_IOCTL_H=1\s-DHAVE_SYS_FILIO_H=1\n\s\s\s\s-DTCL_SHLIB_EXT=\\".so\\"\n\s\s\s\s/export/home/p+r/g40/tcl8.2.0/unix/../generic/tclCompile.c\n\s\s\s\sgcc\s-pipe\s-c\s-g\s-O\s-Wall\s-Wconversion\s-fPIC\n\s\s\s\s-I/export/home/p+r/g40/tcl8.2.0/unix/../generic\n\s\s\s\s-I/export/home/p+r/g40/tcl8.2.0/unix\s-DHAVE_UNISTD_H=1\s-DHAVE_LIMITS_H=1\n\s\s\s\s-DHAVE_GETCWD=1\s-DHAVE_OPENDIR=1\s-DHAVE_STRSTR=1\s-DHAVE_STRTOL=1\n\s\s\s\s-DHAVE_TMPNAM=1\s-DHAVE_WAITPID=1\s-DHAVE_UNISTD_H=1\s-DHAVE_SYS_PARAM_H=1\n\s\s\s\s-DUSE_TERMIOS=1\s-DHAVE_SYS_TIME_H=1\s-DTIME_WITH_SYS_TIME=1\n\s\s\s\s-DHAVE_TZNAME=1\s-DHAVE_TIMEZONE_VAR=1\s-DHAVE_ST_BLKSIZE=1\n\s\s\s\s-DSTDC_HEADERS=1\s-DNO_UNION_WAIT=1\s-DNEED_MATHERR=1\s-DRETSIGTYPE=void\n\s\s\s\s-DHAVE_SIGNED_CHAR=1\s-DHAVE_SYS_IOCTL_H=1\s-DHAVE_SYS_FILIO_H=1\n\s\s\s\s-DTCL_SHLIB_EXT=\\".so\\"\n\s\s\s\s/export/home/p+r/g40/tcl8.2.0/unix/../generic/tclDate.c\n\s\s\s\s/export/home/p+r/g40/tcl8.2.0/unix/../generic/tclDate.c:\sIn\sfunction\n\s\s\s\s`TclDatelex':\n\s\s\s\s/export/home/p+r/g40/tcl8.2.0/unix/../generic/tclDate.c:663:\swarning:\n\s\s\s\ssubscript\shas\stype\s`char'\n\s\s\s\s/export/home/p+r/g40/tcl8.2.0/unix/../generic/tclDate.c:666:\swarning:\n\s\s\s\ssubscript\shas\stype\s`char'\n\s\s\s\s/export/home/p+r/g40/tcl8.2.0/unix/../generic/tclDate.c:676:\swarning:\n\s\s\s\ssubscript\shas\stype\s`char'\n\s\s\s\s/export/home/p+r/g40/tcl8.2.0/unix/../generic/tclDate.c:686:\swarning:\n\s\s\s\ssubscript\shas\stype\s`char'\n\nObservedBehavior:\nWarnings\sdenote\sproblems\sin\susage\sof\sstring\shandling\sfunctions/macros.\n\s\s\s\sIf\sthe\sPOSIX\smacros\sshould\sbe\sused,\sthe\sindex\svariables\sshould\shave\stype\n\s\s\s\sint\snot\schar\n\nDesiredBehavior:\nIt\slike\sTcl\sto\smake\ssure\sthe\sreal\sfunctions\sare\sused.\n\s\s\s\sAccording\sto\sPOSIX,\sthis\sis\sreached\sby\splacing\n\s\s\s\s#undef-directives\sfor\sisalpha\sand\sfriends\safter\sincluding\sstring.h.\n\s\s\s\sI\shave\stried\sthis\sout\sand\sit\sworks\sfine\son\smany\splatforms\n\s\s\s\s(tested\sCompaq\sTrue\sUnix,\sSOlaris,\sAIX,\sIrix,\sLinux,\sNT,\sHP/UX)\n\nPatch:\nAdd:\n#undef\sisalpha\n#undef\sisdigit\nto\stclDate.c\safter\sinclusion\sof\stclPort.h\n\nPatchFiles:\ntclDate.c\n\n\n\nThese\sfunctions\swere\sfixed\sby\swrapping\sthe\sargs\sin\sUCHAR()\sfor\s8.3b1.\s\n--\s09/20/1999\shobbs
J foundin obsolete:\s8.2
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title Compilation\sproblemms\sunder\sSOlaris2\swith\sgcc
J type Bug
K 218917ffffffffffffffffffffffffffffffffff
U nobody
Z 7267dbabbce40e27cf1512f28d9f1d02