1. 14 Feb, 2012 9 commits
    • Russ Cox's avatar
      cmd/dist: cross-compiling fixes · 7b848c69
      Russ Cox authored
      This CL makes it possible to run make.bash with
      GOOS and GOARCH set to something other than
      the native host GOOS and GOARCH.
      
      As part of the CL, the tool directory moves from bin/tool/
      to pkg/tool/goos_goarch where goos and goarch are
      the values for the host system (running the build), not
      the target.  pkg/ is not technically appropriate, but C objects
      are there now tool (pkg/obj/) so this puts all the generated
      binaries in one place (rm -rf $GOROOT/pkg cleans everything).
      Including goos_goarch in the name allows different systems
      to share a single $GOROOT on a shared file system.
      
      Fixes #2920.
      
      R=golang-dev, r
      CC=golang-dev
      https://golang.org/cl/5645093
      7b848c69
    • Russ Cox's avatar
      net/http: disable buggy test · 569ef7d4
      Russ Cox authored
      Generates an infinite stream (at least >1GB) of:
      
      === RUN TestTransportPersistConnLeak
      2012/02/13 22:20:19 http: Accept error: accept tcp 127.0.0.1:63972:
      too many open files
      2012/02/13 22:20:19 http: Accept error: accept tcp 127.0.0.1:63972:
      too many open files
      2012/02/13 22:20:19 http: Accept error: accept tcp 127.0.0.1:63972:
      too many open files
      2012/02/13 22:20:19 http: Accept error: accept tcp 127.0.0.1:63972:
      too many open files
      2012/02/13 22:20:19 http: Accept error: accept tcp 127.0.0.1:63972:
      too many open files
      2012/02/13 22:20:19 http: Accept error: accept tcp 127.0.0.1:63972:
      too many open files
      2012/02/13 22:20:19 http: Accept error: accept tcp 127.0.0.1:63972:
      too many open files
      2012/02/13 22:20:19 http: Accept error: accept tcp 127.0.0.1:63972:
      too many open files
      2012/02/13 22:20:19 http: Accept error: accept tcp 127.0.0.1:63972:
      too many open files
      2012/02/13 22:20:19 http: Accept error: accept tcp 127.0.0.1:63972:
      too many open files
      
      R=bradfitz
      CC=golang-dev
      https://golang.org/cl/5661052
      569ef7d4
    • Alex Brainman's avatar
      runtime, syscall, os/signal: fix windows build · 07a2989d
      Alex Brainman authored
      R=golang-dev, bradfitz
      CC=golang-dev
      https://golang.org/cl/5656048
      07a2989d
    • Mikio Hara's avatar
      syscall: update BSD variants to sync with new os/signal · adc1e0bc
      Mikio Hara authored
      R=golang-dev, adg
      CC=golang-dev
      https://golang.org/cl/5661051
      adc1e0bc
    • Brad Fitzpatrick's avatar
      net/http: fix client goroutine leak with persistent connections · d0a7d01f
      Brad Fitzpatrick authored
      Thanks to Sascha Matzke & Florian Weimer for diagnosing.
      
      R=golang-dev, adg, bradfitz, kevlar
      CC=golang-dev
      https://golang.org/cl/5656046
      d0a7d01f
    • Brad Fitzpatrick's avatar
      mime: unexport some internal details · 9df6fdcc
      Brad Fitzpatrick authored
      Fixes #2941
      
      R=golang-dev, rsc, adg
      CC=golang-dev
      https://golang.org/cl/5663046
      9df6fdcc
    • Nigel Tao's avatar
      cmd/api: fix typo. · e8d30eb4
      Nigel Tao authored
      R=gri, r
      CC=golang-dev
      https://golang.org/cl/5659048
      e8d30eb4
    • Shenghou Ma's avatar
      fix build for Linux/ARM. · 31ab16f9
      Shenghou Ma authored
              1, IMO, the fatal error "regfree: not a register" from 5g when
               compiling runtime/debug.go is due to gcc miscompile, it doesn't
               show up when compiled with -O0. But I still haven't thought of
               a way to fix this, should all ARM builds be built with -O0?
              2, fixed mksysnum_linux.pl, so zsysnum_linux_arm.go no longer
              needs to be hand-generated.
              3, regen all in pkg syscall for Linux/ARM on Debian 6.0
      This CL is somewhat big, I'd like to split it if necessary.
      
      R=rsc, dave
      CC=golang-dev
      https://golang.org/cl/5659044
      31ab16f9
    • Andrew Gerrand's avatar
      doc: color comments · 763716ae
      Andrew Gerrand authored
      R=golang-dev, r
      CC=golang-dev
      https://golang.org/cl/5657047
      763716ae
  2. 13 Feb, 2012 31 commits