diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-15 13:24:51 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-15 13:24:51 +0000 |
commit | f298a1a670060f3b37d3e4ef588973d8758d6c0a (patch) | |
tree | f8069a5e6cfe6edceb982d8a4ed8d3a9a137c197 /win32 | |
parent | 6a4bfa57fd93120ff58b27195b4307f316f97b4e (diff) |
* ext/digest/digest.c (rb_digest_instance_update,
rb_digest_instance_finish, rb_digest_instance_reset,
rb_digest_instance_block_length): %s in rb_raise() expects char*.
[ruby-dev:31222]
* ext/openssl/ossl.h: include ossl_pkcs5.h. [ruby-dev:31231]
* ext/openssl/ossl_pkcs5.h: new file for PKCS5. [ruby-dev:31231]
* ext/openssl/ossl_x509name.c (ossl_x509name_to_s): use ossl_raise()
instead of rb_raise(). [ruby-dev:31222]
* ext/sdbm/_sdbm.c: DOSISH platforms need io.h. [ruby-dev:31232]
* ext/syck/syck.h: include stdlib.h for malloc() and free().
[ruby-dev:31232]
* ext/syck/syck.h (syck_parser_set_input_type): prototype added.
[ruby-dev:31231]
* win32/win32.c: include mbstring.h for _mbspbrk(). [ruby-dev:31232]
* win32.h (rb_w32_getcwd): prototype added. [ruby-dev:31232]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.c | 1 | ||||
-rw-r--r-- | win32/win32.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c index af4631e11b..0989735faf 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -27,6 +27,7 @@ #include <wincon.h> #ifdef __MINGW32__ #include <mswsock.h> +#include <mbstring.h> #endif #include "win32.h" #include "win32/dir.h" diff --git a/win32/win32.h b/win32/win32.h index e74dbc7653..87f4d4867a 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -193,6 +193,7 @@ extern struct protoent * rb_w32_getprotobyname(char *); extern struct protoent * rb_w32_getprotobynumber(int); extern struct servent * rb_w32_getservbyname(char *, char *); extern struct servent * rb_w32_getservbyport(int, char *); +extern char * rb_w32_getcwd(char *, int); extern char * rb_w32_getenv(const char *); extern int rb_w32_rename(const char *, const char *); extern int rb_w32_stat(const char *, struct stat *); |