[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [PATCH] cmd: Implement builtin mklink command
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2017-10-24 8:24:39
Message-ID: 87bmkx7y2g.fsf () winehq ! org
[Download RAW message or body]

Alistair Leslie-Hughes <leslie_alistair@hotmail.com> writes:

> +  if(hard && !CreateHardLinkW(file1, file2, NULL))
> +    WCMD_output_stderr(WCMD_LoadMessage(WCMD_READFAIL), file1);
> +  else if(!junction && !CreateSymbolicLinkW(file1, file2, isdir))
> +    WCMD_output_stderr(WCMD_LoadMessage(WCMD_READFAIL), file1);
> +  else if(junction)
> +    WINE_TRACE("Juction links currently not supported.\n");

Surely the options have to be exclusive. It makes no sense to try to
create multiple links for the same file.

-- 
Alexandre Julliard
julliard@winehq.org



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic