1
0
Fork 0
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:
akr 2011-02-09 14:12:02 +00:00
parent e0258fa04b
commit 2cc0240078
2 changed files with 5 additions and 1 deletions

View file

@ -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>
* array.c: documentation clarification in rotate, rotate!,

View file

@ -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)