summaryrefslogtreecommitdiffstats
path: root/dir.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-02-15 06:01:00 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-02-15 06:01:00 +0000
commit51160d24fa6c07272f812c22f985bf7ee7cbcc4e (patch)
tree75d92d20faf78567cff8f4ef14eba6bd46ee4de0 /dir.c
parent0bd34076619539fa2060954cf14b7264432cabf5 (diff)
downloadruby-51160d24fa6c07272f812c22f985bf7ee7cbcc4e.tar.gz
ruby-51160d24fa6c07272f812c22f985bf7ee7cbcc4e.tar.xz
ruby-51160d24fa6c07272f812c22f985bf7ee7cbcc4e.zip
* process.c (proc_waitall): new method based on a patch from Brian
Fundakowski Feldman <green@green.dyndns.org>. * process.c (last_status_set): objectify $? value (Process::Status). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dir.c b/dir.c
index 2c3212081..579a30308 100644
--- a/dir.c
+++ b/dir.c
@@ -558,7 +558,7 @@ extract_elem(path)
}
static void
-remove_backslases(p)
+remove_backslashes(p)
char *p;
{
char *pend = p + strlen(p);
@@ -590,7 +590,7 @@ rb_glob_helper(path, flag, func, arg)
char *p, *m;
if (!has_magic(path, 0)) {
- remove_backslases(path);
+ remove_backslashes(path);
if (rb_sys_stat(path, &st) == 0) {
(*func)(path, arg);
}