* file.c (ruby_find_basename): should initialize f.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
01e1a0ac78
commit
2520f3f79c
@ -1,3 +1,7 @@
|
|||||||
|
Wed Jul 7 12:00:24 2010 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* file.c (ruby_find_basename): should initialize f.
|
||||||
|
|
||||||
Wed Jul 7 11:44:01 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Wed Jul 7 11:44:01 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* ext/zlib/zlib.c (gzfile_raise): add invalid header to
|
* ext/zlib/zlib.c (gzfile_raise): add invalid header to
|
||||||
|
2
file.c
2
file.c
@ -3436,7 +3436,7 @@ ruby_find_basename(const char *name, long *len, long *ext)
|
|||||||
#if defined DOSISH_DRIVE_LETTER || defined DOSISH_UNC
|
#if defined DOSISH_DRIVE_LETTER || defined DOSISH_UNC
|
||||||
const char *root;
|
const char *root;
|
||||||
#endif
|
#endif
|
||||||
long f, n = -1;
|
long f = 0, n = -1;
|
||||||
|
|
||||||
name = skipprefix(name);
|
name = skipprefix(name);
|
||||||
#if defined DOSISH_DRIVE_LETTER || defined DOSISH_UNC
|
#if defined DOSISH_DRIVE_LETTER || defined DOSISH_UNC
|
||||||
|
Loading…
x
Reference in New Issue
Block a user