From eeb723491949b8cd0d2c61cdf15aae1061f19bb3 Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 11 May 2001 05:22:00 +0000 Subject: * bignum.c (bigdivrem): access boundary bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- dir.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dir.c') diff --git a/dir.c b/dir.c index 16df31b2c3..f2f4faa8aa 100644 --- a/dir.c +++ b/dir.c @@ -134,13 +134,13 @@ range(pat, test, flags) ((s) == string || pathname && isdirsep(*(s)))) static int fnmatch(pat, string, flags) - char *pat; - char *string; + const char *pat; + const char *string; int flags; { int c; int test; - char *s = string; + const char *s = string; int escape = !(flags & FNM_NOESCAPE); int pathname = flags & FNM_PATHNAME; int period = flags & FNM_PERIOD; -- cgit v1.2.3