[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

API for excess DOS file attributes??

From: Oleksandr Gavenko
Subject: API for excess DOS file attributes??
Date: Thu, 29 Sep 2011 22:59:09 +0300
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1

Under Windows this done through:


call. I grep sources and find only 2 occurrence:

./src/fileio.c:1878:      attributes = GetFileAttributes (filename);
./src/w32.c:2630:  else if ((attributes = GetFileAttributes (path)) == -1)

which used for internal purpose...

So I think that I can not excess to this data from Emacs
(native Windows build).

I try rewrite 'follow-cygwin-symlink' from:

for more strict conformance of definition of symbolic link
in Cygwin (from 'cygwin-ug-net-nochunks.html'):

  The file style symlinks are files containing a magic cookie
  followed by the path to which the link points. They are marked
  with the System DOS attribute so that only files with that
  attribute have to be read to determine whether or not the file is
  a symbolic link.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]