mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 06:28:05 +02:00
keyfile: ignore Emacs interlocking link named .#<file_name> (rh #987629)
https://bugzilla.redhat.com/show_bug.cgi?id=987629 http://stackoverflow.com/questions/5738170/why-does-emacs-create-temporary-symbolic-links-for-modified-files
This commit is contained in:
parent
38a57b3497
commit
d60dae2558
1 changed files with 1 additions and 0 deletions
|
|
@ -99,6 +99,7 @@ nm_keyfile_plugin_utils_should_ignore_file (const char *filename)
|
|||
|| check_suffix (base, PEM_TAG) /* 802.1x certificates and keys */
|
||||
|| check_suffix (base, DER_TAG) /* 802.1x certificates and keys */
|
||||
|| check_mkstemp_suffix (base) /* temporary files created by mkstemp() */
|
||||
|| check_prefix (base, ".#") /* Emacs locking file (link) */
|
||||
|| base[strlen (base) - 1] == '~')
|
||||
ignore = TRUE;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue