1. 21 Dec, 2011 10 commits
  2. 20 Dec, 2011 21 commits
  3. 19 Dec, 2011 7 commits
  4. 17 Dec, 2011 2 commits
    • Morris Jette's avatar
      Note recent code changes · f455c48a
      Morris Jette authored
      f455c48a
    • Mark A. Grondona's avatar
      env import: clean up bracket count code · 9e0c20c6
      Mark A. Grondona authored
      When importing an exported shell function, the bracket count
      code didn't handle negative return value from _bracket_cnt(),
      so a shell function (or a shell variable starting with '(')
      would loop until the end of the env output.
      
      Since the test for no open bracket wasn't handled anyway, remove
      this and clean up _bracket_cnt() code (which now returns negative
      if there are more closing than opening brackets).
      
      Also, remove the unneded local integer bracket_cnt from the while
      loops and only continue processing while the bracket tally is > 0.
      
      Note: There are still many unhandled corner cases in this code.
      9e0c20c6