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

Delta Between Two Patch Sets: src/cmd/dist/goc2c.c

Issue 5675095: code review 5675095: cmd/dist: fix pprof permissions
Left Patch Set: diff -r 459d037686be https://go.googlecode.com/hg/ Created 13 years, 1 month ago
Right Patch Set: diff -r 459d037686be https://go.googlecode.com/hg/ Created 13 years, 1 month 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:
Right: Side by side diff | Download
« no previous file with change/comment | « src/cmd/dist/buildruntime.c ('k') | src/cmd/dist/unix.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 // Copyright 2009 The Go Authors. All rights reserved. 1 // Copyright 2009 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 #include "a.h" 5 #include "a.h"
6 6
7 /* 7 /*
8 * Translate a .goc file into a .c file. A .goc file is a combination 8 * Translate a .goc file into a .c file. A .goc file is a combination
9 * of a limited form of Go with C. 9 * of a limited form of Go with C.
10 */ 10 */
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 structround = 4; 724 structround = 4;
725 } 725 }
726 } 726 }
727 727
728 bprintf(&out, "// auto generated by go tool dist\n// goos=%s goarch=%s\n \n", goos, goarch); 728 bprintf(&out, "// auto generated by go tool dist\n// goos=%s goarch=%s\n \n", goos, goarch);
729 input = bstr(&in); 729 input = bstr(&in);
730 output = &out; 730 output = &out;
731 731
732 process_file(); 732 process_file();
733 ········ 733 ········
734 » writefile(&out, c); 734 » writefile(&out, c, 0);
735 } 735 }
LEFTRIGHT

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