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

 
 

bug #37230: folder -r no longer works!

Submitted by:  Eric Schnoebelen <ericschnoebelen>
Submitted on:  Thu 30 Aug 2012 11:00:57 PM UTC  
 
Category: BugSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Assigned to: NoneOpen/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 File(s):
   
   
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
  • -unavailable- added by kenh (Posted a comment)
  • -unavailable- added by ericschnoebelen (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 01 Aug 2017 06:01:40 PM UTCkenhStatusNone=>Fixed
    Fri 31 Aug 2012 01:55:29 PM UTCkenhOpen/ClosedOpen=>Closed
    Thu 30 Aug 2012 11:00:57 PM UTCericschnoebelenAttached File-=>Added patch-uip_folder.c, #26454

    Back to the top


    Powered by Savane 3.1-cleanup1