1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/syck/syck.c (syck_parser_pop_level): add prototype.

* ext/syck/syck.c (syck_strndup): should return value.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2003-05-15 00:52:28 +00:00
parent 277d89447a
commit 8bdfa739ad
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,9 @@
Thu May 15 09:50:51 2003 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/syck/syck.c (syck_parser_pop_level): add prototype.
* ext/syck/syck.c (syck_strndup): should return value.
Thu May 15 09:32:25 2003 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (kill): fix typo and add signal 0 support.

View file

@ -15,6 +15,8 @@
#define SYCK_YAML_MINOR 0
#define SYCK_BUFFERSIZE 262144
void syck_parser_pop_level( SyckParser * );
/*
* Custom assert
*/
@ -34,6 +36,7 @@ syck_strndup( char *buf, long len )
char *new = S_ALLOC_N( char, len + 1 );
S_MEMZERO( new, char, len + 1 );
S_MEMCPY( new, buf, char, len );
return new;
}
/*