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

Unified Diff: third_party/yasm/patched-yasm/tools/genperf/genperf.c

Issue 6170009: Update our yasm copy to yasm 1.1.0 (Part 1: yasm side)... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/
Patch Set: Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: third_party/yasm/patched-yasm/tools/genperf/genperf.c
===================================================================
--- third_party/yasm/patched-yasm/tools/genperf/genperf.c (revision 71129)
+++ third_party/yasm/patched-yasm/tools/genperf/genperf.c (working copy)
@@ -1,4 +1,4 @@
-/* $Id: genperf.c 1959 2007-09-18 05:38:06Z peter $
+/* $Id: genperf.c 2235 2009-11-03 05:15:37Z peter $
*
* Generate Minimal Perfect Hash (genperf)
*
@@ -234,7 +234,7 @@
/* The hash function body */
fprintf(out, " const struct %s *ret;\n", struct_name);
for (i=0; i<final.used; ++i)
- fprintf(out, final.line[i]);
+ fprintf(out, "%s", final.line[i]);
fprintf(out, " if (rsl >= %lu) return NULL;\n", nkeys);
fprintf(out, " ret = &pd[rsl];\n");
fprintf(out, " if (strcmp(key, ret->name) != 0) return NULL;\n");
« no previous file with comments | « third_party/yasm/patched-yasm/tools/genperf/Makefile.inc ('k') | third_party/yasm/patched-yasm/tools/python-yasm/Makefile.inc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698