diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-27 18:41:59 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-27 18:41:59 +0000 |
commit | 574f2f43948bb21d6e4187936ba5a5afccba25f6 (patch) | |
tree | 0b39aca564149e5ad30b3cc791228655ff1b1827 /miscutils | |
parent | fe66a0eca1bfeae0abc0fc1e7d3709f271e05e82 (diff) | |
download | busybox-w32-574f2f43948bb21d6e4187936ba5a5afccba25f6.tar.gz busybox-w32-574f2f43948bb21d6e4187936ba5a5afccba25f6.tar.bz2 busybox-w32-574f2f43948bb21d6e4187936ba5a5afccba25f6.zip |
*: add optimization barrier to all "G trick" locations
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/less.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/miscutils/less.c b/miscutils/less.c index da595f428..8d4f7ecd4 100644 --- a/miscutils/less.c +++ b/miscutils/less.c | |||
@@ -153,14 +153,14 @@ struct globals { | |||
153 | #define term_orig (G.term_orig ) | 153 | #define term_orig (G.term_orig ) |
154 | #define term_less (G.term_less ) | 154 | #define term_less (G.term_less ) |
155 | #define INIT_G() do { \ | 155 | #define INIT_G() do { \ |
156 | PTR_TO_GLOBALS = xzalloc(sizeof(G)); \ | 156 | SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \ |
157 | less_gets_pos = -1; \ | 157 | less_gets_pos = -1; \ |
158 | empty_line_marker = "~"; \ | 158 | empty_line_marker = "~"; \ |
159 | num_files = 1; \ | 159 | num_files = 1; \ |
160 | current_file = 1; \ | 160 | current_file = 1; \ |
161 | eof_error = 1; \ | 161 | eof_error = 1; \ |
162 | terminated = 1; \ | 162 | terminated = 1; \ |
163 | } while (0) | 163 | } while (0) |
164 | 164 | ||
165 | /* Reset terminal input to normal */ | 165 | /* Reset terminal input to normal */ |
166 | static void set_tty_cooked(void) | 166 | static void set_tty_cooked(void) |