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

Side by Side Diff: src/pkg/os/user/lookup_stubs.go

Issue 106380043: code review 106380043: cmd/go, cmd/ld, runtime, os/user: TLS emultion for android (Closed)
Patch Set: diff -r c7f38353757f https://code.google.com/p/go Created 9 years, 9 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:
View unified diff | Download patch
« no previous file with comments | « src/cmd/ld/symtab.c ('k') | src/pkg/os/user/lookup_unix.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Go Authors. All rights reserved. 1 // Copyright 2011 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 // +build !cgo,!windows,!plan9 5 // +build !cgo,!windows,!plan9 android
6 6
7 package user 7 package user
8 8
9 import ( 9 import (
10 "fmt" 10 "fmt"
11 "runtime" 11 "runtime"
12 ) 12 )
13 13
14 func init() { 14 func init() {
15 implemented = false 15 implemented = false
16 } 16 }
17 17
18 func current() (*User, error) { 18 func current() (*User, error) {
19 return nil, fmt.Errorf("user: Current not implemented on %s/%s", runtime .GOOS, runtime.GOARCH) 19 return nil, fmt.Errorf("user: Current not implemented on %s/%s", runtime .GOOS, runtime.GOARCH)
20 } 20 }
21 21
22 func lookup(username string) (*User, error) { 22 func lookup(username string) (*User, error) {
23 return nil, fmt.Errorf("user: Lookup not implemented on %s/%s", runtime. GOOS, runtime.GOARCH) 23 return nil, fmt.Errorf("user: Lookup not implemented on %s/%s", runtime. GOOS, runtime.GOARCH)
24 } 24 }
25 25
26 func lookupId(uid string) (*User, error) { 26 func lookupId(uid string) (*User, error) {
27 return nil, fmt.Errorf("user: LookupId not implemented on %s/%s", runtim e.GOOS, runtime.GOARCH) 27 return nil, fmt.Errorf("user: LookupId not implemented on %s/%s", runtim e.GOOS, runtime.GOARCH)
28 } 28 }
OLDNEW
« no previous file with comments | « src/cmd/ld/symtab.c ('k') | src/pkg/os/user/lookup_unix.go » ('j') | no next file with comments »

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