doxygen icon indicating copy to clipboard operation
doxygen copied to clipboard

Symlinks not supported on Windows (Origin: bugzilla #657851)

Open doxygen opened this issue 7 years ago • 1 comments

status NEW severity normal in component general for --- Reported in version 1.7.4-SVN on platform Other Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2011-08-31 18:37:17 +0000, Jason Rickman wrote:

Created attachment 195336
Patch to qtools/qfileinfo_win32.cpp to detect reparse points and act
accordingly.

Symlinks and junctions being parsed do not return true from
QFileInfo::isSymLink().

This causes surprising behavior when users specify EXCLUDE_SYMLINKS=YES in
their configuration.

The _stat() functions used do not appear to work properly with Windows
symlinks. The attached patch will instead generate the stats of the pointed-
to file or directory if a link is detected.

The attached patch does not consider older versions of Windows, which may
not support the API functions used. More #ifdefs may be required for
backward compatibility for builds.

On 2012-02-02 21:21:24 +0000, André Klapper wrote:

Comment on attachment 195336
Patch to qtools/qfileinfo_win32.cpp to detect reparse points and act
accordingly.

[Setting "patch" flag and correcting mime type so this can actually be
queried for.]

doxygen avatar Jul 02 '18 06:07 doxygen

The qtools have been removed from doxygen and replaced with methods. The file functions are now handled by means of by filesystem (see also https://github.com/gulrak/filesystem).

I think this problem is now solved and the patch is obsolete.

albert-github avatar Jul 12 '22 14:07 albert-github