ruby-changes:33551
From: nobu <ko1@a...>
Date: Sat, 19 Apr 2014 00:11:39 +0900 (JST)
Subject: [ruby-changes:33551] nobu:r45632 (trunk): fix typo
nobu 2014-04-19 00:11:35 +0900 (Sat, 19 Apr 2014) New Revision: 45632 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45632 Log: fix typo * NEWS, README.EXT: fix typo. Modified files: trunk/NEWS trunk/README.EXT Index: README.EXT =================================================================== --- README.EXT (revision 45631) +++ README.EXT (revision 45632) @@ -1088,7 +1088,7 @@ RSTRING_LEN(str) :: https://github.com/ruby/ruby/blob/trunk/README.EXT#L1088 RSTRING_PTR(str) :: String -> pointer to String data - Note that the result pointer may not be NULL-terminated + Note that the result pointer may not be NUL-terminated StringValue(value) :: @@ -1100,8 +1100,8 @@ StringValuePtr(value) :: https://github.com/ruby/ruby/blob/trunk/README.EXT#L1100 StringValueCStr(value) :: - Object with #to_str -> pointer to String data without NULL bytes - It is guaranteed that the result data is NULL-terminated + Object with #to_str -> pointer to String data without NUL bytes + It is guaranteed that the result data is NUL-terminated rb_str_new2(s) :: Index: NEWS =================================================================== --- NEWS (revision 45631) +++ NEWS (revision 45632) @@ -110,5 +110,5 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L110 * `rb_str_substr()` and `rb_str_subseq()` now share middle of a string, but not only the end of a string. Therefore, result strings may not - be NULL-terminated, `StringValueCStr()` is needed calling to obtain a - NULL-terminated C string. + be NUL-terminated, `StringValueCStr()` is needed calling to obtain a + NUL-terminated C string. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/