about summary refs log tree commit diff stats
path: root/code/extensions
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-21 00:31:48 +0200
committerhut <hut@lavabit.com>2009-07-21 00:31:48 +0200
commit64dc224faa89bfee11e406a013d3ca77c6f756e8 (patch)
tree11c1dc687209f7fa40299a7bbb35c768a3ad1170 /code/extensions
parent9ef9f9b0c2c4e5ebefe3b280022e496de1ac0cab (diff)
downloadranger-64dc224faa89bfee11e406a013d3ca77c6f756e8.tar.gz
fixes
Diffstat (limited to 'code/extensions')
-rw-r--r--code/extensions/basic.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/extensions/basic.rb b/code/extensions/basic.rb
index 89798ba5..b04dc71d 100644
--- a/code/extensions/basic.rb
+++ b/code/extensions/basic.rb
@@ -152,8 +152,8 @@ class File::Stat
 		end
 
 		s = ("%o" % mode)[-3..-1]
-		for m in s.each_byte
-			result << MODES_HASH[m]
+		for m in s.each_byte do
+			result << MODES_HASH[m.chr]
 		end
 
 		result