Apropos (and not directly related to the patch): how can importing
System.Posix.Files.createLink work on Windows?
1 patch for repository http://darcs.net/screened:
patch 90657a5991d2c040255c9a31c02e50122df630f5
Author: Ben Franksen <benjamin.franksen@helmholtz-berlin.de>
Date: Thu Jun 25 00:15:07 CEST 2015
* resolve issue2459: fall back to writing the file if createLink fails
I'm not expert on the topic but we depend on unix-compat when darcs is
built under windows.
2015-06-25 16:25 GMT-03:00 Ben Franksen <bugs@darcs.net>:
>
> New submission from Ben Franksen <benjamin.franksen@helmholtz-berlin.de>:
>
> Apropos (and not directly related to the patch): how can importing
> System.Posix.Files.createLink work on Windows?
>
> 1 patch for repository http://darcs.net/screened:
>
> patch 90657a5991d2c040255c9a31c02e50122df630f5
> Author: Ben Franksen <benjamin.franksen@helmholtz-berlin.de>
> Date: Thu Jun 25 00:15:07 CEST 2015
> * resolve issue2459: fall back to writing the file if createLink fails
>
> ----------
> files: patch-preview.txt, resolve-issue2459_-fall-back-to-writing-the-file-if-createlink-fails.dpatch, unnamed
> messages: 18626
> nosy: bf
> status: needs-screening
> title: resolve issue2459: fall back to writing the file if cr...
>
> __________________________________
> Darcs bug tracker <bugs@darcs.net>
> <http://bugs.darcs.net/patch1380>
> __________________________________
> _______________________________________________
> darcs-devel mailing list
> darcs-devel@darcs.net
> http://lists.osuosl.org/mailman/listinfo/darcs-devel
>
Also check out the src/win32 tree in the darcs source - that's how this
particular case is handled. From memory it does actually do the right
thing on NTFS.
Ported it to branch 2.10, still not pushed.
1 patch for repository darcs-unstable@darcs.net:releases/branch-2.10:
patch 99c55f7c8b7e114c2f31e8975e78e309a51d3b51
Author: Guillaume Hoffmann <guillaumh@gmail.com>
Date: Fri Jun 26 15:02:57 ART 2015
* resolve issue2459: fall back to writing the file if createLink fails
Manual port of patch by Ben Franksen to branch 2.10.