Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1)

Delta Between Two Patch Sets: src/syscall/env_windows.go

Issue 148370043: code review 148370043: os, syscall: add Unsetenv (Closed)
Left Patch Set: diff -r 61525d46311930992512297749c1ad914912041b https://go.googlecode.com/hg/ Created 10 years, 5 months ago
Right Patch Set: diff -r 3042795874453efa7be0a082f3f85118b9d06432 https://go.googlecode.com/hg/ Created 10 years, 5 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/syscall/env_unix.go ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 // Copyright 2010 The Go Authors. All rights reserved. 1 // Copyright 2010 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 // Windows environment variables. 5 // Windows environment variables.
6 6
7 package syscall 7 package syscall
8 8
9 import ( 9 import (
10 "unicode/utf16" 10 "unicode/utf16"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // empty string marks the end 81 // empty string marks the end
82 if i <= from { 82 if i <= from {
83 break 83 break
84 } 84 }
85 r = append(r, string(utf16.Decode(p[from:i]))) 85 r = append(r, string(utf16.Decode(p[from:i])))
86 from = i + 1 86 from = i + 1
87 } 87 }
88 } 88 }
89 return r 89 return r
90 } 90 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b