bugThe nmh Mail Handling System - Bugs: bug #37230, folder -r no longer works!

 
 

bug #37230: folder -r no longer works!

Submitter:  Eric Schnoebelen <ericschnoebelen>
Submitted:  Thu 30 Aug 2012 11:00:57 PM UTC
   
 
Category:  Bug Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Fixed
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 31 Aug 2012 01:55:29 PM UTC, comment #1: 

Thank you for your bug report.  Your patch (and a corresponding test for the test suite) have been committed to the nmh tree.


Ken Hornstein <kenh>
Group administrator
Thu 30 Aug 2012 11:00:57 PM UTC, original submission:  

It appears that during a refactoring of code between nmh 1.3 and 1.5, the functionality of the -recurse option of folder ceased working.

In investigating, I discovered that if I was in my Mail directory (as set by Path: in .mh_profile), ``folder -r'' would once again work.

Upon investigation, it appears the refactoring failed to change directories into Mail  before attempting to walk the directory tree.

The attached patch is a minimal patch required to restore the functionality.

Eric Schnoebelen <ericschnoebelen>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #26454:  patch-uip_folder.c added by ericschnoebelen (663B - application/octet-stream - Move the chdir(nmhdir) out of one of the folder search paths, so it's available to all.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by kenh (Posted a comment)
  • -email is unavailable- added by ericschnoebelen (Submitted the item)
  •  

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-08-01 kenh StatusNone Fixed
    2012-08-31 kenh Open/ClosedOpen Closed
    2012-08-30 ericschnoebelen Attached File- Added patch-uip_folder.c, #26454

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code