bugThe nmh Mail Handling System - Bugs: bug #49476, Files starting with comma are...

 
 

bug #49476: Files starting with comma are always ignored regardless of BACKUP_PREFIX

Submitter:  Ralph Corderoy <ralph>
Submitted:  Sat 29 Oct 2016 11:20:39 PM UTC
   
 
Category:  Bug Severity:  2 - Minor
Priority:  * 5 - Normal Status:  Fixed
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 06 Apr 2022 11:04:08 PM UTC, comment #2: 

Fixed by commit commit b1d8a1bcae8f31aebb20891aa47bf35c819ab5c6.

David Levine <levine>
Group administrator
Sat 29 Oct 2016 11:23:49 PM UTC, comment #1: 

sbr/folder_read.c:folder_read() is one place that looks like it implements this.  (It also ignores all files starting with `.' too, not just `.' and `..' though that might be OK if nmh pops up lots of such dotfiles.)

Ralph Corderoy <ralph>
Group Member
Sat 29 Oct 2016 11:20:39 PM UTC, original submission:  

folder(1), for example, spots files not matching nmh's naming scheme and signifies "other".  It ignores those starting with BACKUP_PREFIX set at configure time, typically ",".  But if it's set to something else, e.g. "#" as its comment suggests, then files starting "," are still ignored and don't trigger an "other".  This isn't the case the other way around, i.e. with BACKUP_PREFIX of ",", a ./#foo will trigger "other".

Ralph Corderoy <ralph>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-04-06 levine StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code