[darcs-devel] darcs patch: Windows hard link support

Juliusz Chroboczek Juliusz.Chroboczek at pps.jussieu.fr
Mon Dec 11 08:41:54 PST 2006


> +#define _WIN32_WINNT 0x0500
> +#include <windows.h>
> hunk ./maybe_relink.c 39
> -    return 0;
> +    BOOL result;
> +    result = CreateHardLink(src, dst, NULL);
> +    if (!result)
> +        return 0;
> +    else
> +        return -2;
> }

I don't understand Windows -- but that looks completely bogus to me.
Does it obey the description in the comment just below?

                                        Juliusz




More information about the darcs-devel mailing list