* ext/bigdecimal/bigdecimal.c, ext/digest/rmd160/rmd160ossl.c,
ext/digest/sha1/sha1ossl.c, ext/readline/readline.c: move incluion of config.h to pacify AIX. a patch from Yutaka Kanemoto <kinpoco at gmail.com>. [ruby-dev:29197] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e382f7f00e
commit
1293d0dbc6
12
ChangeLog
12
ChangeLog
@ -1,3 +1,15 @@
|
|||||||
|
Mon Aug 7 17:56:59 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/bigdecimal/bigdecimal.c, ext/digest/rmd160/rmd160ossl.c,
|
||||||
|
ext/digest/sha1/sha1ossl.c, ext/readline/readline.c: move
|
||||||
|
incluion of config.h to pacify AIX. a patch from Yutaka
|
||||||
|
Kanemoto <kinpoco at gmail.com>. [ruby-dev:29197]
|
||||||
|
|
||||||
|
Mon Aug 7 15:55:08 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/syck/syck.c (syck_move_tokens): should avoid negative
|
||||||
|
memmove. [ruby-list:42625]
|
||||||
|
|
||||||
Mon Aug 7 14:51:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Mon Aug 7 14:51:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* lib/date/format.rb: specify maximum number of digits to parse
|
* lib/date/format.rb: specify maximum number of digits to parse
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "ruby.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@ -20,7 +21,6 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include "ruby.h"
|
|
||||||
#include "math.h"
|
#include "math.h"
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
#include "rmd160ossl.h"
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
|
#include "rmd160ossl.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
#include "sha1ossl.h"
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
|
#include "sha1ossl.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
#include RUBY_EXTCONF_H
|
#include RUBY_EXTCONF_H
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
@ -412,7 +412,8 @@ syck_move_tokens( SyckParser *p )
|
|||||||
skip = p->limit - p->token;
|
skip = p->limit - p->token;
|
||||||
if ( ( count = p->token - p->buffer ) )
|
if ( ( count = p->token - p->buffer ) )
|
||||||
{
|
{
|
||||||
S_MEMMOVE( p->buffer, p->token, char, skip );
|
if (skip > 0)
|
||||||
|
S_MEMMOVE( p->buffer, p->token, char, skip );
|
||||||
p->token = p->buffer;
|
p->token = p->buffer;
|
||||||
p->marker -= count;
|
p->marker -= count;
|
||||||
p->cursor -= count;
|
p->cursor -= count;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user