Skip to content
Tcl Source Code History Of Ticket 524352ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 524352ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 524352ffffffffffffffffffffffffffffffffff

  1. Ticket change [9fed141c59] (rid 96722) by jkbonfield on 2002-03-01 14:58:00:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      On MacOS X setting environment variables often 
      failed if it required growing the environment space. 
      The next array names, array get, or similar function 
      would reset the environment variables back to an 
      earlier set.
      
      Eg test with:
      
      set env(a) b
      array names env
      puts $env(a)
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "jkbonfield"
    9. subsystem initialized to: "08. Environment Variables"
    10. title initialized to: "Fix set env() on MacOS X"
    11. type initialized to: "Patch"
  2. Ticket change [dc3d6aef24] (rid 108104) by jkbonfield on 2002-03-01 21:58:43:

    1. assignee changed to: "wolfsuit"
  3. Ticket change [450c6f00c9] (rid 116814) by jkbonfield on 2002-03-01 22:01:03:

    1. icomment:
      Logged In: YES 
      user_id=154581
      
      Sorry - I don't seem able to attach a file using IE on the 
      Mac. Don't know why. Anyway here's the patch:
      
      *** tclEnv.c.orig       Tue Feb  5 02:21:59 2002
      --- tclEnv.c    Fri Mar  1 14:52:08 2002
      ***************
      *** 191,197 ****
            if (index == -1) {
        #ifndef USE_PUTENV
              if ((length + 2) > environSize) {
      !           char **newEnviron;
        
                  newEnviron = (char **) ckalloc((unsigned)
                          ((length + 5) * sizeof(char *)));
      --- 191,197 ----
            if (index == -1) {
        #ifndef USE_PUTENV
              if ((length + 2) > environSize) {
      !           char **newEnviron, ***e;
        
                  newEnviron = (char **) ckalloc((unsigned)
                          ((length + 5) * sizeof(char *)));
      ***************
      *** 202,207 ****
      --- 202,209 ----
                  }
                  environ = newEnviron;
                  environSize = length + 5;
      +           e = _NSGetEnviron();
      +           *e = environ;
              }
              index = length;
              environ[index + 1] = NULL;
      
      
      
    2. login: "jkbonfield"
    3. mimetype: "text/plain"
    4. username: "jkbonfield"
  4. Ticket change [acc7f543d8] (rid 101352) by davygrvy on 2002-03-13 17:18:08:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      excellent.  Another call for splitting the [sg]etenv stuff 
      into platform specific parts :)
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  5. Ticket change [1da18f2641] (rid 90842) by das on 2002-06-07 02:09:19:

    1. assignee changed to: "das"
    2. closedate changed to: "2002-06-06T19:09:19"
    3. closer changed to: "das"
    4. icomment:
      Logged In: YES 
      user_id=90580
      
      checked in a silightly improved patch adapted from this to the 
      HEAD and core-8-3-1-branch
      
      
    5. login: "das"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "das"