Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
017e07a1
Commit
017e07a1
authored
Jul 24, 2013
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net/http: Don't try to trace sendfile64 on alpha.
From Uros Bizjak. From-SVN: r201206
parent
c9150e8b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
libgo/go/net/http/fs_test.go
+6
-1
No files found.
libgo/go/net/http/fs_test.go
View file @
017e07a1
...
...
@@ -696,8 +696,13 @@ func TestLinuxSendfile(t *testing.T) {
}
defer
ln
.
Close
()
trace
:=
"trace=sendfile"
if
runtime
.
GOARCH
!=
"alpha"
{
trace
=
trace
+
",sendfile64"
}
var
buf
bytes
.
Buffer
child
:=
exec
.
Command
(
"strace"
,
"-f"
,
"-q"
,
"-e"
,
"trace=sendfile,sendfile64"
,
os
.
Args
[
0
],
"-test.run=TestLinuxSendfileChild"
)
child
:=
exec
.
Command
(
"strace"
,
"-f"
,
"-q"
,
"-e"
,
trace
,
os
.
Args
[
0
],
"-test.run=TestLinuxSendfileChild"
)
child
.
ExtraFiles
=
append
(
child
.
ExtraFiles
,
lnf
)
child
.
Env
=
append
([]
string
{
"GO_WANT_HELPER_PROCESS=1"
},
os
.
Environ
()
...
)
child
.
Stdout
=
&
buf
...
...
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