|
2001-04-05
| ||
| 06:52 | • Ticket [219111ffff] signatures of strpbrk() and strtok() in "compat/str... artifact: 879efad20d user: dgp | |
|
2000-10-26
| ||
| 08:34 | • Closed ticket [219111ffff]. artifact: b4774262ca user: welch | |
| 01:10 | • New ticket [219111ffff]. artifact: e750bdd995 user: nobody | |
signatures of strpbrk() and strtok() in "compat/string.h" co
Closed / Fixed219111ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:10:57
OriginalBugID: 6020 Bug Version: 8.4a1 SubmitDate: '2000-07-18' LastModified: '2000-07-18' Severity: LOW Status: Released Submitter: techsupp ChangedBy: ericm OS: All Unix OSVersion: SunOS 4.1.3_U1 FixedDate: '2000-07-18' FixedInVersion: 8.4a2 ClosedDate: '2000-10-25' Name: Q. Alex Zhao Comments: Maybe this is a problem with TclX, I'm not sure. ReproducibleScript: In "compact/string.h": extern char * strpbrk _ANSI_ARGS_((CONST char *string, char *chars)); extern char * strtok _ANSI_ARGS_((CONST char *s, CONST char *delim)); These are in contrary to the system delarations. ObservedBehavior: This prevented TclX to compile on SunOS 4 with egcs-1.1.2. DesiredBehavior: Successful compilation. The correct signatures should be: extern char * strpbrk _ANSI_ARGS_((CONST char *string, CONST char *chars)); extern char * strtok _ANSI_ARGS_((char *s, CONST char *delim)); My "POSIX Programmer's Guide" and the Linux man pages agree, the definitions should be as shown here. I corrected the sources and committed the change to the CVS repository. The fix will go out with Tcl 8.4a2. Thanks for finding this bug! Eric Melski The Other Tcl Guy ericm at ajubasolutions.com Ajuba Solutions -- 07/18/2000 ericm
welch Closed ticket [219111ffff].
[History diff]2000-10-26 08:34:57
dgp Ticket [219111ffff]: 4 changes
[History diff]2001-04-05 06:52:46
Log in (anonymous is fine) to add a comment.