Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Side by Side Diff: frontends/yasm/yasm.c

Issue 1678113003: Completely strip the __DATE__ reference. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/yasm/patched-yasm.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « frontends/tasm/tasm.c ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Program entry point, command line parsing 2 * Program entry point, command line parsing
3 * 3 *
4 * Copyright (C) 2001-2007 Peter Johnson 4 * Copyright (C) 2001-2007 Peter Johnson
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 N_("append argument to name of all external symbols"), N_("suffix") }, 206 N_("append argument to name of all external symbols"), N_("suffix") },
207 #ifdef CMAKE_BUILD 207 #ifdef CMAKE_BUILD
208 { 'N', "plugin", 1, opt_plugin_handler, 0, 208 { 'N', "plugin", 1, opt_plugin_handler, 0,
209 N_("load plugin module"), N_("plugin") }, 209 N_("load plugin module"), N_("plugin") },
210 #endif 210 #endif
211 }; 211 };
212 212
213 /* version message */ 213 /* version message */
214 /*@observer@*/ static const char *version_msg[] = { 214 /*@observer@*/ static const char *version_msg[] = {
215 PACKAGE_STRING, 215 PACKAGE_STRING,
216 #if !defined(DONT_EMBED_BUILD_METADATA) || defined(OFFICIAL_BUILD)
217 "Compiled on " __DATE__ ".",
218 #endif
219 "Copyright (c) 2001-2011 Peter Johnson and other Yasm developers.", 216 "Copyright (c) 2001-2011 Peter Johnson and other Yasm developers.",
220 "Run yasm --license for licensing overview and summary." 217 "Run yasm --license for licensing overview and summary."
221 }; 218 };
222 219
223 /* help messages */ 220 /* help messages */
224 /*@observer@*/ static const char *help_head = N_( 221 /*@observer@*/ static const char *help_head = N_(
225 "usage: yasm [option]* file\n" 222 "usage: yasm [option]* file\n"
226 "Options:\n"); 223 "Options:\n");
227 /*@observer@*/ static const char *help_tail = N_( 224 /*@observer@*/ static const char *help_tail = N_(
228 "\n" 225 "\n"
(...skipping 1158 matching lines...) Expand 10 before | Expand all | Expand 10 after
1387 static void 1384 static void
1388 print_yasm_warning(const char *filename, unsigned long line, const char *msg) 1385 print_yasm_warning(const char *filename, unsigned long line, const char *msg)
1389 { 1386 {
1390 if (line) 1387 if (line)
1391 fprintf(errfile, fmt[ewmsg_style], filename, line, _("warning: "), 1388 fprintf(errfile, fmt[ewmsg_style], filename, line, _("warning: "),
1392 msg); 1389 msg);
1393 else 1390 else
1394 fprintf(errfile, fmt_noline[ewmsg_style], filename, _("warning: "), 1391 fprintf(errfile, fmt_noline[ewmsg_style], filename, _("warning: "),
1395 msg); 1392 msg);
1396 } 1393 }
OLDNEW
« no previous file with comments | « frontends/tasm/tasm.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698