57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
** the target pathname of the symbolic link.
**
** RepoFILE Like SymFILE if allow-symlinks is true, or like
** ExtFILE if allow-symlinks is false. In other words,
** symbolic links are only recognized as something different
** from files or directories if allow-symlinks is true.
*/
#define ExtFILE 0 /* Always follow symlinks */
#define RepoFILE 1 /* Follow symlinks if and only if allow-symlinks is OFF */
#define SymFILE 2 /* Never follow symlinks */
#include <dirent.h>
#if defined(_WIN32)
# define DIR _WDIR
|
>
|
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
** the target pathname of the symbolic link.
**
** RepoFILE Like SymFILE if allow-symlinks is true, or like
** ExtFILE if allow-symlinks is false. In other words,
** symbolic links are only recognized as something different
** from files or directories if allow-symlinks is true.
*/
#include <stdlib.h>
#define ExtFILE 0 /* Always follow symlinks */
#define RepoFILE 1 /* Follow symlinks if and only if allow-symlinks is OFF */
#define SymFILE 2 /* Never follow symlinks */
#include <dirent.h>
#if defined(_WIN32)
# define DIR _WDIR
|