/[cvs]/jonen/ruby/CVSspam/cvsspam.rb
ViewVC logotype

Diff of /jonen/ruby/CVSspam/cvsspam.rb

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by jonen, Sun Jan 19 01:08:40 2003 UTC revision 1.9 by jonen, Sun Jan 19 01:10:28 2003 UTC
# Line 727  $handlers["M"].setTagHandler(tagHandler) Line 727  $handlers["M"].setTagHandler(tagHandler)
727    
728  $fileEntries = Array.new  $fileEntries = Array.new
729  $todoList = Array.new  $todoList = Array.new
730    all_files = ""
731    
732  File.open("#{$logfile}.emailtmp", File::RDWR|File::CREAT|File::TRUNC) do |mail|  File.open("#{$logfile}.emailtmp", File::RDWR|File::CREAT|File::TRUNC) do |mail|
733    
# Line 749  end Line 750  end
750  # HACK: put all file names at mail subject  # HACK: put all file names at mail subject
751  $fileEntries.each do |file|  $fileEntries.each do |file|
752    name = htmlEncode(file.name_after_common_prefix)    name = htmlEncode(file.name_after_common_prefix)
753    if all_files == nil    if all_files == ""
754      all_files = name      all_files = name
755    else    else
756      all_files = all_files + ";" + name      all_files = all_files + ";" + name

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed