Skip to content

Commit

Permalink
* file.c (strrdirsep): removed meaningless code.
Browse files Browse the repository at this point in the history
* file.c (rb_file_s_expand_path): return to 1.66.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Aug 1, 2001
1 parent cc6d8c4 commit 439b453
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Thu Aug 2 01:29:42 2001 Nobuyoshi Nakada <[email protected]>

* file.c (strrdirsep): removed meaningless code.

* file.c (rb_file_s_expand_path): reverted to 1.66.

Wed Aug 1 15:42:16 2001 Usaku Nakamura <[email protected]>

* eval.c (ruby_run): avoid VC++ warning.
Expand Down
9 changes: 0 additions & 9 deletions file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1312,9 +1312,6 @@ strrdirsep(path)
char *path;
{
char *last = NULL;
#ifdef DOSISH
if (ISALPHA(path[0]) && path[1] == ':') path += 2;
#endif
while (*path) {
if (isdirsep(*path)) {
last = path++;
Expand Down Expand Up @@ -1438,12 +1435,6 @@ rb_file_s_expand_path(argc, argv)
}
b = ++s;
}
else {
p = CharNext(p);
*p++ = '.';
*p = '.';
if (p >= bend) goto toolong;
}
break;
case '/':
#if defined DOSISH
Expand Down

0 comments on commit 439b453

Please sign in to comment.