commit | 574f2f43948bb21d6e4187936ba5a5afccba25f6 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Wed Feb 27 18:41:59 2008 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Wed Feb 27 18:41:59 2008 +0000 |
tree | 0b39aca564149e5ad30b3cc791228655ff1b1827 | |
parent | fe66a0eca1bfeae0abc0fc1e7d3709f271e05e82 [diff] [blame] |
*: add optimization barrier to all "G trick" locations
diff --git a/editors/vi.c b/editors/vi.c index 6f4bd06..d2d2670 100644 --- a/editors/vi.c +++ b/editors/vi.c
@@ -233,7 +233,7 @@ #define readbuffer (G.readbuffer ) #define scr_out_buf (G.scr_out_buf ) #define INIT_G() do { \ - PTR_TO_GLOBALS = xzalloc(sizeof(G)); \ + SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \ } while (0) static int init_text_buffer(char *); // init from file or create new