mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/pty/pty.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e0258fa04b
commit
2cc0240078
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Wed Feb 9 23:11:27 2011 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* ext/pty/pty.c: parenthesize macro arguments.
|
||||||
|
|
||||||
Tue Feb 8 11:47:11 2011 Loren Sands-Ramshaw <lorensr@gmail.com>
|
Tue Feb 8 11:47:11 2011 Loren Sands-Ramshaw <lorensr@gmail.com>
|
||||||
|
|
||||||
* array.c: documentation clarification in rotate, rotate!,
|
* array.c: documentation clarification in rotate, rotate!,
|
||||||
|
|
|
@ -152,7 +152,7 @@ chfunc(void *data, char *errbuf, size_t errbuf_len)
|
||||||
VALUE *argv = carg->argv;
|
VALUE *argv = carg->argv;
|
||||||
|
|
||||||
#define ERROR_EXIT(str) do { \
|
#define ERROR_EXIT(str) do { \
|
||||||
strlcpy(errbuf, str, errbuf_len); \
|
strlcpy(errbuf, (str), errbuf_len); \
|
||||||
return -1; \
|
return -1; \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue