From: Fabrice Popineau <fabrice.popineau@gmail.com>
To: emacs-devel@gnu.org
Subject: w32.c/link()
Date: Mon, 16 Jun 2014 07:30:50 +0000 (UTC) [thread overview]
Message-ID: <loom.20140616T092558-81@post.gmane.org> (raw)
Hi,
I tried to use add-name-to-file from elisp,
which calls w32.c/link(). It seems to end up in doing
a copy of the file.
I'm fine with that, but that wasn't clear before trying it.
OTOH if hard links were possible, why not using them? Permissions?
Could someone (Eli ?) care to explain why link() is implemented this way?
Why BackupWrite() is used? I would have expected either CopyFile() or
CreateHardLink().
Fabrice
next reply other threads:[~2014-06-16 7:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-16 7:30 Fabrice Popineau [this message]
2014-06-16 14:55 ` w32.c/link() Eli Zaretskii
2014-06-16 17:55 ` w32.c/link() Fabrice Popineau
2014-06-16 18:48 ` w32.c/link() Fabrice Popineau
2014-06-16 19:27 ` w32.c/link() Eli Zaretskii
2014-06-16 20:58 ` w32.c/link() Stefan Monnier
2014-06-16 22:08 ` w32.c/link() Fabrice Popineau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20140616T092558-81@post.gmane.org \
--to=fabrice.popineau@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.