зеркало из https://github.com/github/ruby.git
* include/ruby/ruby.h (RB_OBJ_TAINT): follow-up of r52881.
Turn into void expression not to use unexpected result. Fix "operands have incompatible types" error with Oracle Solaris Studio 12.x on Solaris. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
c949208d32
Коммит
bc9ac3ab7f
|
@ -1,3 +1,10 @@
|
|||
Sat Dec 5 00:56:29 2015 Naohisa Goto <ngotogenome@gmail.com>
|
||||
|
||||
* include/ruby/ruby.h (RB_OBJ_TAINT): follow-up of r52881.
|
||||
Turn into void expression not to use unexpected result.
|
||||
Fix "operands have incompatible types" error with
|
||||
Oracle Solaris Studio 12.x on Solaris.
|
||||
|
||||
Fri Dec 4 19:52:52 2015 Martin Duerst <duerst@it.aoyama.ac.jp>
|
||||
|
||||
* enc/iso_8859_13.c: Added three missing lower/upper-case
|
||||
|
|
|
@ -1304,7 +1304,7 @@ struct RStruct {
|
|||
#define RB_OBJ_TAINTED_RAW(x) RB_FL_TEST_RAW(x, RUBY_FL_TAINT)
|
||||
#define RB_OBJ_TAINTED(x) (!!RB_FL_TEST((x), RUBY_FL_TAINT))
|
||||
#define RB_OBJ_TAINT_RAW(x) RB_FL_SET_RAW(x, RUBY_FL_TAINT)
|
||||
#define RB_OBJ_TAINT(x) (RB_OBJ_TAINTABLE(x) ? RB_OBJ_TAINT_RAW(x) : 0)
|
||||
#define RB_OBJ_TAINT(x) (RB_OBJ_TAINTABLE(x) ? RB_OBJ_TAINT_RAW(x) : (void)0)
|
||||
#define RB_OBJ_UNTRUSTED(x) RB_OBJ_TAINTED(x)
|
||||
#define RB_OBJ_UNTRUST(x) RB_OBJ_TAINT(x)
|
||||
#define RB_OBJ_INFECT_RAW(x,s) RB_FL_SET_RAW(x, RB_OBJ_TAINTED_RAW(s))
|
||||
|
|
Загрузка…
Ссылка в новой задаче