1. 03 Dec, 2012 4 commits
    • Dave Cheney's avatar
      cmd/dist: support building on debian/kFreeBSD · 3167c12e
      Dave Cheney authored
      The debian/kFreeBSD project uses the FreeBSD kernel and the debian userspace. From our point of view, this is freebsd not linux as GOOS talks about the kernel syscall interface, not the userspace (although cgo alters that). As debian/kFreeBSD is experimental at this time, I do not think it is worth the effort of duplicating all the freebsd specific code so this is proposal represents a reasonable workaround.
      
      Currently cgo is not supported, make.bash will detect this and disable cgo automatically during the build.
      
      dfc@debian:~/go/src$ uname -a
      GNU/kFreeBSD debian 8.1-1-686 #0 Sat Jul 21 17:02:04 UTC 2012 i686 i386 Intel(R) Core(TM) i5-2415M CPU @ 2.30GHz GNU/kFreeBSD
      dfc@debian:~/go/src$ ../bin/go version
      go version devel +d05272f402ec Sat Dec 01 15:15:14 2012 -0800
      
      Tested with GOOS=freebsd GOARCH=386
      
      R=golang-dev
      CC=golang-dev
      https://golang.org/cl/6868046
      3167c12e
    • Rémy Oudompheng's avatar
      bytes: avoid duplicate malloc/copy in Buffer.ReadString · b1c4a8ef
      Rémy Oudompheng authored
      Twice faster and twice less garbage.
      
      R=golang-dev, dave, daniel.morsing, bradfitz
      CC=golang-dev
      https://golang.org/cl/6849128
      b1c4a8ef
    • Rémy Oudompheng's avatar
      cmd/gc: fix inlining internal error with T.Method calls. · bcea0dd1
      Rémy Oudompheng authored
      The compiler was confused when inlining a T.Method(f()) call
      where f returns multiple values: support for this was marked
      as TODO.
      
      Variadic calls are not supported but are not inlined either.
      Add a test preventively for that case.
      
      Fixes #4167.
      
      R=golang-dev, rsc, lvd
      CC=golang-dev
      https://golang.org/cl/6871043
      bcea0dd1
    • Mikio Hara's avatar
      net: simplify ListenTCP · 19d793a3
      Mikio Hara authored
      R=golang-dev, dave
      CC=golang-dev
      https://golang.org/cl/6875044
      19d793a3
  2. 01 Dec, 2012 5 commits
  3. 30 Nov, 2012 10 commits
  4. 29 Nov, 2012 6 commits
  5. 28 Nov, 2012 4 commits
  6. 27 Nov, 2012 11 commits