summaryrefslogtreecommitdiff
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
commit011ed67616f4dd9b1ca983d32bdfca65e358e3dd (patch)
tree75d92d20faf78567cff8f4ef14eba6bd46ee4de0 /dir.c
parent756dcb00342274f9fa7bb4a1e9980fac73e31f43 (diff)
* 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: svn+ssh://ci.ruby-lang.org/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 2c3212081a..579a303086 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);
}