From e90c06dbb332268a769d3350e27da3fdd5b99bae Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 20 Jan 2019 07:40:00 +0000 Subject: [PATCH] Merged r17831 to 4.0-stable (#30411). git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@17832 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/scm/adapters/filesystem_adapter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/redmine/scm/adapters/filesystem_adapter.rb b/lib/redmine/scm/adapters/filesystem_adapter.rb index 1373a93c0..a40465a54 100644 --- a/lib/redmine/scm/adapters/filesystem_adapter.rb +++ b/lib/redmine/scm/adapters/filesystem_adapter.rb @@ -81,7 +81,7 @@ module Redmine # below : list unreadable files, but dont link them. :path => utf_8_path, :kind => (File.directory?(t1) ? 'dir' : 'file'), - :size => (File.directory?(t1) ? nil : [File.size(t1)].pack('l').unpack('L').first), + :size => (File.directory?(t1) ? nil : File.size(t1)), :lastrev => Revision.new({:time => (File.mtime(t1)) }) }) -- 2.39.5