unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* w32.c/link()
@ 2014-06-16  7:30 Fabrice Popineau
  2014-06-16 14:55 ` w32.c/link() Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Fabrice Popineau @ 2014-06-16  7:30 UTC (permalink / raw)
  To: emacs-devel

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




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-06-16 22:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-16  7:30 w32.c/link() Fabrice Popineau
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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).