mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* file.c (rb_stat_inspect): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
08ec75e427
commit
2a05d8c7fb
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Wed Sep 28 23:40:04 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* file.c (rb_stat_inspect): constified.
|
||||||
|
|
||||||
Wed Sep 28 15:12:28 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
Wed Sep 28 15:12:28 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||||
|
|
||||||
* lib/webrick/cgi.rb (WEBrick::CGI#start): req.query_string should
|
* lib/webrick/cgi.rb (WEBrick::CGI#start): req.query_string should
|
||||||
|
|
4
file.c
4
file.c
|
@ -542,8 +542,8 @@ rb_stat_inspect(VALUE self)
|
||||||
{
|
{
|
||||||
VALUE str;
|
VALUE str;
|
||||||
int i;
|
int i;
|
||||||
static struct {
|
static const struct {
|
||||||
char *name;
|
const char *name;
|
||||||
VALUE (*func)(VALUE);
|
VALUE (*func)(VALUE);
|
||||||
} member[] = {
|
} member[] = {
|
||||||
{"dev", rb_stat_dev},
|
{"dev", rb_stat_dev},
|
||||||
|
|
Loading…
Reference in a new issue