add a note about potential threading
This commit is contained in:
parent
291dbadc77
commit
2b6d23fa9e
1 changed files with 7 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/local/bin/ruby -w
|
||||
|
||||
# $Dwarf: ripnews.rb,v 1.67 2003/06/16 21:48:52 ward Exp $
|
||||
# $Dwarf: ripnews.rb,v 1.68 2003/06/16 22:07:35 ward Exp $
|
||||
# $Source$
|
||||
|
||||
require 'date'
|
||||
|
|
@ -334,6 +334,9 @@ def get_multi(subj, group)
|
|||
body.collect{|x| file.print "#{x}\n"}
|
||||
return false unless @articles.get_group_body_rest(subj, file)
|
||||
fileout = Tempfile.new("riptmp", @config[group]["TEMPDIR"])
|
||||
|
||||
# I think a thread should start about here
|
||||
|
||||
if UUEncode.is_uuencoded(body)
|
||||
print " UUDecoding...\n"
|
||||
mode, filename, body = UUEncode.uudecode(file, fileout)
|
||||
|
|
@ -355,6 +358,9 @@ def get_multi(subj, group)
|
|||
fileout.close(false)
|
||||
|
||||
output_data(subj, mode, filename, body)
|
||||
|
||||
# thread could end here
|
||||
|
||||
return true
|
||||
else
|
||||
print " Unknown encoding (not UU, not yEnc), skipping...\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue