mhonarc-dev

[patch #5730] Small bug/type fix

2007-02-08 03:32:11

URL:
  <http://savannah.nongnu.org/patch/?5730>

                 Summary: Small bug/type fix
                 Project: MHonArc
            Submitted by: None
            Submitted on: 木曜日 2007年02月08日 at 10:31 UTC
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
ikumi(_at_)ikumi(_dot_)que(_dot_)jp(_dot_)NOSPAM(_dot_)
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Hi, thank you for nice program.

Following is a patch for MHonArc 2.6.16. It fixes a bug that
some of the TextEncode related resources are not saved in the
database file. It also corrects minor typos in comments and
documents.

Regards,

*** lib/mhdb.pl~        Wed Dec 21 06:28:15 2005
--- lib/mhdb.pl Thu Feb  8 08:36:14 2007
***************
*** 113,121 ****
      print_var($db,'readmail::TextEncode',
                    \$readmail::TextEncode);
      print_var($db,'readmail::TextEncoderFunc',
!                   \$readmail::TextEncode);
!     print_var($db,'readmail::TextEncodeSrc',
!                   \$readmail::TextEncode);
  }
  unless ($IsDefault{'MIMEDECODERS'} && !$SaveMIMEDecoders) {
      print_var($db,'SaveMIMEDecoders', \$_true);
--- 113,121 ----
      print_var($db,'readmail::TextEncode',
                    \$readmail::TextEncode);
      print_var($db,'readmail::TextEncoderFunc',
!                   \$readmail::TextEncoderFunc);
!     print_var($db,'readmail::TextEncoderSrc',
!                   \$readmail::TextEncoderSrc);
  }
  unless ($IsDefault{'MIMEDECODERS'} && !$SaveMIMEDecoders) {
      print_var($db,'SaveMIMEDecoders', \$_true);
*** lib/readmail.pl~    Wed Dec 21 05:54:50 2005
--- lib/readmail.pl     Thu Feb  8 08:37:07 2007
***************
*** 244,253 ****
      unless defined($TextEncode);
  ##  Text encoding function.
  $TextEncoderFunc = undef
!     unless defined($TextEncodingFunc);
  ##  Text encoding function source file.
  $TextEncoderSrc = undef
!     unless defined($TextEncodingSrc);
  
  ##  Prefilter function
  $TextPreFilter  = undef
--- 244,253 ----
      unless defined($TextEncode);
  ##  Text encoding function.
  $TextEncoderFunc = undef
!     unless defined($TextEncoderFunc);
  ##  Text encoding function source file.
  $TextEncoderSrc = undef
!     unless defined($TextEncoderSrc);
  
  ##  Prefilter function
  $TextPreFilter  = undef
***************
*** 450,456 ****
  ##    MAILread_body() parses a MIME message body.
  ##    Usage:
  ##      ($data, @files) =
! ##          MAILread_body($fields_hash_ref, $body_date_ref);
  ##
  ##    Parameters:
  ##      $fields_hash_ref
--- 450,456 ----
  ##    MAILread_body() parses a MIME message body.
  ##    Usage:
  ##      ($data, @files) =
! ##          MAILread_body($fields_hash_ref, $body_data_ref);
  ##
  ##    Parameters:
  ##      $fields_hash_ref
*** examples/mhasiteinit.pl~    Thu Jun  2 11:12:30 2005
--- examples/mhasiteinit.pl     Thu Feb  8 08:20:24 2007
***************
*** 32,38 ****
 
##---------------------------------------------------------------------------
  ##  The following are callback functions that you can register
  ##  for all instances of mhonarc.  See the Application Programming
! ##  Interface appendix of the documentation for a complate list
  ##  of available callbacks and how they are invoked.
  
  #require 'head_routine.pl';   # make sure source of routine is loaded
--- 32,38 ----
 
##---------------------------------------------------------------------------
  ##  The following are callback functions that you can register
  ##  for all instances of mhonarc.  See the Application Programming
! ##  Interface appendix of the documentation for a complete list
  ##  of available callbacks and how they are invoked.
  
  #require 'head_routine.pl';   # make sure source of routine is loaded
*** guides/performance.html~    Sat Jun 10 11:42:58 2006
--- guides/performance.html     Thu Feb  8 19:13:33 2007
***************
*** 278,284 ****
  <h3><a name="mimefilters">Don't use certain MIMEFILTERS filters
options</a></h3>
  
  <p>
! <a href="../resource/mimefilters.html">MIMEFILTERS</a> is used to
  register filters for media-types.  Many of the filters provided with
  MHonArc support a myriad of options to customize their behavior.
  However, some of these options increase processing overhead.  The
--- 278,284 ----
  <h3><a name="mimefilters">Don't use certain MIMEFILTERS filters
options</a></h3>
  
  <p>
! <a href="../resources/mimefilters.html">MIMEFILTERS</a> is used to
  register filters for media-types.  Many of the filters provided with
  MHonArc support a myriad of options to customize their behavior.
  However, some of these options increase processing overhead.  The
***************
*** 378,384 ****
  required when an archive is first created versus when it is updated.
  </p>
  <p>If you specify resource settings every time,
! disable <a href="../resources/saversource.html">SAVERESOURCES</a>
  to avoid the unnecessary saving of resource settings to the
  <a href="../resources/dbfile.html">database</a>.
  </p>
--- 378,384 ----
  required when an archive is first created versus when it is updated.
  </p>
  <p>If you specify resource settings every time,
! disable <a href="../resources/saveresources.html">SAVERESOURCES</a>
  to avoid the unnecessary saving of resource settings to the
  <a href="../resources/dbfile.html">database</a>.
  </p>





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?5730>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV

<Prev in Thread] Current Thread [Next in Thread>