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

Side by Side Diff: src/lib9/sysfatal.c

Issue 60840049: code review 60840049: lib9: enable on Plan 9 (Closed)
Patch Set: diff -r dc2e4bffd677 https://code.google.com/p/go Created 11 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:
View unified diff | Download patch
« no previous file with comments | « src/lib9/strecpy.c ('k') | src/lib9/tempdir_plan9.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // +build !plan9
2
1 /* 3 /*
2 Plan 9 from User Space src/lib9/sysfatal.c 4 Plan 9 from User Space src/lib9/sysfatal.c
3 http://code.swtch.com/plan9port/src/tip/src/lib9/sysfatal.c 5 http://code.swtch.com/plan9port/src/tip/src/lib9/sysfatal.c
4 6
5 Copyright 2001-2007 Russ Cox. All Rights Reserved. 7 Copyright 2001-2007 Russ Cox. All Rights Reserved.
6 8
7 Permission is hereby granted, free of charge, to any person obtaining a copy 9 Permission is hereby granted, free of charge, to any person obtaining a copy
8 of this software and associated documentation files (the "Software"), to deal 10 of this software and associated documentation files (the "Software"), to deal
9 in the Software without restriction, including without limitation the rights 11 in the Software without restriction, including without limitation the rights
10 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
(...skipping 27 matching lines...) Expand all
38 if(_sysfatal) 40 if(_sysfatal)
39 (*_sysfatal)(fmt, arg); 41 (*_sysfatal)(fmt, arg);
40 vseprint(buf, buf+sizeof buf, fmt, arg); 42 vseprint(buf, buf+sizeof buf, fmt, arg);
41 va_end(arg); 43 va_end(arg);
42 44
43 __fixargv0(); 45 __fixargv0();
44 fprint(2, "%s: %s\n", argv0 ? argv0 : "<prog>", buf); 46 fprint(2, "%s: %s\n", argv0 ? argv0 : "<prog>", buf);
45 exits("fatal"); 47 exits("fatal");
46 } 48 }
47 49
OLDNEW
« no previous file with comments | « src/lib9/strecpy.c ('k') | src/lib9/tempdir_plan9.c » ('j') | no next file with comments »

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