OpenCoverage

ln.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ln.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3static enum backup_type backup_type;-
4-
5-
6static -
7 _Bool -
8 symbolic_link;-
9-
10-
11static -
12 _Bool -
13 relative;-
14-
15-
16static -
17 _Bool -
18 logical = !!0;-
19-
20-
21static -
22 _Bool -
23 interactive;-
24-
25-
26static -
27 _Bool -
28 remove_existing_files;-
29-
30-
31static -
32 _Bool -
33 verbose;-
34-
35-
36-
37-
38-
39static -
40 _Bool -
41 hard_dir_link;-
42-
43-
44-
45-
46-
47static -
48 _Bool -
49 dereference_dest_dir_symlinks = -
50 1-
51 ;-
52-
53-
54-
55-
56-
57static Hash_table *dest_set;-
58-
59-
60enum { DEST_INFO_INITIAL_CAPACITY = 61 };-
61-
62static struct option const long_options[] =-
63{-
64 {"backup", -
65 2-
66 , -
67 ((void *)0)-
68 , 'b'},-
69 {"directory", -
70 0-
71 , -
72 ((void *)0)-
73 , 'F'},-
74 {"no-dereference", -
75 0-
76 , -
77 ((void *)0)-
78 , 'n'},-
79 {"no-target-directory", -
80 0-
81 , -
82 ((void *)0)-
83 , 'T'},-
84 {"force", -
85 0-
86 , -
87 ((void *)0)-
88 , 'f'},-
89 {"interactive", -
90 0-
91 , -
92 ((void *)0)-
93 , 'i'},-
94 {"suffix", -
95 1-
96 , -
97 ((void *)0)-
98 , 'S'},-
99 {"target-directory", -
100 1-
101 , -
102 ((void *)0)-
103 , 't'},-
104 {"logical", -
105 0-
106 , -
107 ((void *)0)-
108 , 'L'},-
109 {"physical", -
110 0-
111 , -
112 ((void *)0)-
113 , 'P'},-
114 {"relative", -
115 0-
116 , -
117 ((void *)0)-
118 , 'r'},-
119 {"symbolic", -
120 0-
121 , -
122 ((void *)0)-
123 , 's'},-
124 {"verbose", -
125 0-
126 , -
127 ((void *)0)-
128 , 'v'},-
129 {"help", -
130 0-
131 , -
132 ((void *)0)-
133 , GETOPT_HELP_CHAR},-
134 {"version", -
135 0-
136 , -
137 ((void *)0)-
138 , GETOPT_VERSION_CHAR},-
139 {-
140 ((void *)0)-
141 , 0, -
142 ((void *)0)-
143 , 0}-
144};-
145-
146-
147-
148-
149static -
150 _Bool-
151-
152errno_nonexisting (int err)-
153{-
154 return
executed 754 times by 1 test: return err == 2 || err == 36 || err == 20 || err == 40 ;
Executed by:
  • ln
err ==
executed 754 times by 1 test: return err == 2 || err == 36 || err == 20 || err == 40 ;
Executed by:
  • ln
754
155 2
executed 754 times by 1 test: return err == 2 || err == 36 || err == 20 || err == 40 ;
Executed by:
  • ln
754
156 || err ==
executed 754 times by 1 test: return err == 2 || err == 36 || err == 20 || err == 40 ;
Executed by:
  • ln
754
157 36
executed 754 times by 1 test: return err == 2 || err == 36 || err == 20 || err == 40 ;
Executed by:
  • ln
754
158 || err ==
executed 754 times by 1 test: return err == 2 || err == 36 || err == 20 || err == 40 ;
Executed by:
  • ln
754
159 20
executed 754 times by 1 test: return err == 2 || err == 36 || err == 20 || err == 40 ;
Executed by:
  • ln
754
160 || err ==
executed 754 times by 1 test: return err == 2 || err == 36 || err == 20 || err == 40 ;
Executed by:
  • ln
754
161 40
executed 754 times by 1 test: return err == 2 || err == 36 || err == 20 || err == 40 ;
Executed by:
  • ln
754
162 ;
executed 754 times by 1 test: return err == 2 || err == 36 || err == 20 || err == 40 ;
Executed by:
  • ln
754
163}-
164-
165-
166-
167-
168-
169-
170-
171static -
172 _Bool-
173-
174target_directory_operand (char const *file)-
175{-
176 char const *b = last_component (file);-
177 size_t blen = strlen (b);-
178 -
179 _Bool -
180 looks_like_a_dir = (blen == 0
blen == 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • ln
FALSEevaluated 775 times by 1 test
Evaluated by:
  • ln
|| ((
((b[blen - 1]) == '/')Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 773 times by 1 test
Evaluated by:
  • ln
b[blen - 1]) == '/')
((b[blen - 1]) == '/')Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 773 times by 1 test
Evaluated by:
  • ln
);
1-775
181 struct stat st;-
182 int stat_result =-
183 (dereference_dest_dir_symlinks
dereference_dest_dir_symlinksDescription
TRUEevaluated 730 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 46 times by 1 test
Evaluated by:
  • ln
? stat (file, &st) : lstat (file, &st));
46-730
184 int err = (stat_result == 0
stat_result == 0Description
TRUEevaluated 22 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 754 times by 1 test
Evaluated by:
  • ln
? 0 :
22-754
185 (*__errno_location ())-
186 );-
187 -
188 _Bool -
189 is_a_dir = !err
!errDescription
TRUEevaluated 22 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 754 times by 1 test
Evaluated by:
  • ln
&&
22-754
190 ((((
(((( st.st_mod... == (0040000))Description
TRUEevaluated 11 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 11 times by 1 test
Evaluated by:
  • ln
11
191 st.st_mode
(((( st.st_mod... == (0040000))Description
TRUEevaluated 11 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 11 times by 1 test
Evaluated by:
  • ln
11
192 )) & 0170000) == (0040000))
(((( st.st_mod... == (0040000))Description
TRUEevaluated 11 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 11 times by 1 test
Evaluated by:
  • ln
11
193 ;-
194 if (err
errDescription
TRUEevaluated 754 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 22 times by 1 test
Evaluated by:
  • ln
&& ! errno_nonexisting (
! errno_nonexi...location ()) )Description
TRUEnever evaluated
FALSEevaluated 754 times by 1 test
Evaluated by:
  • ln
0-754
195 (*__errno_location ())
! errno_nonexi...location ()) )Description
TRUEnever evaluated
FALSEevaluated 754 times by 1 test
Evaluated by:
  • ln
0-754
196 )
! errno_nonexi...location ()) )Description
TRUEnever evaluated
FALSEevaluated 754 times by 1 test
Evaluated by:
  • ln
)
0-754
197 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , e...s_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , e...s_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
198 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , e...s_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
199 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , e...s_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
200 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , e...s_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
201 , err,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , e...s_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
202 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , e...s_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
203 "failed to access %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , e...s_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
204 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , e...s_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
205 , quotearg_style (shell_escape_always_quoting_style, file)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , e...s_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
206 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , e...s_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
207 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , e...s_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
208 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , e...s_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
209 , err,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , e...s_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
210 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , e...s_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
211 "failed to access %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , e...s_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
212 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , e...s_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
213 , quotearg_style (shell_escape_always_quoting_style, file)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , e...s_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
214 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , e...s_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
215 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , e...s_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
216 if (is_a_dir < looks_like_a_dir
is_a_dir < looks_like_a_dirDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • ln
FALSEevaluated 775 times by 1 test
Evaluated by:
  • ln
)
1-775
217 ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
!!sizeof (struct { _Static_assert (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
1
218 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
1
219 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
1
220 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
1
221 , err,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
1
222 dcgettext (((void *)0),
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
1
223 "target %s is not a directory"
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
1
224 , 5)
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
1
225 , quotearg_style (shell_escape_always_quoting_style, file)), ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
1
226 0
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
1
227 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
1
228 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
1
229 , err,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
1
230 dcgettext (((void *)0),
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
1
231 "target %s is not a directory"
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
1
232 , 5)
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
1
233 , quotearg_style (shell_escape_always_quoting_style, file)), ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
1
234 0
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
1
235 ) ? (void) 0 : __builtin_unreachable ()))))
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
1
236 ;
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, err, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , err, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
1
237 return
executed 775 times by 1 test: return is_a_dir;
Executed by:
  • ln
