delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/10/25/05:31:31

From: fujieda AT jaist DOT ac DOT jp (Kazuhiro Fujieda)
Subject: Re: handling file attributes
25 Oct 1998 05:31:31 -0800 :
Message-ID: <wkemrwaiif.fsf.cygnus.cygwin32.developers@indra.will.or.jp>
References: <uk91rei0t DOT fsf AT parvati DOT will DOT or DOT jp>
Mime-Version: 1.0 (generated by SEMI MIME-Edit 0.100 - "Shijima")
To: cygwin32-developers AT cygnus DOT com

>>> On Sat, 24 Oct 1998 20:33:12 -0400
>>> Christopher Faylor <cgf AT cygnus DOT com> said:

> If we
> eliminate setting it in symlink_check_one it it sure seems to me that
> the !real_path.exec_p test in fhandler_disk_file::open will always
> be true unless the file has an executable extension.

If NTEA is activated and an unix attribute stored in it has the
executable flag, real_path.exec_p is certainly set in
symlink_check_one. Then checking executable extentions by
check_executable_p() is skipped in fhandler_disk_file::open.
But I don't think it is preferable to read NTEA only for
skipping such a light function.

If you don't think so, I can't say more.
____
  | 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