diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | lib/webrick/httpservlet/filehandler.rb | 2 | ||||
-rw-r--r-- | win32/Makefile.sub | 4 |
3 files changed, 13 insertions, 1 deletions
@@ -1,3 +1,11 @@ +Mon Jan 9 14:17:12 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp> + + * win32/Makefile.sub (OPTFLAGS): I have experienced trouble on y- flag, + (VisualC++6) so use -O2b2xg- if $(MSC_VER) < 1400. [ruby-core:7040] + + * lib/webrick/httpservlet/filehandler.rb: fixed typo. (Kero van Gelder) + [ruby-core:7075] + Sat Jan 7 15:40:07 2006 Nobuyoshi Nakada <nobu@ruby-lang.org> * parse.y (singleton): get rid of segfault on syntax error. diff --git a/lib/webrick/httpservlet/filehandler.rb b/lib/webrick/httpservlet/filehandler.rb index ba9417f3e8..410cc6f9a9 100644 --- a/lib/webrick/httpservlet/filehandler.rb +++ b/lib/webrick/httpservlet/filehandler.rb @@ -51,7 +51,7 @@ module WEBrick return true end rescue - if HTTPUtils::split_header_valie(ir).member?(res['etag']) + if HTTPUtils::split_header_value(ir).member?(res['etag']) return true end end diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 1e881f1b33..a04f614c2d 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -69,8 +69,12 @@ ARCH = $(PROCESSOR_ARCHITECTURE) DEBUGFLAGS = -Zi !endif !if !defined(OPTFLAGS) +!if $(MSC_VER) < 1400 +OPTFLAGS = -O2b2xg- +!else OPTFLAGS = -O2b2xty- !endif +!endif !if !defined(OS) OS = mswin32 !endif |