mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
merge revision(s) 49494: [Backport #10825]
_sdbm.c: fix pointers to shift * ext/sdbm/_sdbm.c (delpair): dst and src point at the ends of each data, whereas memmove requires pointers to the beginnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d43dcc67ce
commit
ffbc561292
2 changed files with 2 additions and 2 deletions
|
|
@ -802,7 +802,7 @@ delpair(char *pag, datum key)
|
|||
}
|
||||
#else
|
||||
#ifdef MEMMOVE
|
||||
memmove(dst, src, m);
|
||||
memmove(dst-m, src-m, m);
|
||||
#else
|
||||
while (m--)
|
||||
*--dst = *--src;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#define RUBY_VERSION "2.2.0"
|
||||
#define RUBY_RELEASE_DATE "2015-02-19"
|
||||
#define RUBY_PATCHLEVEL 55
|
||||
#define RUBY_PATCHLEVEL 56
|
||||
|
||||
#define RUBY_RELEASE_YEAR 2015
|
||||
#define RUBY_RELEASE_MONTH 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue