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

* string.c, missing.h: failed to build on powerpc-apple-darwin7.9.0

because of crypt argument's constness mismatch. (I hope this works)
  (http://mput.dip.jp/autobuild/ruby-trunk/log/20050913T110001.gz)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ocean 2005-09-13 05:35:27 +00:00
parent f1827a2faf
commit 54b23dd6b5
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
Tue Sep 13 14:27:47 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
* string.c, missing.h: failed to build on powerpc-apple-darwin7.9.0
because of crypt argument's constness mismatch. (I hope this works)
(http://mput.dip.jp/autobuild/ruby-trunk/log/20050913T110001.gz)
Tue Sep 13 12:33:05 2005 <why@ruby-lang.org>
* lib/yaml.rb: reworking YAML::Stream to use the new

View file

@ -32,7 +32,7 @@ extern double atanh _((double));
#endif
#ifndef HAVE_CRYPT
extern char *crypt _((char *, char *));
extern char *crypt _((const char *, const char *));
#endif
#ifndef HAVE_DUP2

View file

@ -4141,7 +4141,7 @@ rb_str_oct(VALUE str)
static VALUE
rb_str_crypt(VALUE str, VALUE salt)
{
extern char *crypt(char *, char *);
extern char *crypt(const char *, const char *);
VALUE result;
char *s;