summaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-09-08 14:17:53 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-09-08 14:17:53 +0000
commitceb972c776c43e643ad69d3cb88da683f0ec9ea0 (patch)
treefacd3ae86d8ea6fbb70c362cc9a1e22fbaf54b56 /file.c
parentf7e5a801507490cd7d215f2c2c896ed0e1942870 (diff)
downloadruby-ceb972c776c43e643ad69d3cb88da683f0ec9ea0.tar.gz
ruby-ceb972c776c43e643ad69d3cb88da683f0ec9ea0.tar.xz
ruby-ceb972c776c43e643ad69d3cb88da683f0ec9ea0.zip
* eval.c (rb_thread_restore_context): save current value of
lastline and lastmatch in the thread struct for later restore. * eval.c (rb_thread_save_context): restore lastline and lastmatch. * numeric.c (flo_to_s): should handle negative float value. * class.c (rb_include_module): should check whole ancestors to avoid duplicate module inclusion. * string.c (trnext): should check backslash before updating "now" position. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index a54f1726a..dbc9ac1c2 100644
--- a/file.c
+++ b/file.c
@@ -2286,7 +2286,7 @@ extern VALUE rb_load_path;
int
rb_find_file_ext(filep, ext)
VALUE *filep;
- const char *const *ext;
+ const char * const *ext;
{
char *path, *e, *found;
char *f = RSTRING(*filep)->ptr;