Project

General

Profile

Bug #1978 ยป 0001-fix-crash-in-lib-logger.rb-from-dependency-on-svn-ke.patch

patch attached - stepheneb (Stephen Bannasch), 08/22/2009 06:26 AM

View differences:

lib/logger.rb
170 170

  
171 171
class Logger
172 172
  VERSION = "1.2.6"
173
  id, name, rev = %w$Id$
174
  ProgName = "#{name.chomp(",v")}/#{rev}"
173
  svn_Id = "$Id$"
174
  if svn_Id.length > 4
175
    id, name, rev = %w$Id$
176
    ProgName = "#{name.chomp(",v")}/#{rev}"
177
  else
178
    ProgName = 'logger.rb'
179
  end
175 180

  
176 181
  class Error < RuntimeError; end
177 182
  class ShiftingError < Error; end
178
-