1. 18 Sep, 2012 20 commits
  2. 17 Sep, 2012 14 commits
  3. 16 Sep, 2012 3 commits
  4. 14 Sep, 2012 3 commits
    • Rob Pike's avatar
      text/template: towards better errors · 7b7a7a57
      Rob Pike authored
      Give the right name for errors, and add a test to check we're
      getting the errors we expect.
      Also fix an ordering bug (calling add after stopParse) that
      caused a nil indirection rather than a helpful error.
      Fixes #3280.
      
      R=golang-dev, adg
      CC=golang-dev
      https://golang.org/cl/6520043
      7b7a7a57
    • Brad Fitzpatrick's avatar
      os/exec: don't crash when out of fds · 5c5c2c81
      Brad Fitzpatrick authored
      Command.Start could crash before if no fds were available
      because a nil *os.File of /dev/null was added to the cleanup
      list, which crashed before returning the proper error.
      
      R=golang-dev, iant
      CC=golang-dev
      https://golang.org/cl/6514043
      5c5c2c81
    • Robert Griesemer's avatar
      spec: clarify section on string types · cc06593c
      Robert Griesemer authored
      Strings happen to be represented similarly to
      byte slices internally, but they don't quite
      behave like them: While strings can be indexed,
      sliced, and have their len() taken like byte
      slices, string elements are not addressable,
      make() and cap() is not supported, range loops
      operate differently, and they are immutable (and
      thus behave like values rather then references).
      
      Fixes #4018.
      
      R=r, rsc, iant, ken
      CC=golang-dev
      https://golang.org/cl/6503116
      cc06593c