ruby-changes:39700
From: nobu <ko1@a...>
Date: Mon, 7 Sep 2015 15:55:13 +0900 (JST)
Subject: [ruby-changes:39700] nobu:r51781 (trunk): ruby_atomic.h: fix typo
nobu 2015-09-07 15:55:01 +0900 (Mon, 07 Sep 2015) New Revision: 51781 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51781 Log: ruby_atomic.h: fix typo * ruby_atomic.h (ATOMIC_VALUE_CAS): fix typo. TODO: make arguments of all CAS macros consistent. Modified files: trunk/ChangeLog trunk/ruby_atomic.h Index: ChangeLog =================================================================== --- ChangeLog (revision 51780) +++ ChangeLog (revision 51781) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Sep 7 15:54:58 2015 Nobuyoshi Nakada <nobu@r...> + + * ruby_atomic.h (ATOMIC_VALUE_CAS): fix typo. + TODO: make arguments of all CAS macros consistent. + Sun Sep 6 16:07:22 2015 Eric Wong <e@8...> * ccan/list/list.h: suppress unused argument warnings Index: ruby_atomic.h =================================================================== --- ruby_atomic.h (revision 51780) +++ ruby_atomic.h (revision 51781) @@ -168,7 +168,7 @@ ruby_atomic_size_exchange(size_t *ptr, s https://github.com/ruby/ruby/blob/trunk/ruby_atomic.h#L168 # define ATOMIC_VALUE_EXCHANGE(var, val) ATOMIC_EXCHANGE(var, val) # endif # ifndef ATOMIC_VALUE_CAS -# define ATOMIC_VALUE_CAS(var, oldval, val) ATOMIC_CAS(var, oldval, newval) +# define ATOMIC_VALUE_CAS(var, oldval, val) ATOMIC_CAS(var, oldval, val) # endif #endif -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/