1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-17 00:30:37 -08:00
emacs/lisp/gnus
Paul Eggert 5d4cf1fef8 Add ‘nofollow’ flag to set-file-times
This is a companion to the recent set-file-modes patch.
It adds support for a ‘nofollow’ flag to set-file-times (Bug#39773).
Like the set-file-modes patch, it needs work in the w32 port.
* admin/merge-gnulib (GNULIB_MODULES): Add futimens, utimensat.
Remove utimens.
* doc/lispref/files.texi (Changing Files):
* etc/NEWS: Mention the change.
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
* lisp/files.el (copy-directory):
* lisp/gnus/gnus-cloud.el (gnus-cloud-replace-file):
* lisp/net/tramp-adb.el (tramp-adb-handle-copy-file):
* lisp/net/tramp-smb.el (tramp-smb-handle-copy-file):
* lisp/tar-mode.el (tar-copy):
* test/lisp/filenotify-tests.el (file-notify-test03-events):
* test/lisp/files-tests.el:
(files-tests-file-name-non-special-set-file-times):
* test/lisp/net/tramp-tests.el (tramp-test22-file-times):
When setting file times, avoid following symbolic links
when the file is not supposed to be a symbolic link.
* lib/futimens.c, lib/utimensat.c, m4/futimens.m4, m4/utimensat.m4:
New files, copied from Gnulib.
* lisp/gnus/gnus-cloud.el (gnus-cloud-replace-file):
When creating a file that is not supposed to exist already,
use the excl flag to check this.
* lisp/net/tramp-adb.el (tramp-adb-handle-set-file-times):
* lisp/net/tramp-sh.el (tramp-sh-handle-set-file-times):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-set-file-times):
Accept an optional FLAG arg that is currently ignored,
and add a FIXME comment for it.
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-set-file-times):
* src/fileio.c (Fset_file_times):
Support an optional FLAG arg.
* src/fileio.c (Fcopy_file): Use futimens instead of set_file_times,
as it’s simpler and is a POSIX API.
* src/sysdep.c (set_file_times): Move from here ...
* src/w32.c (set_file_times): ... to here, and make it static,
since it is now used only in w32.c.  Presumably w32.c should also
add support for futimens and utimensat (the POSIX APIs, which
Emacs now uses) and it can remove fdutimens (the Gnulib API,
which Emacs no longer uses).
2020-03-07 12:15:43 -08:00
..
.dir-locals.el
canlock.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.1 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.2 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.3 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
deuglify.el Remove subsumed repetitions in regexps 2020-02-20 16:05:18 +01:00
gmm-utils.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-agent.el Make sure that all gnus buffers are killed on exit 2020-01-28 09:47:52 -05:00
gnus-art.el ; bug#39779: Fix some typos in documentation. 2020-02-28 15:21:55 +02:00
gnus-async.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-bcklg.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-bookmark.el Make sure that all gnus buffers are killed on exit 2020-01-28 09:47:52 -05:00
gnus-cache.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-cite.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-cloud.el Add ‘nofollow’ flag to set-file-times 2020-03-07 12:15:43 -08:00
gnus-cus.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-delay.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-demon.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-diary.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-dired.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-draft.el Make sure that all gnus buffers are killed on exit 2020-01-28 09:47:52 -05:00
gnus-dup.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-eform.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-fun.el Merge from origin/emacs-27 2020-01-01 01:08:16 +00:00
gnus-gravatar.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-group.el * lisp/gnus/gnus-start.el (gnus-group-change-level): Simplify 2020-01-04 18:07:23 -05:00
gnus-html.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-icalendar.el Make sure that all gnus buffers are killed on exit 2020-01-28 09:47:52 -05:00
gnus-int.el Make sure that all gnus buffers are killed on exit 2020-01-28 09:47:52 -05:00
gnus-kill.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-logic.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-mh.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-ml.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-mlspl.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-msg.el Ensure that gnus-summary-attach-article finds the right articles 2020-01-18 13:55:18 -08:00
gnus-notifications.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-picon.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-range.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-registry.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-rfc1843.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-salt.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-score.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-sieve.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-spec.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-srvr.el Make sure that all gnus buffers are killed on exit 2020-01-28 09:47:52 -05:00
gnus-start.el Fix some file-modes races 2020-02-19 13:48:27 -08:00
gnus-sum.el * lisp/gnus/gnus-sum.el (gnus-read-move-group-name): Use user-error 2020-02-04 22:32:39 -05:00
gnus-topic.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-undo.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-util.el Add 'nofollow' flag to set-file-modes etc. 2020-02-23 16:45:50 -08:00
gnus-uu.el Fix some file-modes races 2020-02-19 13:48:27 -08:00
gnus-vm.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-win.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus.el fix bug#39344 2020-01-29 11:17:50 -05:00
gssapi.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
legacy-gnus-agent.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mail-source.el Add 'nofollow' flag to set-file-modes etc. 2020-02-23 16:45:50 -08:00
message.el Remove subsumed repetitions in regexps 2020-02-20 16:05:18 +01:00
mm-archive.el Fix some file-modes races 2020-02-19 13:48:27 -08:00
mm-bodies.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mm-decode.el Add 'nofollow' flag to set-file-modes etc. 2020-02-23 16:45:50 -08:00
mm-encode.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mm-extern.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mm-partial.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mm-url.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mm-util.el Correct "different than" to "different from" where appropriate 2020-02-09 14:33:14 +00:00
mm-uu.el Add and remove backslashes in regexps 2020-02-20 16:03:30 +01:00
mm-view.el Wrap some set-auto-mode calls with delay-mode-hooks (bug#39190) 2020-02-06 00:38:53 +02:00
mml-sec.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mml-smime.el Move “Fix some broken conditional forms” to master 2020-01-05 11:50:31 -08:00
mml.el Fix conversion of text/html->multipart/related 2020-02-19 14:51:43 +01:00
mml1991.el prune the overly cavalier "kill all gnus buffers exit" 2020-01-30 11:28:30 -05:00
mml2015.el prune the overly cavalier "kill all gnus buffers exit" 2020-01-30 11:28:30 -05:00
nnagent.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
nnbabyl.el nnmail-cache-close should not use nofollow 2020-02-26 17:10:48 -08:00
nndiary.el nnmail-cache-close should not use nofollow 2020-02-26 17:10:48 -08:00
nndir.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
nndoc.el Make sure that all gnus buffers are killed on exit 2020-01-28 09:47:52 -05:00
nndraft.el Make sure that all gnus buffers are killed on exit 2020-01-28 09:47:52 -05:00
nneething.el Make sure that all gnus buffers are killed on exit 2020-01-28 09:47:52 -05:00
nnfolder.el nnmail-cache-close should not use nofollow 2020-02-26 17:10:48 -08:00
nngateway.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
nnheader.el * lisp/gnus/nnmaildir.el: Fix O(n^2) problem when leaving a group 2020-02-14 11:05:57 -05:00
nnimap.el Make sure that all gnus buffers are killed on exit 2020-01-28 09:47:52 -05:00
nnir.el When searching a topic in Gnus, search all topic's groups 2020-02-14 11:56:58 -08:00
nnmail.el nnmail-cache-close should not use nofollow 2020-02-26 17:10:48 -08:00
nnmaildir.el * lisp/gnus/nnmaildir.el: Fix O(n^2) problem when leaving a group 2020-02-14 11:05:57 -05:00
nnmairix.el Make sure that all gnus buffers are killed on exit 2020-01-28 09:47:52 -05:00
nnmbox.el nnmail-cache-close should not use nofollow 2020-02-26 17:10:48 -08:00
nnmh.el Make sure that all gnus buffers are killed on exit 2020-01-28 09:47:52 -05:00
nnml.el nnmail-cache-close should not use nofollow 2020-02-26 17:10:48 -08:00
nnnil.el
nnoo.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
nnregistry.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
nnrss.el Make sure that all gnus buffers are killed on exit 2020-01-28 09:47:52 -05:00
nnspool.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
nntp.el Make sure that all gnus buffers are killed on exit 2020-01-28 09:47:52 -05:00
nnvirtual.el Make sure that all gnus buffers are killed on exit 2020-01-28 09:47:52 -05:00
nnweb.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
score-mode.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
smiley.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
smime.el prune the overly cavalier "kill all gnus buffers exit" 2020-01-30 11:28:30 -05:00
spam-report.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
spam-stat.el ; bug#39779: Fix some typos in documentation. 2020-02-28 15:21:55 +02:00
spam-wash.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
spam.el Merge from origin/emacs-27 2020-01-01 01:08:16 +00:00