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
d5946390
Commit
d5946390
authored
Aug 12, 2009
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rm outfile if 6g exits with an error
R=ken OCL=33134 CL=33141
parent
7c9b9af7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
src/cmd/gc/subr.c
src/cmd/gc/subr.c
+6
-3
No files found.
src/cmd/gc/subr.c
View file @
d5946390
...
...
@@ -60,9 +60,12 @@ fatal(char *fmt, ...)
vfprint
(
1
,
fmt
,
arg
);
va_end
(
arg
);
print
(
"
\n
"
);
if
(
debug
[
'h'
])
if
(
debug
[
'h'
])
{
if
(
outfile
)
unlink
(
outfile
);
*
(
int
*
)
0
=
0
;
exit
(
1
);
}
errorexit
();
}
void
...
...
@@ -87,7 +90,7 @@ linehist(char *file, int32 off, int relative)
file
=
cp
;
}
h
=
alloc
(
sizeof
(
Hist
));
h
=
mal
(
sizeof
(
Hist
));
h
->
name
=
file
;
h
->
line
=
lineno
;
h
->
offset
=
off
;
...
...
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