Created
June 22, 2012 19:10
-
-
Save jmhodges/2974565 to your computer and use it in GitHub Desktop.
first three commits in the go repo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
changeset: 3:172d32922e72 | |
user: Brian Kernighan <[email protected]> | |
date: Fri Apr 01 02:03:04 1988 -0500 | |
summary: last-minute fix: convert to ANSI C | |
diff -r ac3363d7e788 -r 172d32922e72 src/pkg/debug/macho/testdata/hello.c | |
--- a/src/pkg/debug/macho/testdata/hello.c Fri Apr 01 02:02:04 1988 -0500 | |
+++ b/src/pkg/debug/macho/testdata/hello.c Fri Apr 01 02:03:04 1988 -0500 | |
@@ -1,6 +1,8 @@ | |
#include <stdio.h> | |
-main() | |
+int | |
+main(void) | |
{ | |
printf("hello, world\n"); | |
+ return 0; | |
} | |
changeset: 2:ac3363d7e788 | |
user: Brian Kernighan <research!bwk> | |
date: Fri Apr 01 02:02:04 1988 -0500 | |
summary: convert to Draft-Proposed ANSI C | |
diff -r b66d0bf8da3e -r ac3363d7e788 src/pkg/debug/macho/testdata/hello.c | |
--- a/src/pkg/debug/macho/testdata/hello.c Sun Jan 20 01:02:03 1974 -0400 | |
+++ b/src/pkg/debug/macho/testdata/hello.c Fri Apr 01 02:02:04 1988 -0500 | |
@@ -1,3 +1,6 @@ | |
-main() { | |
- printf("hello, world"); | |
+#include <stdio.h> | |
+ | |
+main() | |
+{ | |
+ printf("hello, world\n"); | |
} | |
changeset: 1:b66d0bf8da3e | |
user: Brian Kernighan <bwk> | |
date: Sun Jan 20 01:02:03 1974 -0400 | |
summary: convert to C | |
diff -r f6182e5abf5e -r b66d0bf8da3e src/pkg/debug/macho/testdata/hello.b | |
--- a/src/pkg/debug/macho/testdata/hello.b Tue Jul 18 19:05:45 1972 -0500 | |
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
@@ -1,7 +0,0 @@ | |
-main( ) { | |
- extrn a, b, c; | |
- putchar(a); putchar(b); putchar(c); putchar('!*n'); | |
-} | |
-a 'hell'; | |
-b 'o, w'; | |
-c 'orld'; | |
diff -r f6182e5abf5e -r b66d0bf8da3e src/pkg/debug/macho/testdata/hello.c | |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
+++ b/src/pkg/debug/macho/testdata/hello.c Sun Jan 20 01:02:03 1974 -0400 | |
@@ -0,0 +1,3 @@ | |
+main() { | |
+ printf("hello, world"); | |
+} | |
changeset: 0:f6182e5abf5e | |
user: Brian Kernighan <bwk> | |
date: Tue Jul 18 19:05:45 1972 -0500 | |
summary: hello, world | |
diff -r 000000000000 -r f6182e5abf5e src/pkg/debug/macho/testdata/hello.b | |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
+++ b/src/pkg/debug/macho/testdata/hello.b Tue Jul 18 19:05:45 1972 -0500 | |
@@ -0,0 +1,7 @@ | |
+main( ) { | |
+ extrn a, b, c; | |
+ putchar(a); putchar(b); putchar(c); putchar('!*n'); | |
+} | |
+a 'hell'; | |
+b 'o, w'; | |
+c 'orld'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment