Skip to content
Tcl Source Code History Of Ticket 219111
Login

History Of Ticket 219111

Artifacts Associated With Ticket 219111

  1. Ticket change [e750bdd995] (rid 104436) by nobody on 2000-10-26 01:10:57:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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
      
      
      
    4. foundin initialized to: "obsolete: 8.4a1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "75. Tutorial"
    10. title initialized to:
      signatures of strpbrk() and strtok() in "compat/string.h" co
      
    11. type initialized to: "Bug"
  2. Ticket change [b4774262ca] (rid 125040) by welch on 2000-10-26 08:34:57:

    1. closedate changed to: "2000-10-26T01:34:57"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [879efad20d] (rid 131725) by dgp on 2001-04-05 06:52:46:

    1. closedate changed to: "2001-04-04T23:52:46"
    2. closer changed to: "dgp"
    3. subsystem changed to: "53. Configuration and Build Tools"
    4. title changed to:
      signatures of strpbrk() and strtok() in "compat/string.h" co