Skip to content

Commit b990d97

Browse files
committed
Put CAN_HARDLINK_SYMLINK info into --version output.
1 parent fd6839b commit b990d97

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

usage.c

+12-7
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,16 @@ static void print_info_flags(enum logcode f)
5353
#endif
5454
"socketpairs",
5555

56+
#ifndef SUPPORT_LINKS
57+
"no "
58+
#endif
59+
"symlinks",
60+
61+
#ifndef CAN_SET_SYMLINK_TIMES
62+
"no "
63+
#endif
64+
"symtimes",
65+
5666
#ifndef SUPPORT_HARD_LINKS
5767
"no "
5868
#endif
@@ -63,10 +73,10 @@ static void print_info_flags(enum logcode f)
6373
#endif
6474
"hardlink-specials",
6575

66-
#ifndef SUPPORT_LINKS
76+
#ifndef CAN_HARDLINK_SYMLINK
6777
"no "
6878
#endif
69-
"symlinks",
79+
"hardlink-symlinks",
7080

7181
#ifndef INET6
7282
"no "
@@ -112,11 +122,6 @@ static void print_info_flags(enum logcode f)
112122
#endif
113123
"iconv",
114124

115-
#ifndef CAN_SET_SYMLINK_TIMES
116-
"no "
117-
#endif
118-
"symtimes",
119-
120125
#ifndef SUPPORT_PREALLOCATION
121126
"no "
122127
#endif

0 commit comments

Comments
 (0)