[前][次][番号順一覧][スレッド一覧][生データ]

ruby-cvs:16261

From: (ocean) <ocean ruby-lang.org>
Date: Sun, 1 Jan 2006 14:49:02 +0900
Subject: [ruby-cvs:16261] ruby, ruby/test/ruby, ruby/win32: * win32/win32.c (rb_w32_seekdir): should not segfault even if passed

ocean       Sun, 1 Jan 2006 14:49:02 +0900

  Modified files:
    ruby:
      ChangeLog
    ruby/win32:
      dir.h win32.c
  Added files:
    ruby/test/ruby:
      test_dir.rb
  Log:
    * win32/win32.c (rb_w32_seekdir): should not segfault even if passed
      the location which rb_w32_telldir didn't return. (and should change
      `bits' position) [ruby-core:7035]
    
    * win32/dir.h: ditto. (stores `loc' instead of `bitpos')
    
    * test/ruby/test_dir.rb: added.
  
  Revision    Changes    Path
  1.4884      +10  -0    ruby/ChangeLog
    http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ChangeLog?cvsroot=src&r1=1.4883&r2=1.4884
  1.1         -ADDED-    ruby/test/ruby/test_dir.rb
    http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/test/ruby/test_dir.rb?cvsroot=src&rev=1.1
  1.10        +1   -1    ruby/win32/dir.h
    http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/win32/dir.h?cvsroot=src&r1=1.9&r2=1.10
  1.183       +30  -18   ruby/win32/win32.c
    http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/win32/win32.c?cvsroot=src&r1=1.182&r2=1.183


[前][次][番号順一覧][スレッド一覧][生データ]