is_a_dir;
executed 775 times by 1 test: return is_a_dir;
Executed by:
  • ln
775
238}-
239-
240-
241-
242-
243static char *-
244convert_abs_rel (const char *from, const char *target)-
245{-
246-
247-
248 char *targetdir = dir_name (target);-
249-
250 char *realdest = canonicalize_filename_mode (targetdir, CAN_MISSING);-
251 char *realfrom = canonicalize_filename_mode (from, CAN_MISSING);-
252-
253 char *relative_from = -
254 ((void *)0)-
255 ;-
256 if (realdest
realdestDescription
TRUEevaluated 5 times by 1 test
Evaluated by:
  • ln
FALSEnever evaluated
&& realfrom
realfromDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 1 time by 1 test
Evaluated by:
  • ln
)
0-5
257 {-
258-
259 relative_from = xmalloc (-
260 4096-
261 );-
262-
263 if (!relpath (realfrom, realdest, relative_from,
!relpath (real...e_from, 4096 )Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ln
0-4
264 4096
!relpath (real...e_from, 4096 )Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ln
0-4
265 )
!relpath (real...e_from, 4096 )Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ln
)
0-4
266 {-
267 free (relative_from);-
268 relative_from = -
269 ((void *)0)-
270 ;-
271 }
never executed: end of block
0
272 }
executed 4 times by 1 test: end of block
Executed by:
  • ln
4
273-
274 free (targetdir);-
275 free (realdest);-
276 free (realfrom);-
277-
278 return
executed 5 times by 1 test: return relative_from ? relative_from : xstrdup (from);
Executed by:
  • ln
relative_from ? relative_from : xstrdup (from);
executed 5 times by 1 test: return relative_from ? relative_from : xstrdup (from);
Executed by:
  • ln
5
279}-
280-
281-
282-
283-
284-
285static -
286 _Bool-
287-
288do_link (const char *source, const char *dest)-
289{-
290 struct stat source_stats;-
291 struct stat dest_stats;-
292 char *dest_backup = -
293 ((void *)0)-
294 ;-
295 char *rel_source = -
296 ((void *)0)-
297 ;-
298 -
299 _Bool -
300 dest_lstat_ok = -
301 0-
302 ;-
303 -
304 _Bool -
305 source_is_dir = -
306 0-
307 ;-
308-
309 if (!symbolic_link
!symbolic_linkDescription
TRUEevaluated 89 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 691 times by 1 test
Evaluated by:
  • ln
)
89-691
310 {-
311-
312-
313-
314-
315 if ((
(logical ? sta...e_stats)) != 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • ln
FALSEevaluated 88 times by 1 test
Evaluated by:
  • ln
logical
logicalDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 86 times by 1 test
Evaluated by:
  • ln
? stat (source, &source_stats)
(logical ? sta...e_stats)) != 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • ln
FALSEevaluated 88 times by 1 test
Evaluated by:
  • ln
1-88
316 : lstat (source, &source_stats))
(logical ? sta...e_stats)) != 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • ln
FALSEevaluated 88 times by 1 test
Evaluated by:
  • ln
