Make sure (text editor) backup files, such as those with the tilde (~) at the 
end, aren't processed by our macrofiles globs.  These can appear while 
editing a macro file in place and may result in confusing behavior where an old 
version of a macro overrides the one being written, like seen in the ticket 
#3373.

Rather than enumerating any specific suffixes, just mandate that macro files 
end with alphanumerics.  That's more of a name sanity check than anything 
but fits the bill here.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/3399

-- Commit Summary --

  * Require macro filenames to end in alphanum char

-- File Changes --

    M rpmio/macro.cc (4)
    M tests/rpmmacro.at (17)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/3399.patch
https://github.com/rpm-software-management/rpm/pull/3399.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3399
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to