This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [newlib-cygwin] Don't generate Windows native symlinks targeting Cygwin-only targets


On 11/18/2015 11:12 AM, Corinna Vinschen wrote:
> https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=8cdd7bad219ba2657e381bd0d716594c50a6ef62
> 
> commit 8cdd7bad219ba2657e381bd0d716594c50a6ef62
> Author: Corinna Vinschen <corinna@vinschen.de>
> Date:   Wed Nov 18 19:12:37 2015 +0100
> 
>     Don't generate Windows native symlinks targeting Cygwin-only targets
>     
>     	* path.cc (symlink_native): Don't generate native symlink targeting
>     	Cygwin special file.  Inform the caller.
>     	(symlink_worker): Don;t bail out in WSYM_nativestrict case if the

s/Don;t/Don't/


> +++ b/winsup/cygwin/path.cc
> @@ -1700,6 +1700,11 @@ symlink_native (const char *oldpath, path_conv &win32_newpath)
>        SetLastError (ERROR_FILE_NOT_FOUND);
>        return -1;
>      }
> +  /* Don't allow native symlinks to Cygwin special files.  However, the
> +     caller shoud know because this case shouldn't be covered by the

s/shoud/should/

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]