~ubuntu-branches/ubuntu/vivid/golang/vivid

« back to all changes in this revision

Viewing changes to src/pkg/os/env_windows.go

  • Committer: Bazaar Package Importer
  • Author(s): Ondřej Surý
  • Date: 2011-08-03 17:04:59 UTC
  • mfrom: (14.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110803170459-wzd99m3567y80ila
Tags: 1:59-1
* Imported Upstream version 59
* Refresh patches to a new release
* Fix FTBFS on ARM (Closes: #634270)
* Update version.bash to work with Debian packaging and not hg
  repository

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
        if e != 0 {
120
120
                return
121
121
        }
122
 
        defer syscall.LocalFree(uint32(uintptr(unsafe.Pointer(argv))))
 
122
        defer syscall.LocalFree(syscall.Handle(uintptr(unsafe.Pointer(argv))))
123
123
        Args = make([]string, argc)
124
124
        for i, v := range (*argv)[:argc] {
125
125
                Args[i] = string(syscall.UTF16ToString((*v)[:]))