delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/10/21/06:01:15

From: cgf AT cygnus DOT com (Christopher Faylor)
Subject: Re: symlink bug not fixed in winsup-981020
21 Oct 1998 06:01:15 -0700 :
Message-ID: <19981021084115.A22660.cygnus.cygwin32.developers@cygnus.com>
References: <ug1ci327c DOT fsf AT parvati DOT will DOT or DOT jp>
Mime-Version: 1.0
To: Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>, cygwin32-developers AT cygnus DOT com

On Wed, Oct 21, 1998 at 02:37:27PM +0900, Kazuhiro Fujieda wrote:
>The latest snapshot still has the symlink bug.
>
>fhandler.cc:1098 in fhandler_disk_file::open
>    set_symlink_p (real_path.symlink_p);
>
>set_symlink_p() and get_symlink_p() is a bitwise operator, then
>get_symlink_p() always return 1 regardless of whether symlink_p
>is negative or not. I think this should be the following.
>
>    set_symlink_p (real_path.symlink_p > 0);

Looks like I missed one.  Thanks.
-- 
cgf AT cygnus DOT com
http://www.cygnus.com/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019