ruby-changes:11943
From: nobu <ko1@a...>
Date: Sun, 31 May 2009 23:27:02 +0900 (JST)
Subject: [ruby-changes:11943] Ruby:r23607 (trunk, ruby_1_8): * file.c (istrailinggarbage): fixed typo.
nobu 2009-05-31 23:26:40 +0900 (Sun, 31 May 2009) New Revision: 23607 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23607 Log: * file.c (istrailinggarbage): fixed typo. Modified files: branches/ruby_1_8/ChangeLog branches/ruby_1_8/file.c branches/ruby_1_8/version.h trunk/ChangeLog trunk/file.c trunk/version.h Index: ChangeLog =================================================================== --- ChangeLog (revision 23606) +++ ChangeLog (revision 23607) @@ -1,3 +1,7 @@ +Sun May 31 23:26:36 2009 Nobuyoshi Nakada <nobu@r...> + + * file.c (istrailinggarbage): fixed typo. + Fri May 29 17:10:08 2009 Nobuyoshi Nakada <nobu@r...> * struct.c (Init_Struct): made #to_s an alias to #inspect to Index: version.h =================================================================== --- version.h (revision 23606) +++ version.h (revision 23607) @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.2" -#define RUBY_RELEASE_DATE "2009-05-29" +#define RUBY_RELEASE_DATE "2009-05-31" #define RUBY_PATCHLEVEL -1 #define RUBY_BRANCH_NAME "trunk" @@ -8,7 +8,7 @@ #define RUBY_VERSION_TEENY 1 #define RUBY_RELEASE_YEAR 2009 #define RUBY_RELEASE_MONTH 5 -#define RUBY_RELEASE_DAY 29 +#define RUBY_RELEASE_DAY 31 #include "ruby/version.h" Index: file.c =================================================================== --- file.c (revision 23606) +++ file.c (revision 23607) @@ -2465,9 +2465,9 @@ #endif #if USE_NTFS -#define istrailinggabage(x) ((x) == '.' || (x) == ' ') +#define istrailinggarbage(x) ((x) == '.' || (x) == ' ') #else -#define istrailinggabage(x) 0 +#define istrailinggarbage(x) 0 #endif #ifndef CharNext /* defined as CharNext[AW] on Windows. */ @@ -2608,9 +2608,9 @@ { while (*path == '.') path++; while (*path && *path != ':') { - if (istrailinggabage(*path)) { + if (istrailinggarbage(*path)) { const char *last = path++; - while (istrailinggabage(*path)) path++; + while (istrailinggarbage(*path)) path++; if (!*path || *path == ':') return (char *)last; } else if (isdirsep(*path)) { @@ -2829,7 +2829,7 @@ } #if USE_NTFS else { - do ++s; while (istrailinggabage(*s)); + do ++s; while (istrailinggarbage(*s)); } #endif break; @@ -2849,7 +2849,7 @@ --s; case ' ': { const char *e = s; - while (istrailinggabage(*s)) s++; + while (istrailinggarbage(*s)) s++; if (!*s) { s = e; goto endpath; @@ -3221,10 +3221,10 @@ e = 0; while (*p && *p == '.') p++; while (*p) { - if (*p == '.' || istrailinggabage(*p)) { + if (*p == '.' || istrailinggarbage(*p)) { #if USE_NTFS const char *last = p++, *dot = last; - while (istrailinggabage(*p)) { + while (istrailinggarbage(*p)) { if (*p == '.') dot = p; p++; } Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 23606) +++ ruby_1_8/ChangeLog (revision 23607) @@ -1,3 +1,7 @@ +Sun May 31 23:26:36 2009 Nobuyoshi Nakada <nobu@r...> + + * file.c (istrailinggarbage): fixed typo. + Fri May 29 09:19:56 2009 Nobuyoshi Nakada <nobu@r...> * ext/thread/thread.c (unlock_mutex_inner): fixed wrong variable. Index: ruby_1_8/version.h =================================================================== --- ruby_1_8/version.h (revision 23606) +++ ruby_1_8/version.h (revision 23607) @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.8.8" -#define RUBY_RELEASE_DATE "2009-05-29" +#define RUBY_RELEASE_DATE "2009-05-31" #define RUBY_VERSION_CODE 188 -#define RUBY_RELEASE_CODE 20090529 +#define RUBY_RELEASE_CODE 20090531 #define RUBY_PATCHLEVEL -1 #define RUBY_VERSION_MAJOR 1 @@ -9,7 +9,7 @@ #define RUBY_VERSION_TEENY 8 #define RUBY_RELEASE_YEAR 2009 #define RUBY_RELEASE_MONTH 5 -#define RUBY_RELEASE_DAY 29 +#define RUBY_RELEASE_DAY 31 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[]; Index: ruby_1_8/file.c =================================================================== --- ruby_1_8/file.c (revision 23606) +++ ruby_1_8/file.c (revision 23607) @@ -2304,9 +2304,9 @@ #endif #if USE_NTFS -#define istrailinggabage(x) ((x) == '.' || (x) == ' ') +#define istrailinggarbage(x) ((x) == '.' || (x) == ' ') #else -#define istrailinggabage(x) 0 +#define istrailinggarbage(x) 0 #endif #ifndef CharNext /* defined as CharNext[AW] on Windows. */ @@ -2459,9 +2459,9 @@ { while (*path == '.') path++; while (*path && *path != ':') { - if (istrailinggabage(*path)) { + if (istrailinggarbage(*path)) { const char *last = path++; - while (istrailinggabage(*path)) path++; + while (istrailinggarbage(*path)) path++; if (!*path || *path == ':') return (char *)last; } else if (isdirsep(*path)) { @@ -2658,7 +2658,7 @@ } #if USE_NTFS else { - do ++s; while (istrailinggabage(*s)); + do ++s; while (istrailinggarbage(*s)); } #endif break; @@ -2678,7 +2678,7 @@ --s; case ' ': { const char *e = s; - while (istrailinggabage(*s)) s++; + while (istrailinggarbage(*s)) s++; if (!*s) { s = e; goto endpath; @@ -3022,10 +3022,10 @@ e = 0; while (*p && *p == '.') p++; while (*p) { - if (*p == '.' || istrailinggabage(*p)) { + if (*p == '.' || istrailinggarbage(*p)) { #if USE_NTFS const char *last = p++, *dot = last; - while (istrailinggabage(*p)) { + while (istrailinggarbage(*p)) { if (*p == '.') dot = p; p++; } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/