mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* transcode.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
45493bb28a
commit
41c93065da
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Sun Jan 9 20:37:21 2011 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* transcode.c: parenthesize macro arguments.
|
||||
|
||||
Sun Jan 9 16:31:53 2011 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
||||
|
||||
* io.c (Kernel.#syscall): implemented on LP64/LLP64 environments too.
|
||||
|
|
|
@ -234,7 +234,7 @@ rb_declare_transcoder(const char *enc1, const char *enc2, const char *lib)
|
|||
declare_transcoder(enc1, enc2, lib);
|
||||
}
|
||||
|
||||
#define encoding_equal(enc1, enc2) (STRCASECMP(enc1, enc2) == 0)
|
||||
#define encoding_equal(enc1, enc2) (STRCASECMP((enc1), (enc2)) == 0)
|
||||
|
||||
typedef struct search_path_queue_tag {
|
||||
struct search_path_queue_tag *next;
|
||||
|
@ -452,7 +452,7 @@ transcode_restartable0(const unsigned char **in_pos, unsigned char **out_pos,
|
|||
tc->recognized_len -= readagain_len; \
|
||||
tc->readagain_len = readagain_len; \
|
||||
} \
|
||||
return ret; \
|
||||
return (ret); \
|
||||
resume_label ## num:; \
|
||||
} while (0)
|
||||
#define SUSPEND_OBUF(num) \
|
||||
|
|
Loading…
Reference in a new issue