Skip to content
Tcl Source Code History Of Ticket 1001325
Login

History Of Ticket 1001325

Artifacts Associated With Ticket 1001325

  1. Ticket change [be743f2c16] (rid 102074) by nobody on 2004-07-31 22:55:41:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      When compiling tcl 8.4.7 on IRIX 5.3 with --enable-threads one ends up with
      cfe: Error: ./../unix/tclUnixThrd.c, line 837: The number of arguments doesn't agree with the number in the declaration.
           if (readdir_r (dir, ent, &ent) != 0) {
       ------------------^
      *** Error code 1 (bu21)
      
      This is because on IRIX 5.3 readdir_r() is
      
       struct dirent *readdir_r (DIR *dirp, struct dirent *res);
      
      unix/tclUnixThrd.c thushas to be changed on IRIX 5.3 into
      
      #ifdef HAVE_READDIR_R
          ent = &tsdPtr->rdbuf.ent;
      /*    if (TclOSreaddir_r(dir, ent, &ent) != 0) {
              ent = NULL;
          }
      */
              ent=TclOSreaddir_r(dir, ent);
      
      #else /* !HAVE_READDIR_R */
      
      ideally the configure tools should detect which version of readdir_r is being used on a given platform.
      
    4. foundin initialized to: "obsolete: 8.4.7"
    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: "49. Threading"
    10. title initialized to: "readdir_r() is different on IRIX 5.3"
    11. type initialized to: "Bug"
  2. Add attachment "readdir_r.patch" [385c9fd88c] (rid 112195) by mdejong on 2004-09-24 13:17:00.

  3. Ticket change [e0541d140b] (rid 115170) by mdejong on 2004-09-24 13:17:00:

    1. icomment:
      
      
      File Added - 102636: readdir_r.patch
      
      Logged In: YES 
      user_id=90858
      
      Could someone with an IRIX 5.3 system try this patch? It should
      detect the 2 or 3 arg version of readdir_r, but it has had
      no testing.
      
      
    2. login: "mdejong"
    3. mimetype: "text/plain"
    4. username: "mdejong"
  4. Ticket change [74fe252a5c] (rid 105317) by gschwarz on 2004-11-18 06:40:01:

    1. icomment:
      Logged In: YES 
      user_id=951222
      
      I've applied that patch to 8.4.7, and it now compiles on IRIX 
      5.3.
      
      
      
    2. login: "gschwarz"
    3. mimetype: "text/plain"
    4. username: "gschwarz"
  5. Ticket change [a477395af1] (rid 110212) by mdejong on 2004-11-23 05:40:46:

    1. closedate changed to: "2004-11-22T22:40:46"
    2. closer changed to: "mdejong"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"
  6. Add attachment "1001325.patch" [bc6d481ccf] (rid 101747) by kennykb on 2004-11-25 01:13:50.

  7. Ticket change [73b507b2f5] (rid 105085) by kennykb on 2004-11-25 01:13:50:

    1. assignee changed to: "dgp"
    2. icomment:
      Logged In: YES 
      user_id=99768
      
      Mo's change breaks an ordinary Linux-IA32 build, because NULL
      is undefined unless <stdlib.h> is included.  Don, could you
      rerun
      autoconf with the attached 1001325.patch? (I don't have 2.13 to
      and at the moment.)
      
      
    3. login: "kennykb"
    4. mimetype: "text/plain"
    5. status changed to: "Open"
    6. username: "kennykb"
  8. Ticket change [49bda49376] (rid 100096) by kennykb on 2004-11-25 01:13:51:

    1. icomment:
      
      
      File Added - 109993: 1001325.patch
      
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  9. Ticket change [73b06788ac] (rid 105081) by dgp on 2004-11-25 01:41:56:

    1. assignee changed to: "kennykb"
    2. icomment:
      
      
      File Added - 109995: autoconf.patch
      
      Logged In: YES 
      user_id=80530
      
      new patch includes
      outcome of running
      autoconf-2.13.
      
      
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. username: "dgp"
  10. Add attachment "autoconf.patch" [bc11db9e6f] (rid 129596) by dgp on 2004-11-25 01:41:56.

  11. Ticket change [4c4ececfe6] (rid 126865) by kennykb on 2004-11-25 03:22:45:

    1. closedate changed to: "2004-11-24T20:22:45"
    2. closer changed to: "kennykb"
    3. icomment:
      Logged In: YES 
      user_id=99768
      
      Correction applied to both HEAD and 8.4 branch
      
      
    4. login: "kennykb"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "kennykb"
  12. Ticket change [b73f297718] (rid 125551) by dgp on 2004-11-25 05:00:37:

    1. status changed to: "Open"
  13. Ticket change [61b44783c7] (rid 92287) by dgp on 2004-11-25 05:00:38:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      See 1071701.  Things are
      still broken.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  14. Ticket change [9ffe91ac43] (rid 96731) by kennykb on 2004-11-29 22:55:39:

    1. assignee changed to: "dgp"
    2. icomment:
      Logged In: YES 
      user_id=99768
      
      I see that you closed 1071701 - is this bug now fixed also?
      
      
    3. login: "kennykb"
    4. mimetype: "text/plain"
    5. username: "kennykb"
  15. Ticket change [90f059076e] (rid 120542) by dgp on 2004-11-29 22:58:04:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      It would be best for someone with
      and IRIX 5.3 system to say for sure.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  16. Ticket change [70987dfaa4] (rid 100512) by dgp on 2004-11-29 22:58:55:

    1. priority changed to: "9 Immediate"
  17. Ticket change [0e5df3f1bb] (rid 94602) by jenglish on 2004-11-30 00:45:18:

    1. icomment:
      Logged In: YES 
      user_id=68433
      
      A suggestion: don't  use readdir_r() at all, unless it can
      be demonstrated that readdir() is in fact broken on the host
      platform.
      
      On most systems (including IRIX 5.3 AFAICT), readdir() is
      perfectly thread-safe as long as you don't share the same
      DIR * across multiple threads (which Tcl doesn't do).
      
      
    2. login: "jenglish"
    3. mimetype: "text/plain"
    4. username: "jenglish"
  18. Ticket change [a3969391ce] (rid 110065) by dgp on 2004-12-02 08:17:56:

    1. closedate changed to: "2004-12-02T01:17:56"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      unless someone says
      otherwise, I believe this is fixed
      for Tcl 8.4.9.
      
      jenglish''s suggestion is a
      good one to explore in 8.5 development.
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "dgp"