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

Unified Diff: src/name.cc

Issue 7976019: [OTS] Sort NameRecords in name table if they are not sorted. (Closed) Base URL: http://ots.googlecode.com/svn/trunk/
Patch Set: Created 9 years, 3 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
« no previous file with comments | « ots-common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/name.cc
===================================================================
--- src/name.cc (revision 73)
+++ src/name.cc (working copy)
@@ -154,7 +154,8 @@
}
if ((i > 0) && !(prev_record < rec)) {
- OTS_FAILURE();
+ OTS_WARNING("name records are not sorted.");
+ sort_required = true;
}
name->names.push_back(rec);
« no previous file with comments | « ots-common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698