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

Delta Between Two Patch Sets: src/cmd/dist/a.h

Issue 5642045: code review 5642045: cmd/dist: fix GOROOT_FINAL (Closed)
Left Patch Set: diff -r 54e39f5d6b25 https://go.googlecode.com/hg/ Created 13 years, 1 month ago
Right Patch Set: diff -r 19f044f56d28 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | src/cmd/dist/build.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
1 // Copyright 2012 The Go Authors. All rights reserved. 1 // Copyright 2012 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 typedef int bool; 5 typedef int bool;
6 6
7 // The Time unit is unspecified; we just need to 7 // The Time unit is unspecified; we just need to
8 // be able to compare whether t1 is older than t2 with t1 < t2. 8 // be able to compare whether t1 is older than t2 with t1 < t2.
9 typedef long long Time; 9 typedef long long Time;
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 void vcopy(Vec *dst, char **src, int n); 55 void vcopy(Vec *dst, char **src, int n);
56 void vfree(Vec *v); 56 void vfree(Vec *v);
57 void vgrow(Vec *v, int n); 57 void vgrow(Vec *v, int n);
58 void vinit(Vec *v); 58 void vinit(Vec *v);
59 void vreset(Vec *v); 59 void vreset(Vec *v);
60 void vuniq(Vec *v); 60 void vuniq(Vec *v);
61 void splitlines(Vec*, char*); 61 void splitlines(Vec*, char*);
62 void splitfields(Vec*, char*); 62 void splitfields(Vec*, char*);
63 63
64 // build.c 64 // build.c
65 extern char *default_goroot;
66 extern char *goarch; 65 extern char *goarch;
67 extern char *gobin; 66 extern char *gobin;
68 extern char *gochar; 67 extern char *gochar;
69 extern char *gohostarch; 68 extern char *gohostarch;
70 extern char *gohostos; 69 extern char *gohostos;
71 extern char *goos; 70 extern char *goos;
72 extern char *goroot; 71 extern char *goroot;
73 extern char *goroot_final; 72 extern char *goroot_final;
74 extern char *goversion; 73 extern char *goversion;
75 extern char *workdir; 74 extern char *workdir;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 void xrealwd(Buf *b, char *path); 138 void xrealwd(Buf *b, char *path);
140 void xremove(char *p); 139 void xremove(char *p);
141 void xremoveall(char *p); 140 void xremoveall(char *p);
142 void xsetenv(char*, char*); 141 void xsetenv(char*, char*);
143 int xstrcmp(char*, char*); 142 int xstrcmp(char*, char*);
144 char* xstrdup(char *p); 143 char* xstrdup(char *p);
145 int xstrlen(char*); 144 int xstrlen(char*);
146 char* xstrrchr(char*, int); 145 char* xstrrchr(char*, int);
147 char* xstrstr(char*, char*); 146 char* xstrstr(char*, char*);
148 char* xworkdir(void); 147 char* xworkdir(void);
LEFTRIGHT

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