mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02: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
|
@ -152,7 +152,7 @@ chfunc(void *data, char *errbuf, size_t errbuf_len)
|
|||
VALUE *argv = carg->argv;
|
||||
|
||||
#define ERROR_EXIT(str) do { \
|
||||
strlcpy(errbuf, str, errbuf_len); \
|
||||
strlcpy(errbuf, (str), errbuf_len); \
|
||||
return -1; \
|
||||
} while (0)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue