Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
293059ad
Commit
293059ad
authored
Nov 16, 2011
by
Lucio De Re
Committed by
Russ Cox
Nov 16, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cov: fix for Plan 9 build
R=golang-dev CC=golang-dev, rsc
https://golang.org/cl/5374086
parent
c9355596
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
src/cmd/cov/main.c
src/cmd/cov/main.c
+1
-4
No files found.
src/cmd/cov/main.c
View file @
293059ad
...
@@ -7,10 +7,8 @@
...
@@ -7,10 +7,8 @@
*/
*/
#include <u.h>
#include <u.h>
#include <time.h>
#include <libc.h>
#include <libc.h>
#include <bio.h>
#include <bio.h>
#include <ctype.h>
#include "tree.h"
#include "tree.h"
#include <ureg_amd64.h>
#include <ureg_amd64.h>
...
@@ -394,7 +392,7 @@ startprocess(char **argv)
...
@@ -394,7 +392,7 @@ startprocess(char **argv)
pid
=
getpid
();
pid
=
getpid
();
if
(
ctlproc
(
pid
,
"hang"
)
<
0
)
if
(
ctlproc
(
pid
,
"hang"
)
<
0
)
sysfatal
(
"ctlproc hang: %r"
);
sysfatal
(
"ctlproc hang: %r"
);
exec
v
(
argv
[
0
],
argv
);
exec
(
argv
[
0
],
argv
);
sysfatal
(
"exec %s: %r"
,
argv
[
0
]);
sysfatal
(
"exec %s: %r"
,
argv
[
0
]);
}
}
if
(
ctlproc
(
pid
,
"attached"
)
<
0
||
ctlproc
(
pid
,
"waitstop"
)
<
0
)
if
(
ctlproc
(
pid
,
"attached"
)
<
0
||
ctlproc
(
pid
,
"waitstop"
)
<
0
)
...
@@ -454,7 +452,6 @@ main(int argc, char **argv)
...
@@ -454,7 +452,6 @@ main(int argc, char **argv)
if
(
argc
==
0
)
{
if
(
argc
==
0
)
{
*--
argv
=
"6.out"
;
*--
argv
=
"6.out"
;
argc
++
;
}
}
fd
=
open
(
argv
[
0
],
OREAD
);
fd
=
open
(
argv
[
0
],
OREAD
);
if
(
fd
<
0
)
if
(
fd
<
0
)
...
...
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