delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/10/20/23:01:01

From: fujieda AT jaist DOT ac DOT jp (Kazuhiro Fujieda)
Subject: symlink bug not fixed in winsup-981020
20 Oct 1998 23:01:01 -0700 :
Message-ID: <ug1ci327c.fsf.cygnus.cygwin32.developers@parvati.will.or.jp>
Mime-Version: 1.0 (generated by SEMI MIME-Edit 0.100 - "Shijima")
To: cygwin32-developers AT cygnus DOT com

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);
____
  | AIST      Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
  | HOKURIKU  School of Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology


- Raw text -


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