[llvm-commits] [llvm] r118367 - in /llvm/trunk: include/llvm/System/Path.h lib/System/Unix/Path.inc lib/System/Win32/Path.inc

Óscar Fuentes ofv at wanadoo.es
Sun Nov 7 18:04:02 PST 2010


Michael Spencer <bigcheesegs at gmail.com>
writes:

>>> Doesn't windows support a kind of symbolic link nowadays?
>>
>> Not sure. Michael? :-)
>
> Yes it does. I think it was added to NTFS in Vista. I'm not sure how
> to check for one, but I'll look into it.

Something like this should do (untested):

WIN32_FILE_ATTRIBUTE_DATA fileData;
GetFileAttributesEx("some_file", GetFileExInfoStandard, &fileData);
if( fileData.dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT ) {
....
}




More information about the llvm-commits mailing list