Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
96a2a2ef
Commit
96a2a2ef
authored
Aug 12, 2009
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix linux build for whole package compilation
R=rsc OCL=33103 CL=33103
parent
a5bf45e3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
10 deletions
+7
-10
gotest
src/cmd/gotest/gotest
+7
-2
syscall_linux.go
src/pkg/syscall/syscall_linux.go
+0
-8
No files found.
src/cmd/gotest/gotest
View file @
96a2a2ef
...
...
@@ -78,8 +78,13 @@ if $havex; then
fi
# They all compile; now generate the code to call them.
#trap "rm -f _testmain.go _testmain.$O" 0 1 2 3 14 15
importpath
=
$(
make importpath
)
trap
"rm -f _testmain.go _testmain.
$O
"
0 1 2 3 14 15
# Suppress output to stdout on Linux
MAKEFLAGS
=
MAKELEVEL
=
importpath
=
$(
make
-s
importpath
)
{
# package spec
echo
'package main'
...
...
src/pkg/syscall/syscall_linux.go
View file @
96a2a2ef
...
...
@@ -184,14 +184,6 @@ func Sleep(nsec int64) (errno int) {
return
err
;
}
// Implemented in syscall_linux_*.go
func
accept
(
s
int
,
rsa
*
RawSockaddrAny
,
addrlen
*
_Socklen
)
(
fd
int
,
errno
int
)
func
bind
(
s
int
,
addr
uintptr
,
addrlen
_Socklen
)
(
errno
int
)
func
connect
(
s
int
,
addr
uintptr
,
addrlen
_Socklen
)
(
errno
int
)
func
socket
(
domain
int
,
typ
int
,
proto
int
)
(
fd
int
,
errno
int
)
func
setsockopt
(
s
int
,
level
int
,
name
int
,
val
uintptr
,
vallen
int
)
(
errno
int
)
func
Listen
(
s
int
,
n
int
)
(
errno
int
)
// For testing: clients can set this flag to force
// creation of IPv6 sockets to return EAFNOSUPPORT.
var
SocketDisableIPv6
bool
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment