Overview
| Artifact ID: | e750bdd9950b183f52285d9ce4a2dd843f866384 |
|---|---|
| Ticket: | 219111ffffffffffffffffffffffffffffffffff
signatures of strpbrk() and strtok() in "compat/string.h" co |
| User & Date: | nobody on 2000-10-26 01:10:57 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
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
- foundin changed to: "obsolete: 8.4a1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "75. Tutorial"
- title changed to:
signatures of strpbrk() and strtok() in "compat/string.h" co
- type changed to: "Bug"