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

Unified Diff: tools/re2c/code.c

Issue 10289003: Merge https://github.com/yasm/yasm/commit/2bd66514b6b100887c19d8598da38347b3cff40e (Closed) Base URL: http://git.chromium.org/chromium/deps/yasm/patched-yasm.git@master
Patch Set: Merge https://github.com/yasm/yasm/commit/2bd66514b6b100887c19d8598da38347b3cff40e Created 8 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/re2c/code.c
===================================================================
--- tools/re2c/code.c (revision 134822)
+++ tools/re2c/code.c (working copy)
@@ -844,14 +844,13 @@
nOrgOline = oline;
maxFillIndexes = vFillIndexes;
orgVFillIndexes = vFillIndexes;
- tmpo = fopen("re2c.tmp", "wt");
+ tmpo = tmpfile();
for(s = d->head; s; s = s->next){
int readCh = 0;
State_emit(s, tmpo, &readCh);
Go_genGoto(&s->go, tmpo, s, s->next, &readCh);
}
fclose(tmpo);
- remove("re2c.tmp");
maxFillIndexes = vFillIndexes;
vFillIndexes = orgVFillIndexes;
oline = nOrgOline;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698