1-88
317 != 0
(logical ? sta...e_stats)) != 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • ln
FALSEevaluated 88 times by 1 test
Evaluated by:
  • ln
)
1-88
318 {-
319 error (0, -
320 (*__errno_location ())-
321 , -
322 dcgettext (((void *)0), -
323 "failed to access %s"-
324 , 5)-
325 , quotearg_style (shell_escape_always_quoting_style, source));-
326 return
executed 1 time by 1 test: return 0 ;
Executed by:
  • ln
executed 1 time by 1 test: return 0 ;
Executed by:
  • ln
1
327 0
executed 1 time by 1 test: return 0 ;
Executed by:
  • ln
1
328 ;
executed 1 time by 1 test: return 0 ;
Executed by:
  • ln
1
329 }-
330-
331 if (-
332 ((((
(((( source_st... == (0040000))Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 86 times by 1 test
Evaluated by:
  • ln
2-86
333 source_stats.st_mode
(((( source_st... == (0040000))Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 86 times by 1 test
Evaluated by:
  • ln
2-86
334 )) & 0170000) == (0040000))
(((( source_st... == (0040000))Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 86 times by 1 test
Evaluated by:
  • ln
2-86
335 )-
336 {-
337 source_is_dir = -
338 1-
339 ;-
340 if (! hard_dir_link
! hard_dir_linkDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ln
FALSEnever evaluated
)
0-2
341 {-
342 error (0, 0, -
343 dcgettext (((void *)0), -
344 "%s: hard link not allowed for directory"-
345 , 5)-
346 ,-
347 quotearg_n_style_colon (0, shell_escape_quoting_style, source));-
348 return
executed 2 times by 1 test: return 0 ;
Executed by:
  • ln
executed 2 times by 1 test: return 0 ;
Executed by:
  • ln
2
349 0
executed 2 times by 1 test: return 0 ;
Executed by:
  • ln
2
350 ;
executed 2 times by 1 test: return 0 ;
Executed by:
  • ln
2
351 }-
352 }
never executed: end of block
0
353 }
executed 86 times by 1 test: end of block
Executed by:
  • ln
86
354-
355 if (remove_existing_files
remove_existing_filesDescription
TRUEevaluated 58 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 719 times by 1 test
Evaluated by:
  • ln
|| interactive
interactiveDescription
TRUEnever evaluated
FALSEevaluated 719 times by 1 test
Evaluated by:
  • ln
|| backup_type != no_backups
backup_type != no_backupsDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 717 times by 1 test
Evaluated by:
  • ln
)
0-719
356 {-
357 dest_lstat_ok = (lstat (dest, &dest_stats) == 0);-
358 if (!dest_lstat_ok
!dest_lstat_okDescription
TRUEevaluated 43 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 17 times by 1 test
Evaluated by:
  • ln
&&
17-43
359 (*
(*__errno_location ()) != 2Description
TRUEnever evaluated
FALSEevaluated 43 times by 1 test
Evaluated by:
  • ln
__errno_location ())
(*__errno_location ()) != 2Description
TRUEnever evaluated
FALSEevaluated 43 times by 1 test
Evaluated by:
  • ln
0-43
360 !=
(*__errno_location ()) != 2Description
TRUEnever evaluated
FALSEevaluated 43 times by 1 test
Evaluated by:
  • ln
0-43
361 2
(*__errno_location ()) != 2Description
TRUEnever evaluated
FALSEevaluated 43 times by 1 test
Evaluated by:
  • ln
0-43
362 )-
363 {-
364 error (0, -
365 (*__errno_location ())-
366 , -
367 dcgettext (((void *)0), -
368 "failed to access %s"-
369 , 5)-
370 , quotearg_style (shell_escape_always_quoting_style, dest));-
371 return
never executed: return 0 ;
never executed: return 0 ;
0
372 0
never executed: return 0 ;
0
373 ;
never executed: return 0 ;
0
374 }-
375 }
executed 60 times by 1 test: end of block
Executed by:
  • ln
60
376-
377-
378-
379 if (dest_lstat_ok
dest_lstat_okDescription
TRUEevaluated 17 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 760 times by 1 test
Evaluated by:
  • ln
17-760
380 && dest_set !=
dest_set != ((void *)0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • ln
FALSEevaluated 16 times by 1 test
Evaluated by:
  • ln
1-16
381 ((void *)0)
dest_set != ((void *)0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • ln
FALSEevaluated 16 times by 1 test
Evaluated by:
  • ln
1-16
382 -
383 && seen_file (dest_set, dest, &dest_stats)
seen_file (des..., &dest_stats)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • ln
FALSEnever evaluated
)
0-1
384 {-
385 error (0, 0,-
386 -
387 dcgettext (((void *)0), -
388 "will not overwrite just-created %s with %s"-
389 , 5)-
390 ,-
391 quotearg_n_style (0, shell_escape_always_quoting_style, dest), quotearg_n_style (1, shell_escape_always_quoting_style, source));-
392 return
executed 1 time by 1 test: return 0 ;
Executed by:
  • ln
executed 1 time by 1 test: return 0 ;
Executed by:
  • ln
1
393 0
executed 1 time by 1 test: return 0 ;
Executed by:
  • ln
1
394 ;
executed 1 time by 1 test: return 0 ;
Executed by:
  • ln
1
395 }-
396-
397-
398-
399-
400-
401-
402 if ((remove_existing_files
remove_existing_filesDescription
TRUEevaluated 57 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 719 times by 1 test
Evaluated by:
  • ln
57-719
403-
404-
405-
406-
407-
408 || (!symbolic_link
!symbolic_linkDescription
TRUEevaluated 82 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 637 times by 1 test
Evaluated by:
  • ln
&& backup_type != no_backups
backup_type != no_backupsDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 80 times by 1 test
Evaluated by:
  • ln
))
2-637
409 && dest_lstat_ok
dest_lstat_okDescription
TRUEevaluated 16 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 43 times by 1 test
Evaluated by:
  • ln
16-43
410-
411-
412-
413-
414-
415 && (backup_type == no_backups
backup_type == no_backupsDescription
TRUEevaluated 12 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ln
|| !symbolic_link
!symbolic_linkDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ln
FALSEnever evaluated
)
0-12
416 && (!symbolic_link
!symbolic_linkDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 12 times by 1 test
Evaluated by:
  • ln
|| stat (source, &source_stats) == 0
stat (source, ...ce_stats) == 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 8 times by 1 test
Evaluated by:
  • ln
)
4-12
417 && ((
(source_stats)..._stats).st_inoDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 5 times by 1 test
Evaluated by:
  • ln
source_stats).st_ino == (dest_stats).st_ino
(source_stats)..._stats).st_inoDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 5 times by 1 test
Evaluated by:
  • ln
&& (
(source_stats)..._stats).st_devDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • ln
FALSEnever evaluated
source_stats).st_dev == (dest_stats).st_dev
(source_stats)..._stats).st_devDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • ln
FALSEnever evaluated
)
0-5
418-
419-
420-
421-
422 && (source_stats.st_nlink == 1
source_stats.st_nlink == 1Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • ln
FALSEnever evaluated
|| same_name (source, dest)
same_name (source, dest)Description
TRUEnever evaluated
FALSEnever evaluated
))
0-3
423 {-
424 error (0, 0, -
425 dcgettext (((void *)0), -
426 "%s and %s are the same file"-
427 , 5)-
428 ,-
429 quotearg_n_style (0, shell_escape_always_quoting_style, source), quotearg_n_style (1, shell_escape_always_quoting_style, dest));-
430 return
executed 3 times by 1 test: return 0 ;
Executed by:
  • ln
executed 3 times by 1 test: return 0 ;
Executed by:
  • ln
3
431 0
executed 3 times by 1 test: return 0 ;
Executed by:
  • ln
3
432 ;
executed 3 times by 1 test: return 0 ;
Executed by:
  • ln
3
433 }-
434-
435 if (dest_lstat_ok
dest_lstat_okDescription
TRUEevaluated 13 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 760 times by 1 test
Evaluated by:
  • ln
)
13-760
436 {-
437 if (-
438 ((((
(((( dest_stat... == (0040000))Description
TRUEnever evaluated
FALSEevaluated 13 times by 1 test
Evaluated by:
  • ln
0-13
439 dest_stats.st_mode
(((( dest_stat... == (0040000))Description
TRUEnever evaluated
FALSEevaluated 13 times by 1 test
Evaluated by:
  • ln
0-13
440 )) & 0170000) == (0040000))
(((( dest_stat... == (0040000))Description
TRUEnever evaluated
FALSEevaluated 13 times by 1 test
Evaluated by:
  • ln
0-13
441 )-
442 {-
443 error (0, 0, -
444 dcgettext (((void *)0), -
445 "%s: cannot overwrite directory"-
446 , 5)-
447 , quotearg_n_style_colon (0, shell_escape_quoting_style, dest));-
448 return
never executed: return 0 ;
never executed: return 0 ;
0
449 0
never executed: return 0 ;
0
450 ;
never executed: return 0 ;
0
451 }-
452 if (interactive
interactiveDescription
TRUEnever evaluated
FALSEevaluated 13 times by 1 test
Evaluated by:
  • ln
)
0-13
453 {-
454 fprintf (-
455 stderr-
456 , -
457 dcgettext (((void *)0), -
458 "%s: replace %s? "-
459 , 5)-
460 , program_name, quotearg_style (shell_escape_always_quoting_style, dest));-
461 if (!yesno ()
!yesno ()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
462 return
never executed: return 1 ;
never executed: return 1 ;
0
463 1
never executed: return 1 ;
0
464 ;
never executed: return 1 ;
0
465 remove_existing_files = -
466 1-
467 ;-
468 }
never executed: end of block
0
469-
470 if (backup_type != no_backups
backup_type != no_backupsDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ln
)
3-10
471 {-
472 dest_backup = find_backup_file_name (dest, backup_type);-
473 if (rename (dest, dest_backup) != 0
rename (dest, ...t_backup) != 0Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • ln
)
0-3
474 {-
475 int rename_errno = -
476 (*__errno_location ())-
477 ;-
478 free (dest_backup);-
479 dest_backup = -
480 ((void *)0)-
481 ;-
482 if (rename_errno !=
rename_errno != 2Description
TRUEnever evaluated
FALSEnever evaluated
0
483 2
rename_errno != 2Description
TRUEnever evaluated
FALSEnever evaluated
0
484 )-
485 {-
486 error (0, rename_errno, -
487 dcgettext (((void *)0), -
488 "cannot backup %s"-
489 , 5)-
490 ,-
491 quotearg_style (shell_escape_always_quoting_style, dest));-
492 return
never executed: return 0 ;
never executed: return 0 ;
0
493 0
never executed: return 0 ;
0
494 ;
never executed: return 0 ;
0
495 }-
496 }
never executed: end of block
0
497 }
executed 3 times by 1 test: end of block
Executed by:
  • ln
3
498 }
executed 13 times by 1 test: end of block
Executed by:
  • ln
13
499-
500 if (relative
relativeDescription
TRUEevaluated 5 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 768 times by 1 test
Evaluated by:
  • ln
)
5-768
501 source = rel_source = convert_abs_rel (source, dest);
executed 5 times by 1 test: source = rel_source = convert_abs_rel (source, dest);
Executed by:
  • ln
5
502 -
503 _Bool -
504 ok_to_remove = remove_existing_files
remove_existing_filesDescription
TRUEevaluated 55 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 718 times by 1 test
Evaluated by:
  • ln
|| dest_backup
dest_backupDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • ln
FALSEevaluated 717 times by 1 test
Evaluated by:
  • ln
;
1-718
505 -
506 _Bool -
507 ok = 0 <= (symbolic_link
symbolic_linkDescription
TRUEevaluated 689 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 84 times by 1 test
Evaluated by:
  • ln
84-689
508 ? force_symlinkat (source, -
509 -100-
510 , dest, ok_to_remove)-
511 : force_linkat (-
512 -100-
513 , source, -
514 -100-
515 , dest,-
516 logical ? -
517 0x400 -
518 : 0,-
519 ok_to_remove));-
520-
521 if (ok
okDescription
TRUEevaluated 768 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 5 times by 1 test
Evaluated by:
  • ln
)
5-768
522 {-
523-
524-
525 if (! symbolic_link
! symbolic_linkDescription
TRUEevaluated 82 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 686 times by 1 test
Evaluated by:
  • ln
)
82-686
526 record_file (dest_set, dest, &source_stats);
executed 82 times by 1 test: record_file (dest_set, dest, &source_stats);
Executed by:
  • ln
82
527-
528 if (verbose
verboseDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • ln
FALSEevaluated 767 times by 1 test
Evaluated by:
  • ln
)
1-767
529 {-
530 if (dest_backup
dest_backupDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • ln
)
0-1
531 printf ("%s ~ ", quotearg_style (shell_escape_always_quoting_style, dest_backup));
never executed: printf ("%s ~ ", quotearg_style (shell_escape_always_quoting_style, dest_backup));
0
532 printf ("%s %c> %s\n", quotearg_n_style (0, shell_escape_always_quoting_style, dest),-
533 (symbolic_link ? '-' : '='), quotearg_n_style (1, shell_escape_always_quoting_style, source));-
534 }
executed 1 time by 1 test: end of block
Executed by:
  • ln
1
535 }
executed 768 times by 1 test: end of block
Executed by:
  • ln
768
536 else-
537 {-
538 error (0, -
539 (*__errno_location ())-
540 ,-
541 (symbolic_link-
542 ? (-
543 (*__errno_location ()) -
544 != -
545 36 -
546 && *source-
547 ? -
548 dcgettext (((void *)0), -
549 "failed to create symbolic link %s"-
550 , 5)-
551 -
552 : -
553 dcgettext (((void *)0), -
554 "failed to create symbolic link %s -> %s"-
555 , 5)-
556 )-
557 : (-
558 (*__errno_location ()) -
559 == -
560 31 -
561 && !source_is_dir-
562 ? -
563 dcgettext (((void *)0), -
564 "failed to create hard link to %.0s%s"-
565 , 5)-
566 -
567 : (-
568 (*__errno_location ()) -
569 == -
570 122 -
571 || -
572 (*__errno_location ()) -
573 == -
574 17 -
575 || -
576 (*__errno_location ()) -
577 == -
578 28-
579 -
580 || -
581 (*__errno_location ()) -
582 == -
583 30-
584 )-
585 ? -
586 dcgettext (((void *)0), -
587 "failed to create hard link %s"-
588 , 5)-
589 -
590 : -
591 dcgettext (((void *)0), -
592 "failed to create hard link %s => %s"-
593 , 5)-
594 )),-
595 quotearg_n_style (0, shell_escape_always_quoting_style, dest), quotearg_n_style (1, shell_escape_always_quoting_style, source));-
596-
597 if (dest_backup
dest_backupDescription
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • ln
)
0-5
598 {-
599 if (rename (dest_backup, dest) != 0
rename (dest_b...up, dest) != 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
600 error (0,
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot un-backup %s" , 5) , quotearg_style (shell_escape_always_quoting_style, dest));
0
601 (*__errno_location ())
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot un-backup %s" , 5) , quotearg_style (shell_escape_always_quoting_style, dest));
0
602 ,
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot un-backup %s" , 5) , quotearg_style (shell_escape_always_quoting_style, dest));
0
603 dcgettext (((void *)0),
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot un-backup %s" , 5) , quotearg_style (shell_escape_always_quoting_style, dest));
0
604 "cannot un-backup %s"
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot un-backup %s" , 5) , quotearg_style (shell_escape_always_quoting_style, dest));
0
605 , 5)
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot un-backup %s" , 5) , quotearg_style (shell_escape_always_quoting_style, dest));
0
606 , quotearg_style (shell_escape_always_quoting_style, dest));
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot un-backup %s" , 5) , quotearg_style (shell_escape_always_quoting_style, dest));
0
607 }
never executed: end of block
0
608 }
executed 5 times by 1 test: end of block
Executed by:
  • ln
5
609-
610 free (dest_backup);-
611 free (rel_source);-
612 return
executed 773 times by 1 test: return ok;
Executed by:
  • ln
ok;
executed 773 times by 1 test: return ok;
Executed by:
  • ln
773
613}-
614-
615void-
616usage (int status)-
617{-
618 if (status !=
status != 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 28 times by 1 test
Evaluated by:
  • ln
3-28
619 0
status != 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 28 times by 1 test
Evaluated by:
  • ln
3-28
620 )-
621 do { fprintf (-
622 stderr-
623 , -
624 dcgettext (((void *)0), -
625 "Try '%s --help' for more information.\n"-
626 , 5)-
627 , program_name); }
executed 3 times by 1 test: end of block
Executed by:
  • ln
while (0);
3
628 else-
629 {-
630 printf (-
631 dcgettext (((void *)0), -
632 "Usage: %s [OPTION]... [-T] TARGET LINK_NAME (1st form)\n or: %s [OPTION]... TARGET (2nd form)\n or: %s [OPTION]... TARGET... DIRECTORY (3rd form)\n or: %s [OPTION]... -t DIRECTORY TARGET... (4th form)\n"-
633 , 5)-
634-
635-
636-
637-
638 -
639 ,-
640 program_name, program_name, program_name, program_name);-
641 fputs_unlocked (-
642 dcgettext (((void *)0), -
643 "In the 1st form, create a link to TARGET with the name LINK_NAME.\nIn the 2nd form, create a link to TARGET in the current directory.\nIn the 3rd and 4th forms, create links to each TARGET in DIRECTORY.\nCreate hard links by default, symbolic links with --symbolic.\nBy default, each destination (name of new link) should not already exist.\nWhen creating hard links, each TARGET must exist. Symbolic links\ncan hold arbitrary text; if later resolved, a relative link is\ninterpreted in relation to its parent directory.\n"-
644 , 5)-
645 ,-
646 stdout-
647 )-
648 ;-
649-
650 emit_mandatory_arg_note ();-
651-
652 fputs_unlocked (-
653 dcgettext (((void *)0), -
654 " --backup[=CONTROL] make a backup of each existing destination file\n -b like --backup but does not accept an argument\n -d, -F, --directory allow the superuser to attempt to hard link\n directories (note: will probably fail due to\n system restrictions, even for the superuser)\n -f, --force remove existing destination files\n"-
655 , 5)-
656 ,-
657 stdout-
658 )-
659-
660-
661-
662-
663-
664-
665 ;-
666 fputs_unlocked (-
667 dcgettext (((void *)0), -
668 " -i, --interactive prompt whether to remove destinations\n -L, --logical dereference TARGETs that are symbolic links\n -n, --no-dereference treat LINK_NAME as a normal file if\n it is a symbolic link to a directory\n -P, --physical make hard links directly to symbolic links\n -r, --relative create symbolic links relative to link location\n -s, --symbolic make symbolic links instead of hard links\n"-
669 , 5)-
670 ,-
671 stdout-
672 )-
673-
674-
675-
676-
677-
678-
679-
680 ;-
681 fputs_unlocked (-
682 dcgettext (((void *)0), -
683 " -S, --suffix=SUFFIX override the usual backup suffix\n -t, --target-directory=DIRECTORY specify the DIRECTORY in which to create\n the links\n -T, --no-target-directory treat LINK_NAME as a normal file always\n -v, --verbose print name of each linked file\n"-
684 , 5)-
685 ,-
686 stdout-
687 )-
688-
689-
690-
691-
692-
693 ;-
694 fputs_unlocked (-
695 dcgettext (((void *)0), -
696 " --help display this help and exit\n"-
697 , 5)-
698 ,-
699 stdout-
700 );-
701 fputs_unlocked (-
702 dcgettext (((void *)0), -
703 " --version output version information and exit\n"-
704 , 5)-
705 ,-
706 stdout-
707 );-
708 emit_backup_suffix_note ();-
709 printf (-
710 dcgettext (((void *)0), -
711 "\nUsing -s ignores -L and -P. Otherwise, the last option specified controls\nbehavior when a TARGET is a symbolic link, defaulting to %s.\n"-
712 , 5)-
713-
714-
715-
716 -
717 , 0 ? "-L" : "-P");-
718 emit_ancillary_info ("ln");-
719 }
executed 28 times by 1 test: end of block
Executed by:
  • ln
28
720 exit (status);
executed 31 times by 1 test: exit (status);
Executed by:
  • ln
31
721}-
722-
723int-
724main (int argc, char **argv)-
725{-
726 int c;-
727 -
728 _Bool -
729 ok;-
730 -
731 _Bool -
732 make_backups = -
733 0-
734 ;-
735 char const *backup_suffix = -
736 ((void *)0)-
737 ;-
738 char *version_control_string = -
739 ((void *)0)-
740 ;-
741 char const *target_directory = -
742 ((void *)0)-
743 ;-
744 -
745 _Bool -
746 no_target_directory = -
747 0-
748 ;-
749 int n_files;-
750 char **file;-
751-
752 ;-
753 set_program_name (argv[0]);-
754 setlocale (-
755 6-
756 , "");-
757 bindtextdomain ("coreutils", "/usr/local/share/locale");-
758 textdomain ("coreutils");-
759-
760 atexit (close_stdin);-
761-
762 symbolic_link = remove_existing_files = interactive = verbose-
763 = hard_dir_link = -
764 0-
765 ;-
766-
767 while ((
(c = getopt_lo... *)0) )) != -1Description
TRUEevaluated 891 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 780 times by 1 test
Evaluated by:
  • ln
c = getopt_long (argc, argv, "bdfinrst:vFLPS:T", long_options,
(c = getopt_lo... *)0) )) != -1Description
TRUEevaluated 891 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 780 times by 1 test
Evaluated by:
  • ln
780-891
768 ((void *)0)
(c = getopt_lo... *)0) )) != -1Description
TRUEevaluated 891 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 780 times by 1 test
Evaluated by:
  • ln
780-891
769 ))
(c = getopt_lo... *)0) )) != -1Description
TRUEevaluated 891 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 780 times by 1 test
Evaluated by:
  • ln
780-891
770 != -1
(c = getopt_lo... *)0) )) != -1Description
TRUEevaluated 891 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 780 times by 1 test
Evaluated by:
  • ln
)
780-891
771 {-
772 switch (c)-
773 {-
774 case
executed 6 times by 1 test: case 'b':
Executed by:
  • ln
'b':
executed 6 times by 1 test: case 'b':
Executed by:
  • ln
6
775 make_backups = -
776 1-
777 ;-
778 if (optarg
optargDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 3 times by 1 test
Evaluated by:
  • ln
)
3
779 version_control_string = optarg;
executed 3 times by 1 test: version_control_string = optarg;
Executed by:
  • ln
3
780 break;
executed 6 times by 1 test: break;
Executed by:
  • ln
6
781 case
executed 1 time by 1 test: case 'd':
Executed by:
  • ln
'd':
executed 1 time by 1 test: case 'd':
Executed by:
  • ln
1
782 case
executed 2 times by 1 test: case 'F':
Executed by:
  • ln
'F':
executed 2 times by 1 test: case 'F':
Executed by:
  • ln
2
783 hard_dir_link = -
784 1-
785 ;-
786 break;
executed 3 times by 1 test: break;
Executed by:
  • ln
3
787 case
executed 59 times by 1 test: case 'f':
Executed by:
  • ln
'f':
executed 59 times by 1 test: case 'f':
Executed by:
  • ln
59
788 remove_existing_files = -
789 1-
790 ;-
791 interactive = -
792 0-
793 ;-
794 break;
executed 59 times by 1 test: break;
Executed by:
  • ln
59
795 case
executed 2 times by 1 test: case 'i':
Executed by:
  • ln
'i':
executed 2 times by 1 test: case 'i':
Executed by:
  • ln
2
796 remove_existing_files = -
797 0-
798 ;-
799 interactive = -
800 1-
801 ;-
802 break;
executed 2 times by 1 test: break;
Executed by:
  • ln
2
803 case
executed 8 times by 1 test: case 'L':
Executed by:
  • ln
'L':
executed 8 times by 1 test: case 'L':
Executed by:
  • ln
8
804 logical = -
805 1-
806 ;-
807 break;
executed 8 times by 1 test: break;
Executed by:
  • ln
8
808 case
executed 48 times by 1 test: case 'n':
Executed by:
  • ln
'n':
executed 48 times by 1 test: case 'n':
Executed by:
  • ln
48
809 dereference_dest_dir_symlinks = -
810 0-
811 ;-
812 break;
executed 48 times by 1 test: break;
Executed by:
  • ln
48
813 case
executed 10 times by 1 test: case 'P':
Executed by:
  • ln
'P':
executed 10 times by 1 test: case 'P':
Executed by:
  • ln
10
814 logical = -
815 0-
816 ;-
817 break;
executed 10 times by 1 test: break;
Executed by:
  • ln
10
818 case
executed 7 times by 1 test: case 'r':
Executed by:
  • ln
'r':
executed 7 times by 1 test: case 'r':
Executed by:
  • ln
7
819 relative = -
820 1-
821 ;-
822 break;
executed 7 times by 1 test: break;
Executed by:
  • ln
7
823 case
executed 693 times by 1 test: case 's':
Executed by:
  • ln
's':
executed 693 times by 1 test: case 's':
Executed by:
  • ln
693
824 symbolic_link = -
825 1-
826 ;-
827 break;
executed 693 times by 1 test: break;
Executed by:
  • ln
693
828 case
executed 3 times by 1 test: case 't':
Executed by:
  • ln
't':
executed 3 times by 1 test: case 't':
Executed by:
  • ln
3
829 if (target_directory
target_directoryDescription
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • ln
)
0-3
830 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"multiple target directories specified\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"multiple target directories specified\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
831 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"multiple target directories specified\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
832 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"multiple target directories specified\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"multiple target directories specified\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
833 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"multiple target directories specified\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
834 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"multiple target directories specified\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
835 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"multiple target directories specified\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
836 "multiple target directories specified"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"multiple target directories specified\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
837 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"multiple target directories specified\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
838 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"multiple target directories specified\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
839 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"multiple target directories specified\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
840 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"multiple target directories specified\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
841 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"multiple target directories specified\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
842 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"multiple target directories specified\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
843 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"multiple target directories specified\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
844 "multiple target directories specified"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"multiple target directories specified\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
845 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"multiple target directories specified\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
846 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"multiple target directories specified\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
847 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"multiple target directories specified\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
848 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"multiple target directories specified\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "multiple target directories specified" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
849 else-
850 {-
851 struct stat st;-
852 if (stat (optarg, &st) != 0
stat (optarg, &st) != 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 1 time by 1 test
Evaluated by:
  • ln
)
1-2
853 ((
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
!!sizeof (struct { _Static_assert (
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
854 1
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
855 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
856 1
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
857 ,
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
858 (*__errno_location ())
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
859 ,
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
860 dcgettext (((void *)0),
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
861 "failed to access %s"
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
862 , 5)
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
863 , quotearg_style (shell_escape_always_quoting_style, optarg)), ((
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
864 0
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
865 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
866 1
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
867 ,
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
868 (*__errno_location ())
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
869 ,
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
870 dcgettext (((void *)0),
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
871 "failed to access %s"
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
872 , 5)
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
873 , quotearg_style (shell_escape_always_quoting_style, optarg)), ((
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
874 0
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
875 ) ? (void) 0 : __builtin_unreachable ()))))
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
876 ;
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to access %s\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; ..., (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to access %s" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • ln
2
877 if (!
! (((( st.st_m... == (0040000))Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • ln
0-1
878 ((((
! (((( st.st_m... == (0040000))Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • ln
0-1
879 st.st_mode
! (((( st.st_m... == (0040000))Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • ln
0-1
880 )) & 0170000) == (0040000))
! (((( st.st_m... == (0040000))Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • ln
0-1
881 )-
882 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...yle, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...yle, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
883 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...yle, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
884 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...yle, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
885 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...yle, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
886 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...yle, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
887 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...yle, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
888 "target %s is not a directory"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...yle, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
889 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...yle, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
890 , quotearg_style (shell_escape_always_quoting_style, optarg)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...yle, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
891 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...yle, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
892 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...yle, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
893 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...yle, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
894 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...yle, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
895 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...yle, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
896 "target %s is not a directory"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...yle, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
897 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...yle, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
898 , quotearg_style (shell_escape_always_quoting_style, optarg)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...yle, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
899 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...yle, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
900 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...yle, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
901 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((erro...yle, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
902 }
executed 1 time by 1 test: end of block
Executed by:
  • ln
1
903 target_directory = optarg;-
904 break;
executed 1 time by 1 test: break;
Executed by:
  • ln
1
905 case
executed 3 times by 1 test: case 'T':
Executed by:
  • ln
'T':
executed 3 times by 1 test: case 'T':
Executed by:
  • ln
3
906 no_target_directory = -
907 1-
908 ;-
909 break;
executed 3 times by 1 test: break;
Executed by:
  • ln
3
910 case
executed 3 times by 1 test: case 'v':
Executed by:
  • ln
'v':
executed 3 times by 1 test: case 'v':
Executed by:
  • ln
3
911 verbose = -
912 1-
913 ;-
914 break;
executed 3 times by 1 test: break;
Executed by:
  • ln
3
915 case
executed 3 times by 1 test: case 'S':
Executed by:
  • ln
'S':
executed 3 times by 1 test: case 'S':
Executed by:
  • ln
3
916 make_backups = -
917 1-
918 ;-
919 backup_suffix = optarg;-
920 break;
executed 3 times by 1 test: break;
Executed by:
  • ln
3
921 case
executed 28 times by 1 test: case GETOPT_HELP_CHAR:
Executed by:
  • ln
GETOPT_HELP_CHAR:
executed 28 times by 1 test: case GETOPT_HELP_CHAR:
Executed by:
  • ln
usage (
28
922 0-
923 ); break;
never executed: break;
;
0
924 case
executed 12 times by 1 test: case GETOPT_VERSION_CHAR:
Executed by:
  • ln
GETOPT_VERSION_CHAR:
executed 12 times by 1 test: case GETOPT_VERSION_CHAR:
Executed by:
  • ln
version_etc (
12
925 stdout-
926 , "ln", "GNU coreutils", Version, ("Mike Parker"), ("David MacKenzie"), (char *) -
927 ((void *)0)-
928 ); exit (
executed 12 times by 1 test: exit ( 0 );
Executed by:
  • ln
12
929 0
executed 12 times by 1 test: exit ( 0 );
Executed by:
  • ln
12
930 );
executed 12 times by 1 test: exit ( 0 );
Executed by:
  • ln
break;
never executed: break;
;
0-12
931 default
executed 3 times by 1 test: default:
Executed by:
  • ln
:
executed 3 times by 1 test: default:
Executed by:
  • ln
3
932 usage (-
933 1-
934 );-
935 break;
never executed: break;
0
936 }-
937 }-
938-
939 n_files = argc - optind;-
940 file = argv + optind;-
941-
942 if (n_files <= 0
n_files <= 0Description
TRUEnever evaluated
FALSEevaluated 780 times by 1 test
Evaluated by:
  • ln
)
0-780
943 {-
944 error (0, 0, -
945 dcgettext (((void *)0), -
946 "missing file operand"-
947 , 5)-
948 );-
949 usage (-
950 1-
951 );-
952 }
never executed: end of block
0
953-
954 if (no_target_directory
no_target_directoryDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • ln
FALSEevaluated 779 times by 1 test
Evaluated by:
  • ln
)
1-779
955 {-
956 if (target_directory
target_directoryDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • ln
)
0-1
957 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine --target-directory \" \"and --no-target-directory\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((...ry " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot combine --target-directory " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine --target-directory \" \"and --no-target-directory\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((...ry " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot combine --target-directory " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
958 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine --target-directory \" \"and --no-target-directory\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((...ry " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot combine --target-directory " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
959 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine --target-directory \" \"and --no-target-directory\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine --target-directory \" \"and --no-target-directory\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((...ry " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot combine --target-directory " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
960 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine --target-directory \" \"and --no-target-directory\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((...ry " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot combine --target-directory " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
961 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine --target-directory \" \"and --no-target-directory\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((...ry " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot combine --target-directory " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
962 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine --target-directory \" \"and --no-target-directory\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((...ry " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot combine --target-directory " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
963 "cannot combine --target-directory " "and --no-target-directory"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine --target-directory \" \"and --no-target-directory\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((...ry " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot combine --target-directory " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
964 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine --target-directory \" \"and --no-target-directory\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((...ry " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot combine --target-directory " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
965 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine --target-directory \" \"and --no-target-directory\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((...ry " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot combine --target-directory " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
966 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine --target-directory \" \"and --no-target-directory\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((...ry " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot combine --target-directory " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
967 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine --target-directory \" \"and --no-target-directory\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((...ry " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot combine --target-directory " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
968 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine --target-directory \" \"and --no-target-directory\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((...ry " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot combine --target-directory " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
969 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine --target-directory \" \"and --no-target-directory\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((...ry " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot combine --target-directory " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
970 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine --target-directory \" \"and --no-target-directory\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((...ry " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot combine --target-directory " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
971 "cannot combine --target-directory " "and --no-target-directory"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine --target-directory \" \"and --no-target-directory\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((...ry " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot combine --target-directory " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
972 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine --target-directory \" \"and --no-target-directory\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((...ry " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot combine --target-directory " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
973 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine --target-directory \" \"and --no-target-directory\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((...ry " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot combine --target-directory " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
974 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine --target-directory \" \"and --no-target-directory\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((...ry " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot combine --target-directory " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
975 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine --target-directory \" \"and --no-target-directory\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((...ry " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot combine --target-directory " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
9760
977 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot combine --target-directory \" \"and --no-target-directory\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((...ry " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot combine --target-directory " "and --no-target-directory" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
978 if (n_files != 2
n_files != 2Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • ln
)
0-1
979 {-
980 if (n_files < 2
n_files < 2Description
TRUEnever evaluated
FALSEnever evaluated
)
0
981 error (0, 0,
never executed: error (0, 0, dcgettext (((void *)0), "missing destination file operand after %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file[0]));
0
982
never executed: error (0, 0, dcgettext (((void *)0), "missing destination file operand after %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file[0]));
0
983 dcgettext (((void *)0),
never executed: error (0, 0, dcgettext (((void *)0), "missing destination file operand after %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file[0]));
0
984 "missing destination file operand after %s"
never executed: error (0, 0, dcgettext (((void *)0), "missing destination file operand after %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file[0]));
0
985 , 5)
never executed: error (0, 0, dcgettext (((void *)0), "missing destination file operand after %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file[0]));
0
986 ,
never executed: error (0, 0, dcgettext (((void *)0), "missing destination file operand after %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file[0]));
0
987 quotearg_style (shell_escape_always_quoting_style, file[0]));
never executed: error (0, 0, dcgettext (((void *)0), "missing destination file operand after %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file[0]));
0
988 else-
989 error (0, 0,
never executed: error (0, 0, dcgettext (((void *)0), "extra operand %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file[2]));
0
990 dcgettext (((void *)0),
never executed: error (0, 0, dcgettext (((void *)0), "extra operand %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file[2]));
0
991 "extra operand %s"
never executed: error (0, 0, dcgettext (((void *)0), "extra operand %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file[2]));
0
992 , 5)
never executed: error (0, 0, dcgettext (((void *)0), "extra operand %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file[2]));
0
993 , quotearg_style (shell_escape_always_quoting_style, file[2]));
never executed: error (0, 0, dcgettext (((void *)0), "extra operand %s" , 5) , quotearg_style (shell_escape_always_quoting_style, file[2]));
0
994 usage (-
995 1-
996 );-
997 }
never executed: end of block
0
998 }
executed 1 time by 1 test: end of block
Executed by:
  • ln
1
999 else if (!target_directory
!target_directoryDescription
TRUEevaluated 778 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 1 time by 1 test
Evaluated by:
  • ln
)
1-778
1000 {-
1001 if (n_files < 2
n_files < 2Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 776 times by 1 test
Evaluated by:
  • ln
)
2-776
1002 target_directory = ".";
executed 2 times by 1 test: target_directory = ".";
Executed by:
  • ln
2
1003 else if (2 <= n_files
2 <= n_filesDescription
TRUEevaluated 776 times by 1 test
Evaluated by:
  • ln
FALSEnever evaluated
&& target_directory_operand (file[n_files - 1])
target_directo...[n_files - 1])Description
TRUEevaluated 11 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 764 times by 1 test
Evaluated by:
  • ln
)
0-776
1004 target_directory = file[--n_files];
executed 11 times by 1 test: target_directory = file[--n_files];
Executed by:
  • ln
11
1005 else if (2 < n_files
2 < n_filesDescription
TRUEnever evaluated
FALSEevaluated 764 times by 1 test
Evaluated by:
  • ln
)
0-764
1006 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1007 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1008 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1009 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1010 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1011 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1012 "target %s is not a directory"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1013 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1014 , quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1015 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1016 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1017 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1018 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1019 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1020 "target %s is not a directory"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1021 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1022 , quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1023 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1024 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1025 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"target %s is not a directory\", 5), quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "target %s is not a directory" , 5) , quotearg_style (shell_escape_always_quoting_style, file[n_files - 1])), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1026 }
executed 777 times by 1 test: end of block
Executed by:
  • ln
777
1027-
1028 backup_type = (make_backups
make_backupsDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 775 times by 1 test
Evaluated by:
  • ln
4-775
1029 ? xget_version (-
1030 dcgettext (((void *)0), -
1031 "backup type"-
1032 , 5)-
1033 , version_control_string)-
1034 : no_backups);-
1035 set_simple_backup_suffix (backup_suffix);-
1036-
1037 if (relative
relativeDescription
TRUEevaluated 5 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 774 times by 1 test
Evaluated by:
  • ln
&& !symbolic_link
!symbolic_linkDescription
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • ln
)
0-774
1038 {-
1039 ((!!sizeof (struct { _Static_assert (-
1040 1-
1041 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot do --relative without --symbolic\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (-
1042 1-
1043 , 0, -
1044 dcgettext (((void *)0), -
1045 "cannot do --relative without --symbolic"-
1046 , 5)-
1047 ), ((-
1048 0-
1049 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (-
1050 1-
1051 , 0, -
1052 dcgettext (((void *)0), -
1053 "cannot do --relative without --symbolic"-
1054 , 5)-
1055 ), ((-
1056 0-
1057 ) ? (void) 0 : __builtin_unreachable ()))))-
1058 ;-
1059 }
never executed: end of block
0
1060-
1061-
1062 if (target_directory
target_directoryDescription
TRUEevaluated 14 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 765 times by 1 test
Evaluated by:
  • ln
)
14-765
1063 {-
1064-
1065-
1066-
1067 if (2 <= n_files
2 <= n_filesDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • ln
FALSEevaluated 13 times by 1 test
Evaluated by:
  • ln
1-13
1068 && remove_existing_files
remove_existing_filesDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • ln
FALSEnever evaluated
0-1
1069-
1070-
1071 && ! symbolic_link
! symbolic_linkDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • ln
FALSEnever evaluated
0-1
1072-
1073-
1074 && backup_type != numbered_backups
backup_type !=...mbered_backupsDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • ln
FALSEnever evaluated
)
0-1
1075-
1076 {-
1077 dest_set = hash_initialize (DEST_INFO_INITIAL_CAPACITY,-
1078 -
1079 ((void *)0)-
1080 ,-
1081 triple_hash,-
1082 triple_compare,-
1083 triple_free);-
1084 if (dest_set ==
dest_set == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • ln
0-1
1085 ((void *)0)
dest_set == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • ln
0-1
1086 )-
1087 xalloc_die ();
never executed: xalloc_die ();
0
1088 }
executed 1 time by 1 test: end of block
Executed by:
  • ln
1
1089-
1090 ok = -
1091 1-
1092 ;-
1093 for (int i = 0; i < n_files
i < n_filesDescription
TRUEevaluated 15 times by 1 test
Evaluated by:
  • ln
FALSEevaluated 14 times by 1 test
Evaluated by:
  • ln
; ++i)
14-15
1094 {-
1095 char *dest_base;-
1096 char *dest = file_name_concat (target_directory,-
1097 last_component (file[i]),-
1098 &dest_base);-
1099 strip_trailing_slashes (dest_base);-
1100 ok &= do_link (file[i], dest);-
1101 free (dest);-
1102 }
executed 15 times by 1 test: end of block
Executed by:
  • ln
15
1103 }
executed 14 times by 1 test: end of block
Executed by:
  • ln
14
1104 else-
1105 ok = do_link (file[0], file[1]);
executed 765 times by 1 test: ok = do_link (file[0], file[1]);
Executed by:
  • ln
765
1106-
1107 return
executed 779 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • ln
ok ?
executed 779 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • ln
779
1108 0
executed 779 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • ln
779
1109 :
executed 779 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • ln
779
1110 1
executed 779 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • ln
779
1111 ;
executed 779 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • ln
779
1112}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.1.2