mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	merges r29632 from trunk into ruby_1_9_2.
-- * test/pathname/test_pathname.rb (TestPathname#test_grpowned?): the group of the created file is inherited from the parent directory on BSDs and MacOS X. Linux also inherit the group if the setgid bit of the directory is set. It causes the test fail. fixed by Shota Fukumori. [ruby-dev:42458] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									04bc7dbc8b
								
							
						
					
					
						commit
						11aa04e28f
					
				
					 3 changed files with 10 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,11 @@
 | 
			
		|||
Sat Oct 30 06:32:52 2010  Tanaka Akira  <akr@fsij.org>
 | 
			
		||||
 | 
			
		||||
	* test/pathname/test_pathname.rb (TestPathname#test_grpowned?): the
 | 
			
		||||
	  group of the created file is inherited from the parent
 | 
			
		||||
	  directory on BSDs and MacOS X.  Linux also inherit the group if
 | 
			
		||||
	  the setgid bit of the directory is set.  It causes the test fail.
 | 
			
		||||
	  fixed by Shota Fukumori.  [ruby-dev:42458]
 | 
			
		||||
 | 
			
		||||
Fri Oct 29 03:04:16 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* string.c (rb_str_dump): fix expected length. [ruby-core:32935]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -938,6 +938,7 @@ class TestPathname < Test::Unit::TestCase
 | 
			
		|||
    skip "Unix file owner test" if DOSISH
 | 
			
		||||
    with_tmpchdir('rubytest-pathname') {|dir|
 | 
			
		||||
      open("f", "w") {|f| f.write "abc" }
 | 
			
		||||
      File.chown(-1, Process.gid, "f")
 | 
			
		||||
      assert_equal(true, Pathname("f").grpowned?)
 | 
			
		||||
    }
 | 
			
		||||
  end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
#define RUBY_VERSION "1.9.2"
 | 
			
		||||
#define RUBY_PATCHLEVEL 84
 | 
			
		||||
#define RUBY_PATCHLEVEL 85
 | 
			
		||||
#define RUBY_VERSION_MAJOR 1
 | 
			
		||||
#define RUBY_VERSION_MINOR 9
 | 
			
		||||
#define RUBY_VERSION_TEENY 1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue