OpenCoverage

tail.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/tail.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8-
9-
10-
11enum Follow_mode-
12{-
13-
14-
15-
16 Follow_name = 1,-
17-
18-
19-
20-
21 Follow_descriptor = 2-
22};-
23-
24-
25-
26-
27-
28static char const *const follow_mode_string[] =-
29{-
30 "descriptor", "name", -
31 ((void *)0)-
32-
33};-
34-
35static enum Follow_mode const follow_mode_map[] =-
36{-
37 Follow_descriptor, Follow_name,-
38};-
39-
40struct File_spec-
41{-
42-
43 char *name;-
44-
45-
46 off_t size;-
47 struct timespec mtime;-
48 dev_t dev;-
49 ino_t ino;-
50 mode_t mode;-
51-
52-
53-
54-
55 -
56 _Bool -
57 ignore;-
58-
59-
60 -
61 _Bool -
62 remote;-
63-
64-
65-
66 -
67 _Bool -
68 tailable;-
69-
70-
71 int fd;-
72-
73-
74 int errnum;-
75-
76-
77 int blocking;-
78-
79-
80-
81 int wd;-
82-
83-
84-
85 int parent_wd;-
86-
87-
88 size_t basename_start;-
89-
90-
91-
92 uintmax_t n_unchanged_stats;-
93};-
94-
95-
96-
97static -
98 _Bool -
99 reopen_inaccessible_files;-
100-
101-
102-
103static -
104 _Bool -
105 count_lines;-
106-
107-
108-
109static enum Follow_mode follow_mode = Follow_descriptor;-
110-
111-
112static -
113 _Bool -
114 forever;-
115-
116-
117static -
118 _Bool -
119 monitor_output;-
120-
121-
122static -
123 _Bool -
124 from_start;-
125-
126-
127static -
128 _Bool -
129 print_headers;-
130-
131-
132static char line_end;-
133-
134-
135enum header_mode-
136{-
137 multiple_files, always, never-
138};-
139-
140-
141-
142-
143-
144-
145-
146static uintmax_t max_n_unchanged_stats_between_opens =-
147 5;-
148-
149-
150-
151static pid_t pid;-
152-
153-
154static -
155 _Bool -
156 have_read_stdin;-
157-
158-
159-
160-
161static -
162 _Bool -
163 presume_input_pipe;-
164-
165-
166static -
167 _Bool -
168 disable_inotify;-
169-
170-
171-
172enum-
173{-
174 RETRY_OPTION = 0x7f + 1,-
175 MAX_UNCHANGED_STATS_OPTION,-
176 PID_OPTION,-
177 PRESUME_INPUT_PIPE_OPTION,-
178 LONG_FOLLOW_OPTION,-
179 DISABLE_INOTIFY_OPTION-
180};-
181-
182static struct option const long_options[] =-
183{-
184 {"bytes", -
185 1-
186 , -
187 ((void *)0)-
188 , 'c'},-
189 {"follow", -
190 2-
191 , -
192 ((void *)0)-
193 , LONG_FOLLOW_OPTION},-
194 {"lines", -
195 1-
196 , -
197 ((void *)0)-
198 , 'n'},-
199 {"max-unchanged-stats", -
200 1-
201 , -
202 ((void *)0)-
203 , MAX_UNCHANGED_STATS_OPTION},-
204 {"-disable-inotify", -
205 0-
206 , -
207 ((void *)0)-
208 ,-
209 DISABLE_INOTIFY_OPTION},-
210 {"pid", -
211 1-
212 , -
213 ((void *)0)-
214 , PID_OPTION},-
215 {"-presume-input-pipe", -
216 0-
217 , -
218 ((void *)0)-
219 ,-
220 PRESUME_INPUT_PIPE_OPTION},-
221 {"quiet", -
222 0-
223 , -
224 ((void *)0)-
225 , 'q'},-
226 {"retry", -
227 0-
228 , -
229 ((void *)0)-
230 , RETRY_OPTION},-
231 {"silent", -
232 0-
233 , -
234 ((void *)0)-
235 , 'q'},-
236 {"sleep-interval", -
237 1-
238 , -
239 ((void *)0)-
240 , 's'},-
241 {"verbose", -
242 0-
243 , -
244 ((void *)0)-
245 , 'v'},-
246 {"zero-terminated", -
247 0-
248 , -
249 ((void *)0)-
250 , 'z'},-
251 {"help", -
252 0-
253 , -
254 ((void *)0)-
255 , GETOPT_HELP_CHAR},-
256 {"version", -
257 0-
258 , -
259 ((void *)0)-
260 , GETOPT_VERSION_CHAR},-
261 {-
262 ((void *)0)-
263 , 0, -
264 ((void *)0)-
265 , 0}-
266};-
267-
268void-
269usage (int status)-
270{-
271 if (status !=
status != 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 14 times by 1 test
Evaluated by:
  • tail
3-14
272 0
status != 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 14 times by 1 test
Evaluated by:
  • tail
3-14
273 )-
274 do { fprintf (-
275 stderr-
276 , -
277 dcgettext (((void *)0), -
278 "Try '%s --help' for more information.\n"-
279 , 5)-
280 , program_name); }
executed 3 times by 1 test: end of block
Executed by:
  • tail
while (0);
3
281 else-
282 {-
283 printf (-
284 dcgettext (((void *)0), -
285 "Usage: %s [OPTION]... [FILE]...\n"-
286 , 5)-
287-
288 -
289 ,-
290 program_name);-
291 printf (-
292 dcgettext (((void *)0), -
293 "Print the last %d lines of each FILE to standard output.\nWith more than one FILE, precede each with a header giving the file name.\n"-
294 , 5)-
295-
296-
297 -
298 , 10);-
299-
300 emit_stdin_note ();-
301 emit_mandatory_arg_note ();-
302-
303 fputs_unlocked (-
304 dcgettext (((void *)0), -
305 " -c, --bytes=[+]NUM output the last NUM bytes; or use -c +NUM to\n output starting with byte NUM of each file\n"-
306 , 5)-
307 ,-
308 stdout-
309 )-
310-
311-
312 ;-
313 fputs_unlocked (-
314 dcgettext (((void *)0), -
315 " -f, --follow[={name|descriptor}]\n output appended data as the file grows;\n an absent option argument means 'descriptor'\n -F same as --follow=name --retry\n"-
316 , 5)-
317 ,-
318 stdout-
319 )-
320-
321-
322-
323-
324 ;-
325 printf (-
326 dcgettext (((void *)0), -
327 " -n, --lines=[+]NUM output the last NUM lines, instead of the last %d;\n or use -n +NUM to output starting with line NUM\n --max-unchanged-stats=N\n with --follow=name, reopen a FILE which has not\n changed size after N (default %d) iterations\n to see if it has been unlinked or renamed\n (this is the usual case of rotated log files);\n with inotify, this option is rarely useful\n"-
328 , 5)-
329 ,-
330 -
331 10,-
332 5-
333 );-
334 fputs_unlocked (-
335 dcgettext (((void *)0), -
336 " --pid=PID with -f, terminate after process ID, PID dies\n -q, --quiet, --silent never output headers giving file names\n --retry keep trying to open a file if it is inaccessible\n"-
337 , 5)-
338 ,-
339 stdout-
340 )-
341-
342-
343-
344 ;-
345 fputs_unlocked (-
346 dcgettext (((void *)0), -
347 " -s, --sleep-interval=N with -f, sleep for approximately N seconds\n (default 1.0) between iterations;\n with inotify and --pid=P, check process P at\n least once every N seconds\n -v, --verbose always output headers giving file names\n"-
348 , 5)-
349 ,-
350 stdout-
351 )-
352-
353-
354-
355-
356-
357 ;-
358 fputs_unlocked (-
359 dcgettext (((void *)0), -
360 " -z, --zero-terminated line delimiter is NUL, not newline\n"-
361 , 5)-
362 ,-
363 stdout-
364 )-
365-
366 ;-
367 fputs_unlocked (-
368 dcgettext (((void *)0), -
369 " --help display this help and exit\n"-
370 , 5)-
371 ,-
372 stdout-
373 );-
374 fputs_unlocked (-
375 dcgettext (((void *)0), -
376 " --version output version information and exit\n"-
377 , 5)-
378 ,-
379 stdout-
380 );-
381 fputs_unlocked (-
382 dcgettext (((void *)0), -
383 "\nNUM may have a multiplier suffix:\nb 512, kB 1000, K 1024, MB 1000*1000, M 1024*1024,\nGB 1000*1000*1000, G 1024*1024*1024, and so on for T, P, E, Z, Y.\n\n"-
384 , 5)-
385 ,-
386 stdout-
387 )-
388-
389-
390-
391-
392-
393 ;-
394 fputs_unlocked (-
395 dcgettext (((void *)0), -
396 "With --follow (-f), tail defaults to following the file descriptor, which\nmeans that even if a tail'ed file is renamed, tail will continue to track\nits end. This default behavior is not desirable when you really want to\ntrack the actual name of the file, not the file descriptor (e.g., log\nrotation). Use --follow=name in that case. That causes tail to track the\nnamed file in a way that accommodates renaming, removal and creation.\n"-
397 , 5)-
398 ,-
399 stdout-
400 )-
401-
402-
403-
404-
405-
406-
407 ;-
408 emit_ancillary_info ("tail");-
409 }
executed 14 times by 1 test: end of block
Executed by:
  • tail
14
410 exit (status);
executed 17 times by 1 test: exit (status);
Executed by:
  • tail
17
411}-
412-
413-
414-
415static void-
416check_output_alive (void)-
417{-
418 if (! monitor_output
! monitor_outputDescription
TRUEevaluated 189 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 100 times by 1 test
Evaluated by:
  • tail
)
100-189
419 return;
executed 189 times by 1 test: return;
Executed by:
  • tail
189
420-
421 struct timeval delay;-
422 delay.tv_sec = delay.tv_usec = 0;-
423-
424 fd_set rfd;-
425 -
426 do { int __d0, __d1; __asm__ __volatile__ ("cld; rep; " "stosq" : "=c" (__d0), "=D" (__d1) : "a" (0), "0" (sizeof (fd_set) / sizeof (__fd_mask)), "1" (&((-
427 &rfd-
428 )->fds_bits)[0]) : "memory"); } while (0)-
429 ;-
430 -
431 ((void) (((-
432 &rfd-
433 )->fds_bits)[__extension__ ({ long int __d = (1); (__builtin_constant_p (__d) ? (0 <= __d && __d < 1024 ? (__d / (8 * (int) sizeof (__fd_mask))) : __fdelt_warn (__d)) : __fdelt_chk (__d)); })] |= ((__fd_mask) (1UL << ((1) % (8 * (int) sizeof (__fd_mask)))))))-
434 ;-
435-
436-
437-
438 if (select (
select ( 1 + 1..., &delay) == 1Description
TRUEevaluated 99 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
1-99
439 1
select ( 1 + 1..., &delay) == 1Description
TRUEevaluated 99 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
1-99
440 + 1, &rfd,
select ( 1 + 1..., &delay) == 1Description
TRUEevaluated 99 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
1-99
441 ((void *)0)
select ( 1 + 1..., &delay) == 1Description
TRUEevaluated 99 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
1-99
442 ,
select ( 1 + 1..., &delay) == 1Description
TRUEevaluated 99 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
1-99
443 ((void *)0)
select ( 1 + 1..., &delay) == 1Description
TRUEevaluated 99 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
1-99
444 , &delay) == 1
select ( 1 + 1..., &delay) == 1Description
TRUEevaluated 99 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
)
1-99
445 raise (
executed 99 times by 1 test: raise ( 13 );
Executed by:
  • tail
99
446 13
executed 99 times by 1 test: raise ( 13 );
Executed by:
  • tail
99
447 );
executed 99 times by 1 test: raise ( 13 );
Executed by:
  • tail
99
448}
executed 100 times by 1 test: end of block
Executed by:
  • tail
100
449-
450static -
451 _Bool-
452-
453valid_file_spec (struct File_spec const *f)-
454{-
455-
456 return
executed 1113 times by 1 test: return ((f->fd == -1) ^ (f->errnum == 0));
Executed by:
  • tail
((f->fd == -1) ^ (f->errnum == 0));
executed 1113 times by 1 test: return ((f->fd == -1) ^ (f->errnum == 0));
Executed by:
  • tail
1113
457}-
458-
459static char const *-
460pretty_name (struct File_spec const *f)-
461{-
462 return
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
((
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
463 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
464 f->name
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
465 ) && __builtin_constant_p (
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
466 "-"
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
467 ) && (__s1_len = __builtin_strlen (
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
468 f->name
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
469 ), __s2_len = __builtin_strlen (
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
470 "-"
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
471 ), (!((size_t)(const void *)((
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
472 f->name
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
473 ) + 1) - (size_t)(const void *)(
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
474 f->name
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
475 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
476 "-"
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
477 ) + 1) - (size_t)(const void *)(
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
478 "-"
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
479 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
480 f->name
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
481 ,
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
482 "-"
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
483 ) : (__builtin_constant_p (
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
484 f->name
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
485 ) && ((size_t)(const void *)((
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
486 f->name
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
487 ) + 1) - (size_t)(const void *)(
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
488 f->name
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
489 ) == 1) && (__s1_len = __builtin_strlen (
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
490 f->name
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
491 ), __s1_len < 4) ? (__builtin_constant_p (
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
492 "-"
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
493 ) && ((size_t)(const void *)((
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
494 "-"
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
495 ) + 1) - (size_t)(const void *)(
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
496 "-"
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
497 ) == 1) ? __builtin_strcmp (
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
498 f->name
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
499 ,
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
500 "-"
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
501 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
502 "-"
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
503 ); int __result = (((const unsigned char *) (const char *) (
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
504 f->name
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
505 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
0-3932
506 f->name
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
507 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
0-3932
508 f->name
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
509 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( f->name ))[3] - __s2[3]);
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
0-3932
510 f->name
never executed: __result = (((const unsigned char *) (const char *) ( f->name ))[3] - __s2[3]);
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
0-3932
511 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( f->name ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
0-3932
512 "-"
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
513 ) && ((size_t)(const void *)((
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
514 "-"
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
515 ) + 1) - (size_t)(const void *)(
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
516 "-"
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
517 ) == 1) && (__s2_len = __builtin_strlen (
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
518 "-"
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
519 ), __s2_len < 4) ? (__builtin_constant_p (
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
520 f->name
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
521 ) && ((size_t)(const void *)((
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
522 f->name
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
523 ) + 1) - (size_t)(const void *)(
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
524 f->name
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
525 ) == 1) ? __builtin_strcmp (
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
526 f->name
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
527 ,
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
528 "-"
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
529 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
530 f->name
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
531 ); int __result = (((const unsigned char *) (const char *) (
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
532 "-"
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
533 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEevaluated 3932 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEevaluated 95 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 3837 times by 1 test
Evaluated by:
  • tail
) { __result = (((const unsigned char *) (const char *) (
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
0-3932
534 "-"
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
535 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEevaluated 95 times by 1 test
Evaluated by:
  • tail
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
0-3932
536 "-"
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
537 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
0-3932
538 "-"
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
0-3932
539 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
}
never executed: end of block
}
executed 95 times by 1 test: end of block
Executed by:
  • tail
__result; }))) : __builtin_strcmp (
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
0-3932
540 f->name
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
541 ,
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
542 "-"
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
543 )))); })
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
544 == 0) ?
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
545 dcgettext (((void *)0),
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
546 "standard input"
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
547 , 5)
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
548 : f->name);
executed 3932 times by 1 test: return (( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( f->name ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( f->name ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)(( f->name ) + 1) - (size_t)...[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( f->name , "-" )))); }) == 0) ? dcgettext (((void *)0), "standard input" , 5) : f->name);
Executed by:
  • tail
3932
549}-
550-
551-
552-
553-
554static void-
555record_open_fd (struct File_spec *f, int fd,-
556 off_t size, struct stat const *st,-
557 int blocking)-
558{-
559 f->fd = fd;-
560 f->size = size;-
561 f->mtime = get_stat_mtime (st);-
562 f->dev = st->st_dev;-
563 f->ino = st->st_ino;-
564 f->mode = st->st_mode;-
565 f->blocking = blocking;-
566 f->n_unchanged_stats = 0;-
567 f->ignore = -
568 0-
569 ;-
570}
executed 411 times by 1 test: end of block
Executed by:
  • tail
411
571-
572-
573-
574static void-
575close_fd (int fd, const char *filename)-
576{-
577 if (fd != -1
fd != -1Description
TRUEevaluated 835 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 324 times by 1 test
Evaluated by:
  • tail
&& fd !=
fd != 0Description
TRUEevaluated 834 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
1-835
578 0
fd != 0Description
TRUEevaluated 834 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
1-834
579 && close (fd)
close (fd)Description
TRUEnever evaluated
FALSEevaluated 834 times by 1 test
Evaluated by:
  • tail
)
0-834
580 {-
581 error (0, -
582 (*__errno_location ())-
583 , -
584 dcgettext (((void *)0), -
585 "closing %s (fd=%d)"-
586 , 5)-
587 , quotearg_style (shell_escape_always_quoting_style, filename), fd);-
588 }
never executed: end of block
0
589}
executed 1159 times by 1 test: end of block
Executed by:
  • tail
1159
590-
591static void-
592write_header (const char *pretty_filename)-
593{-
594 static -
595 _Bool -
596 first_file = -
597 1-
598 ;-
599-
600 printf ("%s==> %s <==\n", (first_file ? "" : "\n"), pretty_filename);-
601 first_file = -
602 0-
603 ;-
604}
executed 28 times by 1 test: end of block
Executed by:
  • tail
28
605-
606-
607-
608-
609static void-
610xwrite_stdout (char const *buffer, size_t n_bytes)-
611{-
612 if (n_bytes > 0
n_bytes > 0Description
TRUEevaluated 276 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tail
&&
4-276
613 (
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
__extension__ ((__builtin_constant_p (
__builtin_constant_p ( 1 )Description
TRUEevaluated 276 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
614 1
__builtin_constant_p ( 1 )Description
TRUEevaluated 276 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
615 )
__builtin_constant_p ( 1 )Description
TRUEevaluated 276 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
&& __builtin_constant_p (
__builtin_cons..._p ( n_bytes )Description
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
616 n_bytes
__builtin_cons..._p ( n_bytes )Description
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
617 )
__builtin_cons..._p ( n_bytes )Description
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
&& (
(size_t) ( 1 )...n_bytes ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (
(size_t) ( 1 )...n_bytes ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
618 1
(size_t) ( 1 )...n_bytes ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
619 ) * (size_t) (
(size_t) ( 1 )...n_bytes ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
620 n_bytes
(size_t) ( 1 )...n_bytes ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
621 ) <= 8
(size_t) ( 1 )...n_bytes ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
622 1
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
623 ) != 0
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
) ? ({ const char *__ptr = (const char *) (
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
624 buffer
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
625 ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_t) (
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
626 1
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
627 ) * (size_t) (
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
628 n_bytes
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
629 ); __cnt > 0
__cnt > 0Description
TRUEnever evaluated
FALSEnever evaluated
; --__cnt) if ((
(__builtin_exp...r++))) == (-1)Description
TRUEnever evaluated
FALSEnever evaluated
__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0)
__builtin_expe...write_end), 0)Description
TRUEnever evaluated
FALSEnever evaluated
? __overflow (__stream, (unsigned char) (*__ptr++)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (*__ptr++))) == (-1)
(__builtin_exp...r++))) == (-1)Description
TRUEnever evaluated
FALSEnever evaluated
) break;
never executed: break;
((size_t) (
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
630 1
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
631 ) * (size_t) (
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
632 n_bytes
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
633 ) - __cnt) / (size_t) (
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
634 1
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
635 ); }) : (((__builtin_constant_p (
__builtin_constant_p ( 1 )Description
TRUEevaluated 276 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
636 1
__builtin_constant_p ( 1 )Description
TRUEevaluated 276 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
637 )
__builtin_constant_p ( 1 )Description
TRUEevaluated 276 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
&& (
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
size_t) (
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
638 1
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
639 ) == 0
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
) || (__builtin_constant_p (
__builtin_cons..._p ( n_bytes )Description
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
640 n_bytes
__builtin_cons..._p ( n_bytes )Description
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
641 )
__builtin_cons..._p ( n_bytes )Description
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
&& (
(size_t) ( n_bytes ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (
(size_t) ( n_bytes ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
642 n_bytes
(size_t) ( n_bytes ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
643 ) == 0
(size_t) ( n_bytes ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
)) ? ((void) (
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
644 buffer
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
645 ), (void) (stdout), (void) (
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
646 1
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
647 ), (void) (
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
648 n_bytes
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
649 ), (size_t) 0) : fwrite_unlocked (
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
650 buffer
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
651 ,
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
652 1
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
653 ,
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
654 n_bytes
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
655 , stdout))))
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
0-276
656 < n_bytes
(__extension__...)))) < n_bytesDescription
TRUEnever evaluated
FALSEevaluated 276 times by 1 test
Evaluated by:
  • tail
)
0-276
657 {-
658 clearerr_unlocked (-
659 stdout-
660 );-
661 ((!!sizeof (struct { _Static_assert (-
662 1-
663 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error writing %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"standard output\")), assume (false))" ")"); int _gl_dummy; })) ? ((error (-
664 1-
665 , -
666 (*__errno_location ())-
667 , -
668 dcgettext (((void *)0), -
669 "error writing %s"-
670 , 5)-
671 , quotearg_style (shell_escape_always_quoting_style, "standard output")), ((-
672 0-
673 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (-
674 1-
675 , -
676 (*__errno_location ())-
677 , -
678 dcgettext (((void *)0), -
679 "error writing %s"-
680 , 5)-
681 , quotearg_style (shell_escape_always_quoting_style, "standard output")), ((-
682 0-
683 ) ? (void) 0 : __builtin_unreachable ()))))-
684 ;-
685 }
never executed: end of block
0
686}
executed 280 times by 1 test: end of block
Executed by:
  • tail
280
687-
688-
689-
690-
691-
692-
693static uintmax_t-
694dump_remainder (-
695 _Bool -
696 want_header, const char *pretty_filename, int fd,-
697 uintmax_t n_bytes)-
698{-
699 uintmax_t n_written;-
700 uintmax_t n_remaining = n_bytes;-
701-
702 n_written = 0;-
703 while (1)-
704 {-
705 char buffer[-
706 8192-
707 ];-
708 size_t n = -
709 (((
(( n_remaining )<(8192))Description
TRUEevaluated 107 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 230 times by 1 test
Evaluated by:
  • tail
107-230
710 n_remaining
(( n_remaining )<(8192))Description
TRUEevaluated 107 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 230 times by 1 test
Evaluated by:
  • tail
107-230
711 )<(8192))
(( n_remaining )<(8192))Description
TRUEevaluated 107 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 230 times by 1 test
Evaluated by:
  • tail
?(
107-230
712 n_remaining-
713 ):(8192))-
714 ;-
715 size_t bytes_read = safe_read (fd, buffer, n);-
716 if (bytes_read == ((size_t) -1)
bytes_read == ((size_t) -1)Description
TRUEnever evaluated
FALSEevaluated 337 times by 1 test
Evaluated by:
  • tail
)
0-337
717 {-
718 if (-
719 (*
(*__errno_location ()) != 11Description
TRUEnever evaluated
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) != 11Description
TRUEnever evaluated
FALSEnever evaluated
0
720 !=
(*__errno_location ()) != 11Description
TRUEnever evaluated
FALSEnever evaluated
0
721 11
(*__errno_location ()) != 11Description
TRUEnever evaluated
FALSEnever evaluated
0
722 )-
723 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
724 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
725 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
726 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
727 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
728 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
729 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
730 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
731 "error reading %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
732 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
733 , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
734 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
735 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
736 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
737 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
738 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
739 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
740 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
741 "error reading %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
742 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
743 , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
744 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
745 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
746 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, pretty_filename)), assume (false))" ")"); int _gl_d... ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
747 break;
never executed: break;
0
748 }-
749 if (bytes_read == 0
bytes_read == 0Description
TRUEevaluated 147 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 190 times by 1 test
Evaluated by:
  • tail
)
147-190
750 break;
executed 147 times by 1 test: break;
Executed by:
  • tail
147
751 if (want_header
want_headerDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 187 times by 1 test
Evaluated by:
  • tail
)
3-187
752 {-
753 write_header (pretty_filename);-
754 want_header = -
755 0-
756 ;-
757 }
executed 3 times by 1 test: end of block
Executed by:
  • tail
3
758 xwrite_stdout (buffer, bytes_read);-
759 n_written += bytes_read;-
760 if (n_bytes !=
n_bytes != (18...73709551615UL)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 104 times by 1 test
Evaluated by:
  • tail
86-104
761 (18446744073709551615UL)
n_bytes != (18...73709551615UL)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 104 times by 1 test
Evaluated by:
  • tail
86-104
762 )-
763 {-
764 n_remaining -= bytes_read;-
765 if (n_remaining == 0
n_remaining == 0Description
TRUEevaluated 85 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
|| n_bytes == (
n_bytes == ( (...551615UL) - 1)Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
0-85
766 (18446744073709551615UL)
n_bytes == ( (...551615UL) - 1)Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
0-1
767 - 1)
n_bytes == ( (...551615UL) - 1)Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
)
0-1
768 break;
executed 85 times by 1 test: break;
Executed by:
  • tail
85
769 }
executed 1 time by 1 test: end of block
Executed by:
  • tail
1
770 }
executed 105 times by 1 test: end of block
Executed by:
  • tail
105
771-
772 return
executed 232 times by 1 test: return n_written;
Executed by:
  • tail
n_written;
executed 232 times by 1 test: return n_written;
Executed by:
  • tail
232
773}-
774-
775-
776-
777-
778-
779-
780static off_t-
781xlseek (int fd, off_t offset, int whence, char const *filename)-
782{-
783 off_t new_offset = lseek (fd, offset, whence);-
784 char buf[((((((sizeof (offset) * 8) - (! ((__typeof__ (offset)) 0 < (__typeof__ (offset)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (offset)) 0 < (__typeof__ (offset)) -1))) + 1)];-
785 char *s;-
786-
787 if (0 <= new_offset
0 <= new_offsetDescription
TRUEevaluated 527 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-527
788 return
executed 527 times by 1 test: return new_offset;
Executed by:
  • tail
new_offset;
executed 527 times by 1 test: return new_offset;
Executed by:
  • tail
527
789-
790 s = offtostr (offset, buf);-
791 switch (whence)-
792 {-
793 case
never executed: case 0 :
never executed: case 0 :
0
794 0
never executed: case 0 :
0
795 :
never executed: case 0 :
0
796 error (0, -
797 (*__errno_location ())-
798 , -
799 dcgettext (((void *)0), -
800 "%s: cannot seek to offset %s"-
801 , 5)-
802 ,-
803 quotearg_n_style_colon (0, shell_escape_quoting_style, filename), s);-
804 break;
never executed: break;
0
805 case
never executed: case 1 :
never executed: case 1 :
0
806 1
never executed: case 1 :
0
807 :
never executed: case 1 :
0
808 error (0, -
809 (*__errno_location ())-
810 , -
811 dcgettext (((void *)0), -
812 "%s: cannot seek to relative offset %s"-
813 , 5)-
814 ,-
815 quotearg_n_style_colon (0, shell_escape_quoting_style, filename), s);-
816 break;
never executed: break;
0
817 case
never executed: case 2 :
never executed: case 2 :
0
818 2
never executed: case 2 :
0
819 :
never executed: case 2 :
0
820 error (0, -
821 (*__errno_location ())-
822 , -
823 dcgettext (((void *)0), -
824 "%s: cannot seek to end-relative offset %s"-
825 , 5)-
826 ,-
827 quotearg_n_style_colon (0, shell_escape_quoting_style, filename), s);-
828 break;
never executed: break;
0
829 default
never executed: default:
:
never executed: default:
0
830 abort ();
never executed: abort ();
0
831 }-
832-
833 exit (
never executed: exit ( 1 );
0
834 1
never executed: exit ( 1 );
0
835 );
never executed: exit ( 1 );
0
836}-
837static -
838 _Bool-
839-
840file_lines (const char *pretty_filename, int fd, uintmax_t n_lines,-
841 off_t start_pos, off_t end_pos, uintmax_t *read_pos)-
842{-
843 char buffer[-
844 8192-
845 ];-
846 size_t bytes_read;-
847 off_t pos = end_pos;-
848-
849 if (n_lines == 0
n_lines == 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 103 times by 1 test
Evaluated by:
  • tail
)
2-103
850 return
executed 2 times by 1 test: return 1 ;
Executed by:
  • tail
executed 2 times by 1 test: return 1 ;
Executed by:
  • tail
2
851 1
executed 2 times by 1 test: return 1 ;
Executed by:
  • tail
2
852 ;
executed 2 times by 1 test: return 1 ;
Executed by:
  • tail
2
853-
854-
855-
856 bytes_read = (pos - start_pos) % -
857 8192-
858 ;-
859 if (bytes_read == 0
bytes_read == 0Description
TRUEnever evaluated
FALSEevaluated 103 times by 1 test
Evaluated by:
  • tail
)
0-103
860 bytes_read =
never executed: bytes_read = 8192 ;
0
861 8192
never executed: bytes_read = 8192 ;
0
862 ;
never executed: bytes_read = 8192 ;
0
863-
864-
865 pos -= bytes_read;-
866 xlseek (fd, pos, -
867 0-
868 , pretty_filename);-
869 bytes_read = safe_read (fd, buffer, bytes_read);-
870 if (bytes_read == ((size_t) -1)
bytes_read == ((size_t) -1)Description
TRUEnever evaluated
FALSEevaluated 103 times by 1 test
Evaluated by:
  • tail
)
0-103
871 {-
872 error (0, -
873 (*__errno_location ())-
874 , -
875 dcgettext (((void *)0), -
876 "error reading %s"-
877 , 5)-
878 , quotearg_style (shell_escape_always_quoting_style, pretty_filename));-
879 return
never executed: return 0 ;
never executed: return 0 ;
0
880 0
never executed: return 0 ;
0
881 ;
never executed: return 0 ;
0
882 }-
883 *read_pos = pos + bytes_read;-
884-
885-
886 if (bytes_read
bytes_readDescription
TRUEevaluated 103 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
&& buffer[bytes_read - 1] != line_end
buffer[bytes_r...1] != line_endDescription
TRUEevaluated 19 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 84 times by 1 test
Evaluated by:
  • tail
)
0-103
887 --
executed 19 times by 1 test: --n_lines;
Executed by:
  • tail
n_lines;
executed 19 times by 1 test: --n_lines;
Executed by:
  • tail
19
888-
889 do-
890 {-
891-
892-
893 size_t n = bytes_read;-
894 while (n
nDescription
TRUEevaluated 290 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-290
895 {-
896 char const *nl;-
897 nl = memrchr (buffer, line_end, n);-
898 if (nl ==
nl == ((void *)0)Description
TRUEevaluated 83 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 207 times by 1 test
Evaluated by:
  • tail
83-207
899 ((void *)0)
nl == ((void *)0)Description
TRUEevaluated 83 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 207 times by 1 test
Evaluated by:
  • tail
83-207
900 )-
901 break;
executed 83 times by 1 test: break;
Executed by:
  • tail
83
902 n = nl - buffer;-
903 if (n_lines-- == 0
n_lines-- == 0Description
TRUEevaluated 20 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 187 times by 1 test
Evaluated by:
  • tail
)
20-187
904 {-
905-
906-
907 if (n != bytes_read - 1
n != bytes_read - 1Description
TRUEevaluated 20 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-20
908 xwrite_stdout (nl + 1, bytes_read - (n + 1));
executed 20 times by 1 test: xwrite_stdout (nl + 1, bytes_read - (n + 1));
Executed by:
  • tail
20
909 *read_pos += dump_remainder (-
910 0-
911 , pretty_filename, fd,-
912 end_pos - (pos + bytes_read));-
913 return
executed 20 times by 1 test: return 1 ;
Executed by:
  • tail
executed 20 times by 1 test: return 1 ;
Executed by:
  • tail
20
914 1
executed 20 times by 1 test: return 1 ;
Executed by:
  • tail
20
915 ;
executed 20 times by 1 test: return 1 ;
Executed by:
  • tail
20
916 }-
917 }
executed 187 times by 1 test: end of block
Executed by:
  • tail
187
918-
919-
920 if (pos == start_pos
pos == start_posDescription
TRUEevaluated 83 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-83
921 {-
922-
923-
924 xlseek (fd, start_pos, -
925 0-
926 , pretty_filename);-
927 *read_pos = start_pos + dump_remainder (-
928 0-
929 , pretty_filename, fd,-
930 end_pos);-
931 return
executed 83 times by 1 test: return 1 ;
Executed by:
  • tail
executed 83 times by 1 test: return 1 ;
Executed by:
  • tail
83
932 1
executed 83 times by 1 test: return 1 ;
Executed by:
  • tail
83
933 ;
executed 83 times by 1 test: return 1 ;
Executed by:
  • tail
83
934 }-
935 pos -= -
936 8192-
937 ;-
938 xlseek (fd, pos, -
939 0-
940 , pretty_filename);-
941-
942 bytes_read = safe_read (fd, buffer, -
943 8192-
944 );-
945 if (bytes_read == ((size_t) -1)
bytes_read == ((size_t) -1)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
946 {-
947 error (0, -
948 (*__errno_location ())-
949 , -
950 dcgettext (((void *)0), -
951 "error reading %s"-
952 , 5)-
953 , quotearg_style (shell_escape_always_quoting_style, pretty_filename));-
954 return
never executed: return 0 ;
never executed: return 0 ;
0
955 0
never executed: return 0 ;
0
956 ;
never executed: return 0 ;
0
957 }-
958-
959 *read_pos = pos + bytes_read;-
960 }
never executed: end of block
0
961 while (bytes_read > 0
bytes_read > 0Description
TRUEnever evaluated
FALSEnever evaluated
);
0
962-
963 return
never executed: return 1 ;
never executed: return 1 ;
0
964 1
never executed: return 1 ;
0
965 ;
never executed: return 1 ;
0
966}-
967-
968-
969-
970-
971-
972-
973static -
974 _Bool-
975-
976pipe_lines (const char *pretty_filename, int fd, uintmax_t n_lines,-
977 uintmax_t *read_pos)-
978{-
979 struct linebuffer-
980 {-
981 char buffer[-
982 8192-
983 ];-
984 size_t nbytes;-
985 size_t nlines;-
986 struct linebuffer *next;-
987 };-
988 typedef struct linebuffer LBUFFER;-
989 LBUFFER *first, *last, *tmp;-
990 size_t total_lines = 0;-
991 -
992 _Bool -
993 ok = -
994 1-
995 ;-
996 size_t n_read;-
997-
998 first = last = xmalloc (sizeof (LBUFFER));-
999 first->nbytes = first->nlines = 0;-
1000 first->next = -
1001 ((void *)0)-
1002 ;-
1003 tmp = xmalloc (sizeof (LBUFFER));-
1004-
1005-
1006 while (1)-
1007 {-
1008 n_read = safe_read (fd, tmp->buffer, -
1009 8192-
1010 );-
1011 if (n_read == 0
n_read == 0Description
TRUEevaluated 64 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 21 times by 1 test
Evaluated by:
  • tail
|| n_read == ((size_t) -1)
n_read == ((size_t) -1)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 19 times by 1 test
Evaluated by:
  • tail
)
2-64
1012 break;
executed 66 times by 1 test: break;
Executed by:
  • tail
66
1013 tmp->nbytes = n_read;-
1014 *read_pos += n_read;-
1015 tmp->nlines = 0;-
1016 tmp->next = -
1017 ((void *)0)-
1018 ;-
1019-
1020-
1021 {-
1022 char const *buffer_end = tmp->buffer + n_read;-
1023 char const *p = tmp->buffer;-
1024 while ((
(p = memchr (p...ffer_end - p))Description
TRUEevaluated 67 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 19 times by 1 test
Evaluated by:
  • tail
p = memchr (p, line_end, buffer_end - p))
(p = memchr (p...ffer_end - p))Description
TRUEevaluated 67 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 19 times by 1 test
Evaluated by:
  • tail
)
19-67
1025 {-
1026 ++p;-
1027 ++tmp->nlines;-
1028 }
executed 67 times by 1 test: end of block
Executed by:
  • tail
67
1029 }-
1030 total_lines += tmp->nlines;-
1031-
1032-
1033-
1034-
1035 if (tmp->nbytes + last->nbytes <
tmp->nbytes + ...>nbytes < 8192Description
TRUEevaluated 19 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-19
1036 8192
tmp->nbytes + ...>nbytes < 8192Description
TRUEevaluated 19 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-19
1037 )-
1038 {-
1039 memcpy (&last->buffer[last->nbytes], tmp->buffer, tmp->nbytes);-
1040 last->nbytes += tmp->nbytes;-
1041 last->nlines += tmp->nlines;-
1042 }
executed 19 times by 1 test: end of block
Executed by:
  • tail
19
1043 else-
1044 {-
1045-
1046-
1047-
1048-
1049-
1050 last = last->next = tmp;-
1051 if (total_lines - first->nlines > n_lines
total_lines - ...ines > n_linesDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1052 {-
1053 tmp = first;-
1054 total_lines -= first->nlines;-
1055 first = first->next;-
1056 }
never executed: end of block
0
1057 else-
1058 tmp = xmalloc (sizeof (LBUFFER));
never executed: tmp = xmalloc (sizeof (LBUFFER));
0
1059 }-
1060 }-
1061-
1062 free (tmp);-
1063-
1064 if (n_read == ((size_t) -1)
n_read == ((size_t) -1)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 64 times by 1 test
Evaluated by:
  • tail
)
2-64
1065 {-
1066 error (0, -
1067 (*__errno_location ())-
1068 , -
1069 dcgettext (((void *)0), -
1070 "error reading %s"-
1071 , 5)-
1072 , quotearg_style (shell_escape_always_quoting_style, pretty_filename));-
1073 ok = -
1074 0-
1075 ;-
1076 goto
executed 2 times by 1 test: goto free_lbuffers;
Executed by:
  • tail
free_lbuffers;
executed 2 times by 1 test: goto free_lbuffers;
Executed by:
  • tail
2
1077 }-
1078-
1079-
1080 if (last->nbytes == 0
last->nbytes == 0Description
TRUEevaluated 45 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 19 times by 1 test
Evaluated by:
  • tail
)
19-45
1081 goto
executed 45 times by 1 test: goto free_lbuffers;
Executed by:
  • tail
free_lbuffers;
executed 45 times by 1 test: goto free_lbuffers;
Executed by:
  • tail
45
1082-
1083-
1084 if (n_lines == 0
n_lines == 0Description
TRUEnever evaluated
FALSEevaluated 19 times by 1 test
Evaluated by:
  • tail
)
0-19
1085 goto
never executed: goto free_lbuffers;
free_lbuffers;
never executed: goto free_lbuffers;
0
1086-
1087-
1088 if (last->buffer[last->nbytes - 1] != line_end
last->buffer[l...1] != line_endDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 9 times by 1 test
Evaluated by:
  • tail
)
9-10
1089 {-
1090 ++last->nlines;-
1091 ++total_lines;-
1092 }
executed 10 times by 1 test: end of block
Executed by:
  • tail
10
1093-
1094-
1095-
1096 for (tmp = first; total_lines - tmp->nlines > n_lines
total_lines - ...ines > n_linesDescription
TRUEnever evaluated
FALSEevaluated 19 times by 1 test
Evaluated by:
  • tail
; tmp = tmp->next)
0-19
1097 total_lines -= tmp->nlines;
never executed: total_lines -= tmp->nlines;
0
1098-
1099-
1100 {-
1101 char const *beg = tmp->buffer;-
1102 char const *buffer_end = tmp->buffer + tmp->nbytes;-
1103 if (total_lines > n_lines
total_lines > n_linesDescription
TRUEevaluated 14 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 5 times by 1 test
Evaluated by:
  • tail
)
5-14
1104 {-
1105-
1106-
1107 size_t j;-
1108 for (j = total_lines - n_lines; j
jDescription
TRUEevaluated 21 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 14 times by 1 test
Evaluated by:
  • tail
; --j)
14-21
1109 {-
1110 beg = memchr (beg, line_end, buffer_end - beg);-
1111 -
1112 ((-
1113 beg-
1114 ) ? (void) (0) : __assert_fail (-
1115 "beg"-
1116 , "src/tail.c", 713, __PRETTY_FUNCTION__))-
1117 ;-
1118 ++beg;-
1119 }
executed 21 times by 1 test: end of block
Executed by:
  • tail
21
1120 }
executed 14 times by 1 test: end of block
Executed by:
  • tail
14
1121-
1122 xwrite_stdout (beg, buffer_end - beg);-
1123 }-
1124-
1125 for (tmp = tmp->next; tmp
tmpDescription
TRUEnever evaluated
FALSEevaluated 19 times by 1 test
Evaluated by:
  • tail
; tmp = tmp->next)
0-19
1126 xwrite_stdout (tmp->buffer, tmp->nbytes);
never executed: xwrite_stdout (tmp->buffer, tmp->nbytes);
0
1127-
1128free_lbuffers:
code before this statement executed 19 times by 1 test: free_lbuffers:
Executed by:
  • tail
19
1129 while (first
firstDescription
TRUEevaluated 66 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 66 times by 1 test
Evaluated by:
  • tail
)
66
1130 {-
1131 tmp = first->next;-
1132 free (first);-
1133 first = tmp;-
1134 }
executed 66 times by 1 test: end of block
Executed by:
  • tail
66
1135 return
executed 66 times by 1 test: return ok;
Executed by:
  • tail
ok;
executed 66 times by 1 test: return ok;
Executed by:
  • tail
66
1136}-
1137-
1138-
1139-
1140-
1141-
1142static -
1143 _Bool-
1144-
1145pipe_bytes (const char *pretty_filename, int fd, uintmax_t n_bytes,-
1146 uintmax_t *read_pos)-
1147{-
1148 struct charbuffer-
1149 {-
1150 char buffer[-
1151 8192-
1152 ];-
1153 size_t nbytes;-
1154 struct charbuffer *next;-
1155 };-
1156 typedef struct charbuffer CBUFFER;-
1157 CBUFFER *first, *last, *tmp;-
1158 size_t i;-
1159 size_t total_bytes = 0;-
1160 -
1161 _Bool -
1162 ok = -
1163 1-
1164 ;-
1165 size_t n_read;-
1166-
1167 first = last = xmalloc (sizeof (CBUFFER));-
1168 first->nbytes = 0;-
1169 first->next = -
1170 ((void *)0)-
1171 ;-
1172 tmp = xmalloc (sizeof (CBUFFER));-
1173-
1174-
1175 while (1)-
1176 {-
1177 n_read = safe_read (fd, tmp->buffer, -
1178 8192-
1179 );-
1180 if (n_read == 0
n_read == 0Description
TRUEevaluated 35 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 33 times by 1 test
Evaluated by:
  • tail
|| n_read == ((size_t) -1)
n_read == ((size_t) -1)Description
TRUEnever evaluated
FALSEevaluated 33 times by 1 test
Evaluated by:
  • tail
)
0-35
1181 break;
executed 35 times by 1 test: break;
Executed by:
  • tail
35
1182 *read_pos += n_read;-
1183 tmp->nbytes = n_read;-
1184 tmp->next = -
1185 ((void *)0)-
1186 ;-
1187-
1188 total_bytes += tmp->nbytes;-
1189-
1190-
1191-
1192 if (tmp->nbytes + last->nbytes <
tmp->nbytes + ...>nbytes < 8192Description
TRUEevaluated 33 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-33
1193 8192
tmp->nbytes + ...>nbytes < 8192Description
TRUEevaluated 33 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-33
1194 )-
1195 {-
1196 memcpy (&last->buffer[last->nbytes], tmp->buffer, tmp->nbytes);-
1197 last->nbytes += tmp->nbytes;-
1198 }
executed 33 times by 1 test: end of block
Executed by:
  • tail
33
1199 else-
1200 {-
1201-
1202-
1203-
1204-
1205-
1206 last = last->next = tmp;-
1207 if (total_bytes - first->nbytes > n_bytes
total_bytes - ...ytes > n_bytesDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1208 {-
1209 tmp = first;-
1210 total_bytes -= first->nbytes;-
1211 first = first->next;-
1212 }
never executed: end of block
0
1213 else-
1214 {-
1215 tmp = xmalloc (sizeof (CBUFFER));-
1216 }
never executed: end of block
0
1217 }-
1218 }-
1219-
1220 free (tmp);-
1221-
1222 if (n_read == ((size_t) -1)
n_read == ((size_t) -1)Description
TRUEnever evaluated
FALSEevaluated 35 times by 1 test
Evaluated by:
  • tail
)
0-35
1223 {-
1224 error (0, -
1225 (*__errno_location ())-
1226 , -
1227 dcgettext (((void *)0), -
1228 "error reading %s"-
1229 , 5)-
1230 , quotearg_style (shell_escape_always_quoting_style, pretty_filename));-
1231 ok = -
1232 0-
1233 ;-
1234 goto
never executed: goto free_cbuffers;
free_cbuffers;
never executed: goto free_cbuffers;
0
1235 }-
1236-
1237-
1238-
1239 for (tmp = first; total_bytes - tmp->nbytes > n_bytes
total_bytes - ...ytes > n_bytesDescription
TRUEnever evaluated
FALSEevaluated 35 times by 1 test
Evaluated by:
  • tail
; tmp = tmp->next)
0-35
1240 total_bytes -= tmp->nbytes;
never executed: total_bytes -= tmp->nbytes;
0
1241-
1242-
1243-
1244 if (total_bytes > n_bytes
total_bytes > n_bytesDescription
TRUEevaluated 30 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 5 times by 1 test
Evaluated by:
  • tail
)
5-30
1245 i = total_bytes - n_bytes;
executed 30 times by 1 test: i = total_bytes - n_bytes;
Executed by:
  • tail
30
1246 else-
1247 i = 0;
executed 5 times by 1 test: i = 0;
Executed by:
  • tail
5
1248 xwrite_stdout (&tmp->buffer[i], tmp->nbytes - i);-
1249-
1250 for (tmp = tmp->next; tmp
tmpDescription
TRUEnever evaluated
FALSEevaluated 35 times by 1 test
Evaluated by:
  • tail
; tmp = tmp->next)
0-35
1251 xwrite_stdout (tmp->buffer, tmp->nbytes);
never executed: xwrite_stdout (tmp->buffer, tmp->nbytes);
0
1252-
1253free_cbuffers:
code before this statement executed 35 times by 1 test: free_cbuffers:
Executed by:
  • tail
35
1254 while (first
firstDescription
TRUEevaluated 35 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 35 times by 1 test
Evaluated by:
  • tail
)
35
1255 {-
1256 tmp = first->next;-
1257 free (first);-
1258 first = tmp;-
1259 }
executed 35 times by 1 test: end of block
Executed by:
  • tail
35
1260 return
executed 35 times by 1 test: return ok;
Executed by:
  • tail
ok;
executed 35 times by 1 test: return ok;
Executed by:
  • tail
35
1261}-
1262-
1263-
1264-
1265-
1266-
1267static int-
1268start_bytes (const char *pretty_filename, int fd, uintmax_t n_bytes,-
1269 uintmax_t *read_pos)-
1270{-
1271 char buffer[-
1272 8192-
1273 ];-
1274-
1275 while (0 < n_bytes
0 < n_bytesDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-4
1276 {-
1277 size_t bytes_read = safe_read (fd, buffer, -
1278 8192-
1279 );-
1280 if (bytes_read == 0
bytes_read == 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tail
)
1-3
1281 return
executed 1 time by 1 test: return -1;
Executed by:
  • tail
-1;
executed 1 time by 1 test: return -1;
Executed by:
  • tail
1
1282 if (bytes_read == ((size_t) -1)
bytes_read == ((size_t) -1)Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tail
)
0-3
1283 {-
1284 error (0, -
1285 (*__errno_location ())-
1286 , -
1287 dcgettext (((void *)0), -
1288 "error reading %s"-
1289 , 5)-
1290 , quotearg_style (shell_escape_always_quoting_style, pretty_filename));-
1291 return
never executed: return 1;
1;
never executed: return 1;
0
1292 }-
1293 *read_pos += bytes_read;-
1294 if (bytes_read <= n_bytes
bytes_read <= n_bytesDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
)
1-2
1295 n_bytes -= bytes_read;
executed 1 time by 1 test: n_bytes -= bytes_read;
Executed by:
  • tail
1
1296 else-
1297 {-
1298 size_t n_remaining = bytes_read - n_bytes;-
1299 if (n_remaining
n_remainingDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-2
1300 xwrite_stdout (&buffer[n_bytes], n_remaining);
executed 2 times by 1 test: xwrite_stdout (&buffer[n_bytes], n_remaining);
Executed by:
  • tail
2
1301 break;
executed 2 times by 1 test: break;
Executed by:
  • tail
2
1302 }-
1303 }-
1304-
1305 return
executed 2 times by 1 test: return 0;
Executed by:
  • tail
0;
executed 2 times by 1 test: return 0;
Executed by:
  • tail
2
1306}-
1307-
1308-
1309-
1310-
1311-
1312static int-
1313start_lines (const char *pretty_filename, int fd, uintmax_t n_lines,-
1314 uintmax_t *read_pos)-
1315{-
1316 if (n_lines == 0
n_lines == 0Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 14 times by 1 test
Evaluated by:
  • tail
)
12-14
1317 return
executed 12 times by 1 test: return 0;
Executed by:
  • tail
0;
executed 12 times by 1 test: return 0;
Executed by:
  • tail
12
1318-
1319 while (1)-
1320 {-
1321 char buffer[-
1322 8192-
1323 ];-
1324 size_t bytes_read = safe_read (fd, buffer, -
1325 8192-
1326 );-
1327 if (bytes_read == 0
bytes_read == 0Description
TRUEnever evaluated
FALSEevaluated 14 times by 1 test
Evaluated by:
  • tail
)
0-14
1328 return
never executed: return -1;
-1;
never executed: return -1;
0
1329 if (bytes_read == ((size_t) -1)
bytes_read == ((size_t) -1)Description
TRUEnever evaluated
FALSEevaluated 14 times by 1 test
Evaluated by:
  • tail
)
0-14
1330 {-
1331 error (0, -
1332 (*__errno_location ())-
1333 , -
1334 dcgettext (((void *)0), -
1335 "error reading %s"-
1336 , 5)-
1337 , quotearg_style (shell_escape_always_quoting_style, pretty_filename));-
1338 return
never executed: return 1;
1;
never executed: return 1;
0
1339 }-
1340-
1341 char *buffer_end = buffer + bytes_read;-
1342-
1343 *read_pos += bytes_read;-
1344-
1345 char *p = buffer;-
1346 while ((
(p = memchr (p...ffer_end - p))Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
p = memchr (p, line_end, buffer_end - p))
(p = memchr (p...ffer_end - p))Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-62
1347 {-
1348 ++p;-
1349 if (--
--n_lines == 0Description
TRUEevaluated 14 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 48 times by 1 test
Evaluated by:
  • tail
n_lines == 0
--n_lines == 0Description
TRUEevaluated 14 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 48 times by 1 test
Evaluated by:
  • tail
)
14-48
1350 {-
1351 if (p < buffer_end
p < buffer_endDescription
TRUEevaluated 14 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-14
1352 xwrite_stdout (p, buffer_end - p);
executed 14 times by 1 test: xwrite_stdout (p, buffer_end - p);
Executed by:
  • tail
14
1353 return
executed 14 times by 1 test: return 0;
Executed by:
  • tail
0;
executed 14 times by 1 test: return 0;
Executed by:
  • tail
14
1354 }-
1355 }
executed 48 times by 1 test: end of block
Executed by:
  • tail
48
1356 }
never executed: end of block
0
1357}
never executed: end of block
0
1358-
1359-
1360-
1361-
1362static -
1363 _Bool-
1364-
1365fremote (int fd, const char *name)-
1366{-
1367 -
1368 _Bool -
1369 remote = -
1370 1-
1371 ;-
1372-
1373-
1374 struct statfs buf;-
1375 int err = fstatfs (fd, &buf);-
1376 if (err != 0
err != 0Description
TRUEnever evaluated
FALSEevaluated 970 times by 1 test
Evaluated by:
  • tail
)
0-970
1377 {-
1378-
1379-
1380 if (-
1381 (*
(*__errno_location ()) != 38Description
TRUEnever evaluated
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) != 38Description
TRUEnever evaluated
FALSEnever evaluated
0
1382 !=
(*__errno_location ()) != 38Description
TRUEnever evaluated
FALSEnever evaluated
0
1383 38
(*__errno_location ()) != 38Description
TRUEnever evaluated
FALSEnever evaluated
0
1384 )-
1385 error (0,
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot determine location of %s. " "reverting to polling" , 5) , quotearg_style (shell_escape_always_quoting_style, name));
0
1386 (*__errno_location ())
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot determine location of %s. " "reverting to polling" , 5) , quotearg_style (shell_escape_always_quoting_style, name));
0
1387 ,
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot determine location of %s. " "reverting to polling" , 5) , quotearg_style (shell_escape_always_quoting_style, name));
0
1388 dcgettext (((void *)0),
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot determine location of %s. " "reverting to polling" , 5) , quotearg_style (shell_escape_always_quoting_style, name));
0
1389 "cannot determine location of %s. " "reverting to polling"
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot determine location of %s. " "reverting to polling" , 5) , quotearg_style (shell_escape_always_quoting_style, name));
0
1390 , 5)
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot determine location of %s. " "reverting to polling" , 5) , quotearg_style (shell_escape_always_quoting_style, name));
0
1391
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot determine location of %s. " "reverting to polling" , 5) , quotearg_style (shell_escape_always_quoting_style, name));
0
1392 , quotearg_style (shell_escape_always_quoting_style, name));
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot determine location of %s. " "reverting to polling" , 5) , quotearg_style (shell_escape_always_quoting_style, name));
0
1393 }
never executed: end of block
0
1394 else-
1395 {-
1396 switch (is_local_fs_type (buf.f_type))-
1397 {-
1398 case
executed 5 times by 1 test: case 0:
Executed by:
  • tail
0:
executed 5 times by 1 test: case 0:
Executed by:
  • tail
5
1399 break;
executed 5 times by 1 test: break;
Executed by:
  • tail
5
1400 case
never executed: case -1:
-1:
never executed: case -1:
0
1401-
1402-
1403-
1404 break;
never executed: break;
0
1405 case
executed 965 times by 1 test: case 1:
Executed by:
  • tail
1:
executed 965 times by 1 test: case 1:
Executed by:
  • tail
965
1406 remote = -
1407 0-
1408 ;-
1409 break;
executed 965 times by 1 test: break;
Executed by:
  • tail
965
1410 default
never executed: default:
:
never executed: default:
0
1411 -
1412 ((-
1413 !"unexpected return value from is_local_fs_type"-
1414 ) ? (void) (0) : __assert_fail (-
1415 "!\"unexpected return value from is_local_fs_type\""-
1416 , "src/tail.c", 945, __PRETTY_FUNCTION__))-
1417 ;-
1418 }
never executed: end of block
0
1419 }-
1420-
1421-
1422 return
executed 970 times by 1 test: return remote;
Executed by:
  • tail
remote;
executed 970 times by 1 test: return remote;
Executed by:
  • tail
970
1423}-
1424-
1425-
1426static void-
1427recheck (struct File_spec *f, -
1428 _Bool -
1429 blocking)-
1430{-
1431 struct stat new_stats;-
1432 -
1433 _Bool -
1434 ok = -
1435 1-
1436 ;-
1437 -
1438 _Bool -
1439 is_stdin = ((-
1440 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (-
1441 f->name-
1442 ) && __builtin_constant_p (-
1443 "-"-
1444 ) && (__s1_len = __builtin_strlen (-
1445 f->name-
1446 ), __s2_len = __builtin_strlen (-
1447 "-"-
1448 ), (!((size_t)(const void *)((-
1449 f->name-
1450 ) + 1) - (size_t)(const void *)(-
1451 f->name-
1452 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((-
1453 "-"-
1454 ) + 1) - (size_t)(const void *)(-
1455 "-"-
1456 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (-
1457 f->name-
1458 , -
1459 "-"-
1460 ) : (__builtin_constant_p (-
1461 f->name-
1462 ) && ((size_t)(const void *)((-
1463 f->name-
1464 ) + 1) - (size_t)(const void *)(-
1465 f->name-
1466 ) == 1) && (__s1_len = __builtin_strlen (-
1467 f->name-
1468 ), __s1_len < 4) ? (__builtin_constant_p (-
1469 "-"-
1470 ) && ((size_t)(const void *)((-
1471 "-"-
1472 ) + 1) - (size_t)(const void *)(-
1473 "-"-
1474 ) == 1) ? __builtin_strcmp (-
1475 f->name-
1476 , -
1477 "-"-
1478 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (-
1479 "-"-
1480 ); int __result = (((const unsigned char *) (const char *) (-
1481 f->name-
1482 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0
1483 f->name-
1484 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0
1485 f->name-
1486 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( f->name ))[3] - __s2[3]);
0
1487 f->name
never executed: __result = (((const unsigned char *) (const char *) ( f->name ))[3] - __s2[3]);
0
1488 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( f->name ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
0
1489 "-"-
1490 ) && ((size_t)(const void *)((-
1491 "-"-
1492 ) + 1) - (size_t)(const void *)(-
1493 "-"-
1494 ) == 1) && (__s2_len = __builtin_strlen (-
1495 "-"-
1496 ), __s2_len < 4) ? (__builtin_constant_p (-
1497 f->name-
1498 ) && ((size_t)(const void *)((-
1499 f->name-
1500 ) + 1) - (size_t)(const void *)(-
1501 f->name-
1502 ) == 1) ? __builtin_strcmp (-
1503 f->name-
1504 , -
1505 "-"-
1506 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (-
1507 f->name-
1508 ); int __result = (((const unsigned char *) (const char *) (-
1509 "-"-
1510 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEevaluated 1113 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEevaluated 1113 times by 1 test
Evaluated by:
  • tail
) { __result = (((const unsigned char *) (const char *) (
0-1113
1511 "-"-
1512 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0
1513 "-"-
1514 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
0
1515 "-"
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
0
1516 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
0
1517 f->name-
1518 , -
1519 "-"-
1520 )))); }) -
1521 == 0));-
1522 -
1523 _Bool -
1524 was_tailable = f->tailable;-
1525 int prev_errnum = f->errnum;-
1526 -
1527 _Bool -
1528 new_file;-
1529 int fd = (is_stdin
is_stdinDescription
TRUEnever evaluated
FALSEevaluated 1113 times by 1 test
Evaluated by:
  • tail
0-1113
1530 ? -
1531 0-
1532 -
1533 : open_safer (f->name, -
1534 00 -
1535 | (blocking ? 0 : -
1536 04000-
1537 )));-
1538-
1539 -
1540 ((-
1541 valid_file_spec (f)-
1542 ) ? (void) (0) : __assert_fail (-
1543 "valid_file_spec (f)"-
1544 , "src/tail.c", 967, __PRETTY_FUNCTION__))-
1545 ;-
1546-
1547-
1548-
1549 f->tailable = !(reopen_inaccessible_files
reopen_inaccessible_filesDescription
TRUEevaluated 1100 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 13 times by 1 test
Evaluated by:
  • tail
&& fd == -1
fd == -1Description
TRUEevaluated 263 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 837 times by 1 test
Evaluated by:
  • tail
);
13-1100
1550-
1551 if (! disable_inotify
! disable_inotifyDescription
TRUEevaluated 977 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 136 times by 1 test
Evaluated by:
  • tail
&& ! lstat (f->name, &new_stats)
! lstat (f->name, &new_stats)Description
TRUEevaluated 764 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 213 times by 1 test
Evaluated by:
  • tail
136-977
1552 && -
1553 ((((
(((( new_stats... == (0120000))Description
TRUEnever evaluated
FALSEevaluated 764 times by 1 test
Evaluated by:
  • tail
0-764
1554 new_stats.st_mode
(((( new_stats... == (0120000))Description
TRUEnever evaluated
FALSEevaluated 764 times by 1 test
Evaluated by:
  • tail
0-764
1555 )) & 0170000) == (0120000))
(((( new_stats... == (0120000))Description
TRUEnever evaluated
FALSEevaluated 764 times by 1 test
Evaluated by:
  • tail
0-764
1556 )-
1557 {-
1558-
1559-
1560-
1561 ok = -
1562 0-
1563 ;-
1564 f->errnum = -1;-
1565 f->ignore = -
1566 1-
1567 ;-
1568-
1569 error (0, 0, -
1570 dcgettext (((void *)0), -
1571 "%s has been replaced with an untailable symbolic link"-
1572 , 5)-
1573 ,-
1574 quotearg_style (shell_escape_always_quoting_style, pretty_name (f)));-
1575 }
never executed: end of block
0
1576 else if (fd == -1
fd == -1Description
TRUEevaluated 268 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 845 times by 1 test
Evaluated by:
  • tail
|| fstat (fd, &new_stats) < 0
fstat (fd, &new_stats) < 0Description
TRUEnever evaluated
FALSEevaluated 845 times by 1 test
Evaluated by:
  • tail
)
0-845
1577 {-
1578 ok = -
1579 0-
1580 ;-
1581 f->errnum = -
1582 (*__errno_location ())-
1583 ;-
1584 if (!f->tailable
!f->tailableDescription
TRUEevaluated 263 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 5 times by 1 test
Evaluated by:
  • tail
)
5-263
1585 {-
1586 if (was_tailable
was_tailableDescription
TRUEevaluated 215 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 48 times by 1 test
Evaluated by:
  • tail
)
48-215
1587 {-
1588-
1589-
1590-
1591-
1592 error (0, f->errnum, -
1593 dcgettext (((void *)0), -
1594 "%s has become inaccessible"-
1595 , 5)-
1596 ,-
1597 quotearg_style (shell_escape_always_quoting_style, pretty_name (f)));-
1598 }
executed 215 times by 1 test: end of block
Executed by:
  • tail
215
1599 else-
1600 {-
1601-
1602 }
executed 48 times by 1 test: end of block
Executed by:
  • tail
48
1603 }-
1604 else if (prev_errnum !=
prev_errnum !=...o_location ())Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tail
2-3
1605 (*__errno_location ())
prev_errnum !=...o_location ())Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tail
2-3
1606 )-
1607 error (0,
executed 2 times by 1 test: error (0, (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, pretty_name (f)));
Executed by:
  • tail
2
1608 (*__errno_location ())
executed 2 times by 1 test: error (0, (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, pretty_name (f)));
Executed by:
  • tail
2
1609 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, pretty_name (f)));
executed 2 times by 1 test: error (0, (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, pretty_name (f)));
Executed by:
  • tail
2
1610 }
executed 268 times by 1 test: end of block
Executed by:
  • tail
268
1611 else if (!(-
1612 ((((
(((( new_stats... == (0100000))Description
TRUEevaluated 841 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tail
4-841
1613 new_stats.st_mode
(((( new_stats... == (0100000))Description
TRUEevaluated 841 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tail
4-841
1614 )) & 0170000) == (0100000))
(((( new_stats... == (0100000))Description
TRUEevaluated 841 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tail
4-841
1615 || -
1616 ((((
(((( new_stats... == (0010000))Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tail
0-4
1617 new_stats.st_mode
(((( new_stats... == (0010000))Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tail
0-4
1618 )) & 0170000) == (0010000))
(((( new_stats... == (0010000))Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tail
0-4
1619 || -
1620 ((((
(((( new_stats... == (0140000))Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tail
0-4
1621 new_stats.st_mode
(((( new_stats... == (0140000))Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tail
0-4
1622 )) & 0170000) == (0140000))
(((( new_stats... == (0140000))Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tail
0-4
1623 || -
1624 ((((
(((( new_stats... == (0020000))Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tail
0-4
1625 new_stats.st_mode
(((( new_stats... == (0020000))Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tail
0-4
1626 )) & 0170000) == (0020000))
(((( new_stats... == (0020000))Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tail
0-4
1627 ))-
1628 {-
1629 ok = -
1630 0-
1631 ;-
1632 f->errnum = -1;-
1633 f->tailable = -
1634 0-
1635 ;-
1636 f->ignore = ! (reopen_inaccessible_files
reopen_inaccessible_filesDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
&& follow_mode == Follow_name
follow_mode == Follow_nameDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
);
0-4
1637 if (was_tailable
was_tailableDescription
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tail
|| prev_errnum != f->errnum
prev_errnum != f->errnumDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
)
0-4
1638 error (0, 0,
executed 2 times by 1 test: error (0, 0, dcgettext (((void *)0), "%s has been replaced with an untailable file%s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_name (f)), f->ignore ? dcgettext (((void *)0), "; giving up on this name" , 5) : "");
Executed by:
  • tail
2
1639 dcgettext (((void *)0),
executed 2 times by 1 test: error (0, 0, dcgettext (((void *)0), "%s has been replaced with an untailable file%s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_name (f)), f->ignore ? dcgettext (((void *)0), "; giving up on this name" , 5) : "");
Executed by:
  • tail
2
1640 "%s has been replaced with an untailable file%s"
executed 2 times by 1 test: error (0, 0, dcgettext (((void *)0), "%s has been replaced with an untailable file%s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_name (f)), f->ignore ? dcgettext (((void *)0), "; giving up on this name" , 5) : "");
Executed by:
  • tail
2
1641 , 5)
executed 2 times by 1 test: error (0, 0, dcgettext (((void *)0), "%s has been replaced with an untailable file%s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_name (f)), f->ignore ? dcgettext (((void *)0), "; giving up on this name" , 5) : "");
Executed by:
  • tail
2
1642 ,
executed 2 times by 1 test: error (0, 0, dcgettext (((void *)0), "%s has been replaced with an untailable file%s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_name (f)), f->ignore ? dcgettext (((void *)0), "; giving up on this name" , 5) : "");
Executed by:
  • tail
2
1643 quotearg_style (shell_escape_always_quoting_style, pretty_name (f)),
executed 2 times by 1 test: error (0, 0, dcgettext (((void *)0), "%s has been replaced with an untailable file%s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_name (f)), f->ignore ? dcgettext (((void *)0), "; giving up on this name" , 5) : "");
Executed by:
  • tail
2
1644 f->ignore ?
executed 2 times by 1 test: error (0, 0, dcgettext (((void *)0), "%s has been replaced with an untailable file%s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_name (f)), f->ignore ? dcgettext (((void *)0), "; giving up on this name" , 5) : "");
Executed by:
  • tail
2
1645 dcgettext (((void *)0),
executed 2 times by 1 test: error (0, 0, dcgettext (((void *)0), "%s has been replaced with an untailable file%s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_name (f)), f->ignore ? dcgettext (((void *)0), "; giving up on this name" , 5) : "");
Executed by:
  • tail
2
1646 "; giving up on this name"
executed 2 times by 1 test: error (0, 0, dcgettext (((void *)0), "%s has been replaced with an untailable file%s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_name (f)), f->ignore ? dcgettext (((void *)0), "; giving up on this name" , 5) : "");
Executed by:
  • tail
2
1647 , 5)
executed 2 times by 1 test: error (0, 0, dcgettext (((void *)0), "%s has been replaced with an untailable file%s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_name (f)), f->ignore ? dcgettext (((void *)0), "; giving up on this name" , 5) : "");
Executed by:
  • tail
2
1648 : "");
executed 2 times by 1 test: error (0, 0, dcgettext (((void *)0), "%s has been replaced with an untailable file%s" , 5) , quotearg_style (shell_escape_always_quoting_style, pretty_name (f)), f->ignore ? dcgettext (((void *)0), "; giving up on this name" , 5) : "");
Executed by:
  • tail
2
1649 }
executed 4 times by 1 test: end of block
Executed by:
  • tail
4
1650 else if ((
(f->remote = f...tty_name (f)))Description
TRUEnever evaluated
FALSEevaluated 841 times by 1 test
Evaluated by:
  • tail
f->remote = fremote (fd, pretty_name (f)))
(f->remote = f...tty_name (f)))Description
TRUEnever evaluated
FALSEevaluated 841 times by 1 test
Evaluated by:
  • tail
&& ! disable_inotify
! disable_inotifyDescription
TRUEnever evaluated
FALSEnever evaluated
)
0-841
1651 {-
1652 ok = -
1653 0-
1654 ;-
1655 f->errnum = -1;-
1656 error (0, 0, -
1657 dcgettext (((void *)0), -
1658 "%s has been replaced with an untailable remote file"-
1659 , 5)-
1660 ,-
1661 quotearg_style (shell_escape_always_quoting_style, pretty_name (f)));-
1662 f->ignore = -
1663 1-
1664 ;-
1665 f->remote = -
1666 1-
1667 ;-
1668 }
never executed: end of block
0
1669 else-
1670 {-
1671 f->errnum = 0;-
1672 }
executed 841 times by 1 test: end of block
Executed by:
  • tail
841
1673-
1674 new_file = -
1675 0-
1676 ;-
1677 if (!ok
!okDescription
TRUEevaluated 272 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 841 times by 1 test
Evaluated by:
  • tail
)
272-841
1678 {-
1679 close_fd (fd, pretty_name (f));-
1680 close_fd (f->fd, pretty_name (f));-
1681 f->fd = -1;-
1682 }
executed 272 times by 1 test: end of block
Executed by:
  • tail
272
1683 else if (prev_errnum
prev_errnumDescription
TRUEevaluated 230 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 611 times by 1 test
Evaluated by:
  • tail
&& prev_errnum !=
prev_errnum != 2Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 228 times by 1 test
Evaluated by:
  • tail
2-611
1684 2
prev_errnum != 2Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 228 times by 1 test
Evaluated by:
  • tail
2-228
1685 )-
1686 {-
1687 new_file = -
1688 1-
1689 ;-
1690 -
1691 ((-
1692 f->fd == -1-
1693 ) ? (void) (0) : __assert_fail (-
1694 "f->fd == -1"-
1695 , "src/tail.c", 1044, __PRETTY_FUNCTION__))-
1696 ;-
1697 error (0, 0, -
1698 dcgettext (((void *)0), -
1699 "%s has become accessible"-
1700 , 5)-
1701 , quotearg_style (shell_escape_always_quoting_style, pretty_name (f)));-
1702 }
executed 2 times by 1 test: end of block
Executed by:
  • tail
2
1703 else if (f->fd == -1
f->fd == -1Description
TRUEevaluated 228 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 611 times by 1 test
Evaluated by:
  • tail
)
228-611
1704 {-
1705-
1706-
1707-
1708-
1709-
1710 new_file = -
1711 1-
1712 ;-
1713-
1714 error (0, 0,-
1715 -
1716 dcgettext (((void *)0), -
1717 "%s has appeared; following new file"-
1718 , 5)-
1719 ,-
1720 quotearg_style (shell_escape_always_quoting_style, pretty_name (f)));-
1721 }
executed 228 times by 1 test: end of block
Executed by:
  • tail
228
1722 else if (f->ino != new_stats.st_ino
f->ino != new_stats.st_inoDescription
TRUEevaluated 52 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 559 times by 1 test
Evaluated by:
  • tail
|| f->dev != new_stats.st_dev
f->dev != new_stats.st_devDescription
TRUEnever evaluated
FALSEevaluated 559 times by 1 test
Evaluated by:
  • tail
)
0-559
1723 {-
1724-
1725-
1726 new_file = -
1727 1-
1728 ;-
1729-
1730 error (0, 0,-
1731 -
1732 dcgettext (((void *)0), -
1733 "%s has been replaced; following new file"-
1734 , 5)-
1735 ,-
1736 quotearg_style (shell_escape_always_quoting_style, pretty_name (f)));-
1737-
1738-
1739 close_fd (f->fd, pretty_name (f));-
1740-
1741 }
executed 52 times by 1 test: end of block
Executed by:
  • tail
52
1742 else-
1743 {-
1744-
1745 close_fd (fd, pretty_name (f));-
1746 }
executed 559 times by 1 test: end of block
Executed by:
  • tail
559
1747-
1748-
1749-
1750-
1751-
1752-
1753-
1754 if (new_file
new_fileDescription
TRUEevaluated 282 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 831 times by 1 test
Evaluated by:
  • tail
)
282-831
1755 {-
1756-
1757 record_open_fd (f, fd, 0, &new_stats, (is_stdin ? -1 : blocking));-
1758 xlseek (fd, 0, -
1759 0-
1760 , pretty_name (f));-
1761 }
executed 282 times by 1 test: end of block
Executed by:
  • tail
282
1762}
executed 1113 times by 1 test: end of block
Executed by:
  • tail
1113
1763-
1764-
1765-
1766-
1767-
1768-
1769static -
1770 _Bool-
1771-
1772any_live_files (const struct File_spec *f, size_t n_files)-
1773{-
1774-
1775-
1776-
1777 if (reopen_inaccessible_files
reopen_inaccessible_filesDescription
TRUEevaluated 143 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 160 times by 1 test
Evaluated by:
  • tail
&& follow_mode == Follow_name
follow_mode == Follow_nameDescription
TRUEevaluated 123 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 20 times by 1 test
Evaluated by:
  • tail
)
20-160
1778 return
executed 123 times by 1 test: return 1 ;
Executed by:
  • tail
executed 123 times by 1 test: return 1 ;
Executed by:
  • tail
123
1779 1
executed 123 times by 1 test: return 1 ;
Executed by:
  • tail
123
1780 ;
executed 123 times by 1 test: return 1 ;
Executed by:
  • tail
123
1781-
1782 for (size_t i = 0; i < n_files
i < n_filesDescription
TRUEevaluated 188 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 14 times by 1 test
Evaluated by:
  • tail
; i++)
14-188
1783 {-
1784 if (0 <= f[i].fd
0 <= f[i].fdDescription
TRUEevaluated 162 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 26 times by 1 test
Evaluated by:
  • tail
)
26-162
1785 return
executed 162 times by 1 test: return 1 ;
Executed by:
  • tail
executed 162 times by 1 test: return 1 ;
Executed by:
  • tail
162
1786 1
executed 162 times by 1 test: return 1 ;
Executed by:
  • tail
162
1787 ;
executed 162 times by 1 test: return 1 ;
Executed by:
  • tail
162
1788 else-
1789 {-
1790 if (! f[i].ignore
! f[i].ignoreDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 22 times by 1 test
Evaluated by:
  • tail
&& reopen_inaccessible_files
reopen_inaccessible_filesDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-22
1791 return
executed 4 times by 1 test: return 1 ;
Executed by:
  • tail
executed 4 times by 1 test: return 1 ;
Executed by:
  • tail
4
1792 1
executed 4 times by 1 test: return 1 ;
Executed by:
  • tail
4
1793 ;
executed 4 times by 1 test: return 1 ;
Executed by:
  • tail
4
1794 }
executed 22 times by 1 test: end of block
Executed by:
  • tail
22
1795 }-
1796-
1797 return
executed 14 times by 1 test: return 0 ;
Executed by:
  • tail
executed 14 times by 1 test: return 0 ;
Executed by:
  • tail
14
1798 0
executed 14 times by 1 test: return 0 ;
Executed by:
  • tail
14
1799 ;
executed 14 times by 1 test: return 0 ;
Executed by:
  • tail
14
1800}-
1801static void-
1802tail_forever (struct File_spec *f, size_t n_files, double sleep_interval)-
1803{-
1804-
1805 -
1806 _Bool -
1807 blocking = (pid == 0
pid == 0Description
TRUEevaluated 51 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 5 times by 1 test
Evaluated by:
  • tail
&& follow_mode == Follow_descriptor
follow_mode ==...low_descriptorDescription
TRUEevaluated 27 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 24 times by 1 test
Evaluated by:
  • tail
5-51
1808 && n_files == 1
n_files == 1Description
TRUEevaluated 23 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tail
&& f[0].fd != -1
f[0].fd != -1Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 11 times by 1 test
Evaluated by:
  • tail
&& !
! (((( f[0].mo... == (0100000))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 11 times by 1 test
Evaluated by:
  • tail
1-23
1809 ((((
! (((( f[0].mo... == (0100000))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 11 times by 1 test
Evaluated by:
  • tail
1-11
1810 f[0].mode
! (((( f[0].mo... == (0100000))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 11 times by 1 test
Evaluated by:
  • tail
1-11
1811 )) & 0170000) == (0100000))
! (((( f[0].mo... == (0100000))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 11 times by 1 test
Evaluated by:
  • tail
1-11
1812 );-
1813 size_t last;-
1814 -
1815 _Bool -
1816 writer_is_dead = -
1817 0-
1818 ;-
1819-
1820 last = n_files - 1;-
1821-
1822 while (1)-
1823 {-
1824 size_t i;-
1825 -
1826 _Bool -
1827 any_input = -
1828 0-
1829 ;-
1830-
1831 for (i = 0; i < n_files
i < n_filesDescription
TRUEevaluated 414 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 303 times by 1 test
Evaluated by:
  • tail
; i++)
303-414
1832 {-
1833 int fd;-
1834 char const *name;-
1835 mode_t mode;-
1836 struct stat stats;-
1837 uintmax_t bytes_read;-
1838-
1839 if (f[i].ignore
f[i].ignoreDescription
TRUEevaluated 20 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 394 times by 1 test
Evaluated by:
  • tail
)
20-394
1840 continue;
executed 20 times by 1 test: continue;
Executed by:
  • tail
20
1841-
1842 if (f[i].fd < 0
f[i].fd < 0Description
TRUEevaluated 73 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 321 times by 1 test
Evaluated by:
  • tail
)
73-321
1843 {-
1844 recheck (&f[i], blocking);-
1845 continue;
executed 73 times by 1 test: continue;
Executed by:
  • tail
73
1846 }-
1847-
1848 fd = f[i].fd;-
1849 name = pretty_name (&f[i]);-
1850 mode = f[i].mode;-
1851-
1852 if (f[i].blocking != blocking
f[i].blocking != blockingDescription
TRUEevaluated 36 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 285 times by 1 test
Evaluated by:
  • tail
)
36-285
1853 {-
1854 int old_flags = -
1855 rpl_fcntl -
1856 (fd, -
1857 3-
1858 );-
1859 int new_flags = old_flags | (blocking ? 0 : -
1860 04000-
1861 );-
1862 if (old_flags < 0
old_flags < 0Description
TRUEnever evaluated
FALSEevaluated 36 times by 1 test
Evaluated by:
  • tail
0-36
1863 || (new_flags != old_flags
new_flags != old_flagsDescription
TRUEevaluated 36 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-36
1864 && -
1865 rpl_fcntl
rpl_fcntl (fd,...w_flags) == -1Description
TRUEnever evaluated
FALSEevaluated 36 times by 1 test
Evaluated by:
  • tail
0-36
1866 (fd,
rpl_fcntl (fd,...w_flags) == -1Description
TRUEnever evaluated
FALSEevaluated 36 times by 1 test
Evaluated by:
  • tail
0-36
1867 4
rpl_fcntl (fd,...w_flags) == -1Description
TRUEnever evaluated
FALSEevaluated 36 times by 1 test
Evaluated by:
  • tail
0-36
1868 , new_flags) == -1
rpl_fcntl (fd,...w_flags) == -1Description
TRUEnever evaluated
FALSEevaluated 36 times by 1 test
Evaluated by:
  • tail
))
0-36
1869 {-
1870-
1871 if (-
1872 ((((
(((( f[i].mode... == (0100000))Description
TRUEnever evaluated
FALSEnever evaluated
0
1873 f[i].mode
(((( f[i].mode... == (0100000))Description
TRUEnever evaluated
FALSEnever evaluated
0
1874 )) & 0170000) == (0100000))
(((( f[i].mode... == (0100000))Description
TRUEnever evaluated
FALSEnever evaluated
0
1875 && -
1876 (*
(*__errno_location ()) == 1Description
TRUEnever evaluated
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) == 1Description
TRUEnever evaluated
FALSEnever evaluated
0
1877 ==
(*__errno_location ()) == 1Description
TRUEnever evaluated
FALSEnever evaluated
0
1878 1
(*__errno_location ()) == 1Description
TRUEnever evaluated
FALSEnever evaluated
0
1879 )-
1880 {-
1881-
1882-
1883 }
never executed: end of block
0
1884 else-
1885 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1886 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1887 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1888 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1889 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1890 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1891 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1892 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1893 "%s: cannot change nonblocking mode"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1894 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1895 , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1896 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1897 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1898 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1899 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1900 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1901 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1902 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1903 "%s: cannot change nonblocking mode"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1904 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1905 , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1906 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1907 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
19080
1909 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"%s: cannot change nonblocking mode\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, name)), assume (false))" ")")... 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "%s: cannot change nonblocking mode" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1910 }-
1911 else-
1912 f[i].blocking = blocking;
executed 36 times by 1 test: f[i].blocking = blocking;
Executed by:
  • tail
36
1913 }-
1914-
1915 if (!f[i].blocking
!f[i].blockingDescription
TRUEevaluated 320 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
)
1-320
1916 {-
1917 if (fstat (fd, &stats) != 0
fstat (fd, &stats) != 0Description
TRUEnever evaluated
FALSEevaluated 320 times by 1 test
Evaluated by:
  • tail
)
0-320
1918 {-
1919 f[i].fd = -1;-
1920 f[i].errnum = -
1921 (*__errno_location ())-
1922 ;-
1923 error (0, -
1924 (*__errno_location ())-
1925 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, name));-
1926 close (fd);-
1927 continue;
never executed: continue;
0
1928 }-
1929-
1930 if (f[i].mode == stats.st_mode
f[i].mode == stats.st_modeDescription
TRUEevaluated 320 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-320
1931 && (!
! (((( stats.s... == (0100000))Description
TRUEnever evaluated
FALSEevaluated 320 times by 1 test
Evaluated by:
  • tail
0-320
1932 ((((
! (((( stats.s... == (0100000))Description
TRUEnever evaluated
FALSEevaluated 320 times by 1 test
Evaluated by:
  • tail
0-320
1933 stats.st_mode
! (((( stats.s... == (0100000))Description
TRUEnever evaluated
FALSEevaluated 320 times by 1 test
Evaluated by:
  • tail
0-320
1934 )) & 0170000) == (0100000))
! (((( stats.s... == (0100000))Description
TRUEnever evaluated
FALSEevaluated 320 times by 1 test
Evaluated by:
  • tail
0-320
1935 || f[i].size == stats.st_size
f[i].size == stats.st_sizeDescription
TRUEevaluated 293 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 27 times by 1 test
Evaluated by:
  • tail
)
27-293
1936 && timespec_cmp (f[i].mtime, get_stat_mtime (&stats)) == 0
timespec_cmp (...(&stats)) == 0Description
TRUEevaluated 293 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-293
1937 {-
1938 if ((
(max_n_unchang...anged_stats++)Description
TRUEevaluated 175 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 118 times by 1 test
Evaluated by:
  • tail
max_n_unchanged_stats_between_opens
(max_n_unchang...anged_stats++)Description
TRUEevaluated 175 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 118 times by 1 test
Evaluated by:
  • tail
118-175
1939 <= f[i].n_unchanged_stats++)
(max_n_unchang...anged_stats++)Description
TRUEevaluated 175 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 118 times by 1 test
Evaluated by:
  • tail
118-175
1940 && follow_mode == Follow_name
follow_mode == Follow_nameDescription
TRUEevaluated 63 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 112 times by 1 test
Evaluated by:
  • tail
)
63-112
1941 {-
1942 recheck (&f[i], f[i].blocking);-
1943 f[i].n_unchanged_stats = 0;-
1944 }
executed 63 times by 1 test: end of block
Executed by:
  • tail
63
1945 continue;
executed 293 times by 1 test: continue;
Executed by:
  • tail
293
1946 }-
1947-
1948-
1949-
1950-
1951 f[i].mtime = get_stat_mtime (&stats);-
1952 f[i].mode = stats.st_mode;-
1953-
1954-
1955 f[i].n_unchanged_stats = 0;-
1956-
1957-
1958-
1959-
1960 if (-
1961 ((((
(((( mode )) &... == (0100000))Description
TRUEevaluated 27 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-27
1962 mode
(((( mode )) &... == (0100000))Description
TRUEevaluated 27 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-27
1963 )) & 0170000) == (0100000))
(((( mode )) &... == (0100000))Description
TRUEevaluated 27 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-27
1964 && stats.st_size < f[i].size
stats.st_size < f[i].sizeDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 23 times by 1 test
Evaluated by:
  • tail
)
4-23
1965 {-
1966 error (0, 0, -
1967 dcgettext (((void *)0), -
1968 "%s: file truncated"-
1969 , 5)-
1970 , quotearg_n_style_colon (0, shell_escape_quoting_style, name));-
1971-
1972-
1973 xlseek (fd, 0, -
1974 0-
1975 , name);-
1976 f[i].size = 0;-
1977 }
executed 4 times by 1 test: end of block
Executed by:
  • tail
4
1978-
1979 if (i != last
i != lastDescription
TRUEevaluated 9 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 18 times by 1 test
Evaluated by:
  • tail
)
9-18
1980 {-
1981 if (print_headers
print_headersDescription
TRUEevaluated 9 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-9
1982 write_header (name);
executed 9 times by 1 test: write_header (name);
Executed by:
  • tail
9
1983 last = i;-
1984 }
executed 9 times by 1 test: end of block
Executed by:
  • tail
9
1985 }
executed 27 times by 1 test: end of block
Executed by:
  • tail
27
1986-
1987-
1988-
1989-
1990 uintmax_t bytes_to_read;-
1991 if (f[i].blocking
f[i].blockingDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 27 times by 1 test
Evaluated by:
  • tail
)
1-27
1992 bytes_to_read = (
executed 1 time by 1 test: bytes_to_read = ( (18446744073709551615UL) - 1);
Executed by:
  • tail
1
1993 (18446744073709551615UL)
executed 1 time by 1 test: bytes_to_read = ( (18446744073709551615UL) - 1);
Executed by:
  • tail
1
1994 - 1);
executed 1 time by 1 test: bytes_to_read = ( (18446744073709551615UL) - 1);
Executed by:
  • tail
1
1995 else if (-
1996 ((((
(((( mode )) &... == (0100000))Description
TRUEevaluated 27 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-27
1997 mode
(((( mode )) &... == (0100000))Description
TRUEevaluated 27 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-27
1998 )) & 0170000) == (0100000))
(((( mode )) &... == (0100000))Description
TRUEevaluated 27 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-27
1999 && f[i].remote
f[i].remoteDescription
TRUEnever evaluated
FALSEevaluated 27 times by 1 test
Evaluated by:
  • tail
)
0-27
2000 bytes_to_read = stats.st_size - f[i].size;
never executed: bytes_to_read = stats.st_size - f[i].size;
0
2001 else-
2002 bytes_to_read =
executed 27 times by 1 test: bytes_to_read = (18446744073709551615UL) ;
Executed by:
  • tail
27
2003 (18446744073709551615UL)
executed 27 times by 1 test: bytes_to_read = (18446744073709551615UL) ;
Executed by:
  • tail
27
2004 ;
executed 27 times by 1 test: bytes_to_read = (18446744073709551615UL) ;
Executed by:
  • tail
27
2005-
2006 bytes_read = dump_remainder (-
2007 0-
2008 , name, fd, bytes_to_read);-
2009-
2010 any_input |= (bytes_read != 0);-
2011 f[i].size += bytes_read;-
2012 }
executed 28 times by 1 test: end of block
Executed by:
  • tail
28
2013-
2014 if (! any_live_files (f, n_files)
! any_live_files (f, n_files)Description
TRUEevaluated 14 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 289 times by 1 test
Evaluated by:
  • tail
)
14-289
2015 {-
2016 error (0, 0, -
2017 dcgettext (((void *)0), -
2018 "no files remaining"-
2019 , 5)-
2020 );-
2021 break;
executed 14 times by 1 test: break;
Executed by:
  • tail
14
2022 }-
2023-
2024 if ((!any_input
!any_inputDescription
TRUEevaluated 263 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 26 times by 1 test
Evaluated by:
  • tail
|| blocking
blockingDescription
TRUEnever evaluated
FALSEevaluated 26 times by 1 test
Evaluated by:
  • tail
) && fflush_unlocked (
fflush_unlocke... stdout ) != 0Description
TRUEnever evaluated
FALSEevaluated 263 times by 1 test
Evaluated by:
  • tail
0-263
2025 stdout
fflush_unlocke... stdout ) != 0Description
TRUEnever evaluated
FALSEevaluated 263 times by 1 test
Evaluated by:
  • tail
0-263
2026 ) != 0
fflush_unlocke... stdout ) != 0Description
TRUEnever evaluated
FALSEevaluated 263 times by 1 test
Evaluated by:
  • tail
)
0-263
2027 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2028 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2029 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2030 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2031 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2032 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2033 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2034 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2035 "write error"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2036 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2037 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2038 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2039 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2040 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2041 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2042 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2043 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2044 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2045 "write error"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2046 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2047 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2048 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2049 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2050-
2051 check_output_alive ();-
2052-
2053-
2054 if (!any_input
!any_inputDescription
TRUEevaluated 263 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 26 times by 1 test
Evaluated by:
  • tail
)
26-263
2055 {-
2056 if (writer_is_dead
writer_is_deadDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 260 times by 1 test
Evaluated by:
  • tail
)
3-260
2057 break;
executed 3 times by 1 test: break;
Executed by:
  • tail
3
2058-
2059-
2060-
2061 writer_is_dead = (pid != 0
pid != 0Description
TRUEevaluated 17 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 243 times by 1 test
Evaluated by:
  • tail
17-243
2062 && kill (pid, 0) != 0
kill (pid, 0) != 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 14 times by 1 test
Evaluated by:
  • tail
3-14
2063-
2064-
2065-
2066 && -
2067 (*
(*__errno_location ()) != 1Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) != 1Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-3
2068 !=
(*__errno_location ()) != 1Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-3
2069 1
(*__errno_location ()) != 1Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-3
2070 );-
2071-
2072 if (!writer_is_dead
!writer_is_deadDescription
TRUEevaluated 257 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tail
&& xnanosleep (sleep_interval)
xnanosleep (sleep_interval)Description
TRUEnever evaluated
FALSEevaluated 218 times by 1 test
Evaluated by:
  • tail
)
0-257
2073 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2074 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2075 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2076 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2077 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2078 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2079 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2080 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2081 "cannot read realtime clock"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2082 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2083 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2084 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2085 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2086 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2087 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2088 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2089 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2090 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2091 "cannot read realtime clock"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2092 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2093 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2094 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2095 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2096-
2097 }
executed 221 times by 1 test: end of block
Executed by:
  • tail
221
2098 }
executed 247 times by 1 test: end of block
Executed by:
  • tail
247
2099}
executed 17 times by 1 test: end of block
Executed by:
  • tail
17
2100-
2101-
2102-
2103-
2104-
2105-
2106static -
2107 _Bool-
2108-
2109any_remote_file (const struct File_spec *f, size_t n_files)-
2110{-
2111 for (size_t i = 0; i < n_files
i < n_filesDescription
TRUEevaluated 108 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 94 times by 1 test
Evaluated by:
  • tail
; i++)
94-108
2112 if (0 <= f[i].fd
0 <= f[i].fdDescription
TRUEevaluated 88 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 20 times by 1 test
Evaluated by:
  • tail
&& f[i].remote
f[i].remoteDescription
TRUEnever evaluated
FALSEevaluated 88 times by 1 test
Evaluated by:
  • tail
)
0-88
2113 return
never executed: return 1 ;
never executed: return 1 ;
0
2114 1
never executed: return 1 ;
0
2115 ;
never executed: return 1 ;
0
2116 return
executed 94 times by 1 test: return 0 ;
Executed by:
  • tail
executed 94 times by 1 test: return 0 ;
Executed by:
  • tail
94
2117 0
executed 94 times by 1 test: return 0 ;
Executed by:
  • tail
94
2118 ;
executed 94 times by 1 test: return 0 ;
Executed by:
  • tail
94
2119}-
2120-
2121-
2122-
2123-
2124static -
2125 _Bool-
2126-
2127any_non_remote_file (const struct File_spec *f, size_t n_files)-
2128{-
2129 for (size_t i = 0; i < n_files
i < n_filesDescription
TRUEevaluated 97 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 16 times by 1 test
Evaluated by:
  • tail
; i++)
16-97
2130 if (0 <= f[i].fd
0 <= f[i].fdDescription
TRUEevaluated 78 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 19 times by 1 test
Evaluated by:
  • tail
&& ! f[i].remote
! f[i].remoteDescription
TRUEevaluated 78 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-78
2131 return
executed 78 times by 1 test: return 1 ;
Executed by:
  • tail
executed 78 times by 1 test: return 1 ;
Executed by:
  • tail
78
2132 1
executed 78 times by 1 test: return 1 ;
Executed by:
  • tail
78
2133 ;
executed 78 times by 1 test: return 1 ;
Executed by:
  • tail
78
2134 return
executed 16 times by 1 test: return 0 ;
Executed by:
  • tail
executed 16 times by 1 test: return 0 ;
Executed by:
  • tail
16
2135 0
executed 16 times by 1 test: return 0 ;
Executed by:
  • tail
16
2136 ;
executed 16 times by 1 test: return 0 ;
Executed by:
  • tail
16
2137}-
2138-
2139-
2140-
2141-
2142-
2143-
2144static -
2145 _Bool-
2146-
2147any_symlinks (const struct File_spec *f, size_t n_files)-
2148{-
2149 struct stat st;-
2150 for (size_t i = 0; i < n_files
i < n_filesDescription
TRUEevaluated 90 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 77 times by 1 test
Evaluated by:
  • tail
; i++)
77-90
2151 if (lstat (f[i].name, &st) == 0
lstat (f[i].name, &st) == 0Description
TRUEevaluated 88 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
&&
2-88
2152 ((((
(((( st.st_mod... == (0120000))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 87 times by 1 test
Evaluated by:
  • tail
1-87
2153 st.st_mode
(((( st.st_mod... == (0120000))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 87 times by 1 test
Evaluated by:
  • tail
1-87
2154 )) & 0170000) == (0120000))
(((( st.st_mod... == (0120000))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 87 times by 1 test
Evaluated by:
  • tail
1-87
2155 )-
2156 return
executed 1 time by 1 test: return 1 ;
Executed by:
  • tail
executed 1 time by 1 test: return 1 ;
Executed by:
  • tail
1
2157 1
executed 1 time by 1 test: return 1 ;
Executed by:
  • tail
1
2158 ;
executed 1 time by 1 test: return 1 ;
Executed by:
  • tail
1
2159 return
executed 77 times by 1 test: return 0 ;
Executed by:
  • tail
executed 77 times by 1 test: return 0 ;
Executed by:
  • tail
77
2160 0
executed 77 times by 1 test: return 0 ;
Executed by:
  • tail
77
2161 ;
executed 77 times by 1 test: return 0 ;
Executed by:
  • tail
77
2162}-
2163-
2164-
2165-
2166-
2167-
2168-
2169static -
2170 _Bool-
2171-
2172any_non_regular_fifo (const struct File_spec *f, size_t n_files)-
2173{-
2174 for (size_t i = 0; i < n_files
i < n_filesDescription
TRUEevaluated 89 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 76 times by 1 test
Evaluated by:
  • tail
; i++)
76-89
2175 if (0 <= f[i].fd
0 <= f[i].fdDescription
TRUEevaluated 87 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
&& !
! (((( f[i].mo... == (0100000))Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 85 times by 1 test
Evaluated by:
  • tail
2-87
2176 ((((
! (((( f[i].mo... == (0100000))Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 85 times by 1 test
Evaluated by:
  • tail
2-85
2177 f[i].mode
! (((( f[i].mo... == (0100000))Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 85 times by 1 test
Evaluated by:
  • tail
2-85
2178 )) & 0170000) == (0100000))
! (((( f[i].mo... == (0100000))Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 85 times by 1 test
Evaluated by:
  • tail
2-85
2179 && !
! (((( f[i].mo... == (0010000))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
1
2180 ((((
! (((( f[i].mo... == (0010000))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
1
2181 f[i].mode
! (((( f[i].mo... == (0010000))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
1
2182 )) & 0170000) == (0010000))
! (((( f[i].mo... == (0010000))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
1
2183 )-
2184 return
executed 1 time by 1 test: return 1 ;
Executed by:
  • tail
executed 1 time by 1 test: return 1 ;
Executed by:
  • tail
1
2185 1
executed 1 time by 1 test: return 1 ;
Executed by:
  • tail
1
2186 ;
executed 1 time by 1 test: return 1 ;
Executed by:
  • tail
1
2187 return
executed 76 times by 1 test: return 0 ;
Executed by:
  • tail
executed 76 times by 1 test: return 0 ;
Executed by:
  • tail
76
2188 0
executed 76 times by 1 test: return 0 ;
Executed by:
  • tail
76
2189 ;
executed 76 times by 1 test: return 0 ;
Executed by:
  • tail
76
2190}-
2191-
2192-
2193-
2194-
2195static -
2196 _Bool-
2197-
2198tailable_stdin (const struct File_spec *f, size_t n_files)-
2199{-
2200 for (size_t i = 0; i < n_files
i < n_filesDescription
TRUEevaluated 109 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 94 times by 1 test
Evaluated by:
  • tail
; i++)
94-109
2201 if (!f[i].ignore
!f[i].ignoreDescription
TRUEevaluated 100 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 9 times by 1 test
Evaluated by:
  • tail
&& (
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-100
2202 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2203 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2204 ) && __builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2205 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2206 ) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2207 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2208 ), __s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2209 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2210 ), (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2211 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2212 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2213 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2214 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2215 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2216 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2217 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2218 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2219 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2220 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2221 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2222 ) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2223 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2224 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2225 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2226 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2227 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2228 ) == 1) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2229 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2230 ), __s1_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2231 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2232 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2233 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2234 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2235 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2236 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2237 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2238 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2239 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2240 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2241 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2242 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2243 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2244 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
0-99
2245 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2246 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
0-99
2247 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2248 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( f[i].name ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
0-99
2249 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
never executed: __result = (((const unsigned char *) (const char *) ( f[i].name ))[3] - __s2[3]);
0-99
2250 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
never executed: __result = (((const unsigned char *) (const char *) ( f[i].name ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
0-99
2251 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2252 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2253 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2254 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2255 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2256 ) == 1) && (__s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2257 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2258 ), __s2_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2259 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2260 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2261 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2262 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2263 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2264 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2265 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2266 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2267 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2268 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2269 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2270 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2271 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2272 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEevaluated 100 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
0-100
2273 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2274 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
0-99
2275 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2276 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
0-99
2277 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
0-99
2278 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
}
never executed: end of block
} __result; }))) : __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
0-99
2279 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2280 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2281 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2282 )))); })
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
1-99
2283 == 0)
( __extension_...)))); }) == 0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 99 times by 1 test
Evaluated by:
  • tail
)
1-99
2284 return
executed 1 time by 1 test: return 1 ;
Executed by:
  • tail
executed 1 time by 1 test: return 1 ;
Executed by:
  • tail
1
2285 1
executed 1 time by 1 test: return 1 ;
Executed by:
  • tail
1
2286 ;
executed 1 time by 1 test: return 1 ;
Executed by:
  • tail
1
2287 return
executed 94 times by 1 test: return 0 ;
Executed by:
  • tail
executed 94 times by 1 test: return 0 ;
Executed by:
  • tail
94
2288 0
executed 94 times by 1 test: return 0 ;
Executed by:
  • tail
94
2289 ;
executed 94 times by 1 test: return 0 ;
Executed by:
  • tail
94
2290}-
2291-
2292static size_t-
2293wd_hasher (const void *entry, size_t tabsize)-
2294{-
2295 const struct File_spec *spec = entry;-
2296 return
executed 1462 times by 1 test: return spec->wd % tabsize;
Executed by:
  • tail
spec->wd % tabsize;
executed 1462 times by 1 test: return spec->wd % tabsize;
Executed by:
  • tail
1462
2297}-
2298-
2299static -
2300 _Bool-
2301-
2302wd_comparator (const void *e1, const void *e2)-
2303{-
2304 const struct File_spec *spec1 = e1;-
2305 const struct File_spec *spec2 = e2;-
2306 return
executed 304 times by 1 test: return spec1->wd == spec2->wd;
Executed by:
  • tail
spec1->wd == spec2->wd;
executed 304 times by 1 test: return spec1->wd == spec2->wd;
Executed by:
  • tail
304
2307}-
2308-
2309-
2310-
2311static void-
2312check_fspec (struct File_spec *fspec, struct File_spec **prev_fspec)-
2313{-
2314 struct stat stats;-
2315 char const *name;-
2316-
2317 if (fspec->fd == -1
fspec->fd == -1Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 398 times by 1 test
Evaluated by:
  • tail
)
1-398
2318 return;
executed 1 time by 1 test: return;
Executed by:
  • tail
1
2319-
2320 name = pretty_name (fspec);-
2321-
2322 if (fstat (fspec->fd, &stats) != 0
fstat (fspec->fd, &stats) != 0Description
TRUEnever evaluated
FALSEevaluated 398 times by 1 test
Evaluated by:
  • tail
)
0-398
2323 {-
2324 fspec->errnum = -
2325 (*__errno_location ())-
2326 ;-
2327 close_fd (fspec->fd, name);-
2328 fspec->fd = -1;-
2329 return;
never executed: return;
0
2330 }-
2331-
2332-
2333-
2334-
2335-
2336-
2337 if (-
2338 ((((
(((( fspec->mo... == (0100000))Description
TRUEevaluated 397 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
1-397
2339 fspec->mode
(((( fspec->mo... == (0100000))Description
TRUEevaluated 397 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
1-397
2340 )) & 0170000) == (0100000))
(((( fspec->mo... == (0100000))Description
TRUEevaluated 397 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
1-397
2341 && stats.st_size < fspec->size
stats.st_size < fspec->sizeDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 395 times by 1 test
Evaluated by:
  • tail
)
2-395
2342 {-
2343 error (0, 0, -
2344 dcgettext (((void *)0), -
2345 "%s: file truncated"-
2346 , 5)-
2347 , quotearg_n_style_colon (0, shell_escape_quoting_style, name));-
2348 xlseek (fspec->fd, 0, -
2349 0-
2350 , name);-
2351 fspec->size = 0;-
2352 }
executed 2 times by 1 test: end of block
Executed by:
  • tail
2
2353 else if (-
2354 ((((
(((( fspec->mo... == (0100000))Description
TRUEevaluated 395 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
1-395
2355 fspec->mode
(((( fspec->mo... == (0100000))Description
TRUEevaluated 395 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
1-395
2356 )) & 0170000) == (0100000))
(((( fspec->mo... == (0100000))Description
TRUEevaluated 395 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
1-395
2357 && stats.st_size == fspec->size
stats.st_size == fspec->sizeDescription
TRUEevaluated 334 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 61 times by 1 test
Evaluated by:
  • tail
61-334
2358 && timespec_cmp (fspec->mtime, get_stat_mtime (&stats)) == 0
timespec_cmp (...(&stats)) == 0Description
TRUEevaluated 334 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-334
2359 return;
executed 334 times by 1 test: return;
Executed by:
  • tail
334
2360-
2361 -
2362 _Bool -
2363 want_header = print_headers
print_headersDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 58 times by 1 test
Evaluated by:
  • tail
&& (
(fspec != *prev_fspec)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tail
fspec != *prev_fspec)
(fspec != *prev_fspec)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tail
;
3-58
2364-
2365 uintmax_t bytes_read = dump_remainder (want_header, name, fspec->fd,-
2366 -
2367 (18446744073709551615UL)-
2368 );-
2369 fspec->size += bytes_read;-
2370-
2371 if (bytes_read
bytes_readDescription
TRUEevaluated 61 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tail
)
3-61
2372 {-
2373 *prev_fspec = fspec;-
2374 if (fflush_unlocked (
fflush_unlocke... stdout ) != 0Description
TRUEnever evaluated
FALSEevaluated 61 times by 1 test
Evaluated by:
  • tail
0-61
2375 stdout
fflush_unlocke... stdout ) != 0Description
TRUEnever evaluated
FALSEevaluated 61 times by 1 test
Evaluated by:
  • tail
0-61
2376 ) != 0
fflush_unlocke... stdout ) != 0Description
TRUEnever evaluated
FALSEevaluated 61 times by 1 test
Evaluated by:
  • tail
)
0-61
2377 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2378 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2379 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2380 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2381 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2382 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2383 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2384 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2385 "write error"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2386 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2387 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2388 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2389 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2390 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2391 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2392 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2393 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2394 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2395 "write error"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2396 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2397 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2398 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2399 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2400 }
executed 61 times by 1 test: end of block
Executed by:
  • tail
61
2401}
executed 64 times by 1 test: end of block
Executed by:
  • tail
64
2402-
2403-
2404-
2405-
2406static -
2407 _Bool-
2408-
2409tail_forever_inotify (int wd, struct File_spec *f, size_t n_files,-
2410 double sleep_interval)-
2411{-
2412-
2413-
2414-
2415-
2416-
2417 unsigned int max_realloc = 3;-
2418-
2419-
2420 Hash_table *wd_to_name;-
2421-
2422 -
2423 _Bool -
2424 found_watchable_file = -
2425 0-
2426 ;-
2427 -
2428 _Bool -
2429 tailed_but_unwatchable = -
2430 0-
2431 ;-
2432 -
2433 _Bool -
2434 found_unwatchable_dir = -
2435 0-
2436 ;-
2437 -
2438 _Bool -
2439 no_inotify_resources = -
2440 0-
2441 ;-
2442 -
2443 _Bool -
2444 writer_is_dead = -
2445 0-
2446 ;-
2447 struct File_spec *prev_fspec;-
2448 size_t evlen = 0;-
2449 char *evbuf;-
2450 size_t evbuf_off = 0;-
2451 size_t len = 0;-
2452-
2453 wd_to_name = hash_initialize (n_files, -
2454 ((void *)0)-
2455 , wd_hasher, wd_comparator, -
2456 ((void *)0)-
2457 );-
2458 if (! wd_to_name
! wd_to_nameDescription
TRUEnever evaluated
FALSEevaluated 75 times by 1 test
Evaluated by:
  • tail
)
0-75
2459 xalloc_die ();
never executed: xalloc_die ();
0
2460-
2461-
2462 uint32_t inotify_wd_mask = -
2463 0x00000002-
2464 ;-
2465-
2466-
2467 if (follow_mode == Follow_name
follow_mode == Follow_nameDescription
TRUEevaluated 59 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 16 times by 1 test
Evaluated by:
  • tail
)
16-59
2468 inotify_wd_mask |= (
executed 59 times by 1 test: inotify_wd_mask |= ( 0x00000004 | 0x00000400 | 0x00000800 );
Executed by:
  • tail
59
2469 0x00000004
executed 59 times by 1 test: inotify_wd_mask |= ( 0x00000004 | 0x00000400 | 0x00000800 );
Executed by:
  • tail
59
2470 |
executed 59 times by 1 test: inotify_wd_mask |= ( 0x00000004 | 0x00000400 | 0x00000800 );
Executed by:
  • tail
59
2471 0x00000400
executed 59 times by 1 test: inotify_wd_mask |= ( 0x00000004 | 0x00000400 | 0x00000800 );
Executed by:
  • tail
59
2472 |
executed 59 times by 1 test: inotify_wd_mask |= ( 0x00000004 | 0x00000400 | 0x00000800 );
Executed by:
  • tail
59
2473 0x00000800
executed 59 times by 1 test: inotify_wd_mask |= ( 0x00000004 | 0x00000400 | 0x00000800 );
Executed by:
  • tail
59
2474 );
executed 59 times by 1 test: inotify_wd_mask |= ( 0x00000004 | 0x00000400 | 0x00000800 );
Executed by:
  • tail
59
2475-
2476-
2477-
2478-
2479 size_t i;-
2480 for (i = 0; i < n_files
i < n_filesDescription
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 75 times by 1 test
Evaluated by:
  • tail
; i++)
75-86
2481 {-
2482 if (!f[i].ignore
!f[i].ignoreDescription
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-86
2483 {-
2484 size_t fnlen = strlen (f[i].name);-
2485 if (evlen < fnlen
evlen < fnlenDescription
TRUEevaluated 77 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 9 times by 1 test
Evaluated by:
  • tail
)
9-77
2486 evlen = fnlen;
executed 77 times by 1 test: evlen = fnlen;
Executed by:
  • tail
77
2487-
2488 f[i].wd = -1;-
2489-
2490 if (follow_mode == Follow_name
follow_mode == Follow_nameDescription
TRUEevaluated 70 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 16 times by 1 test
Evaluated by:
  • tail
)
16-70
2491 {-
2492 size_t dirlen = dir_len (f[i].name);-
2493 char prev = f[i].name[dirlen];-
2494 f[i].basename_start = last_component (f[i].name) - f[i].name;-
2495-
2496 f[i].name[dirlen] = '\0';-
2497-
2498-
2499-
2500 f[i].parent_wd = inotify_add_watch (wd, dirlen ? f[i].name : ".",-
2501 (-
2502 0x00000100 -
2503 | -
2504 0x00000200-
2505 -
2506 | -
2507 0x00000080 -
2508 | -
2509 0x00000004-
2510 -
2511 | -
2512 0x00000400-
2513 ));-
2514-
2515 f[i].name[dirlen] = prev;-
2516-
2517 if (f[i].parent_wd < 0
f[i].parent_wd < 0Description
TRUEnever evaluated
FALSEevaluated 70 times by 1 test
Evaluated by:
  • tail
)
0-70
2518 {-
2519 if (-
2520 (*
(*__errno_location ()) != 28Description
TRUEnever evaluated
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) != 28Description
TRUEnever evaluated
FALSEnever evaluated
0
2521 !=
(*__errno_location ()) != 28Description
TRUEnever evaluated
FALSEnever evaluated
0
2522 28
(*__errno_location ()) != 28Description
TRUEnever evaluated
FALSEnever evaluated
0
2523 )-
2524 error (0,
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot watch parent directory of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, f[i].name));
0
2525 (*__errno_location ())
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot watch parent directory of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, f[i].name));
0
2526 ,
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot watch parent directory of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, f[i].name));
0
2527 dcgettext (((void *)0),
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot watch parent directory of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, f[i].name));
0
2528 "cannot watch parent directory of %s"
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot watch parent directory of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, f[i].name));
0
2529 , 5)
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot watch parent directory of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, f[i].name));
0
2530 ,
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot watch parent directory of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, f[i].name));
0
2531 quotearg_style (shell_escape_always_quoting_style, f[i].name));
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot watch parent directory of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, f[i].name));
0
2532 else-
2533 error (0, 0,
never executed: error (0, 0, dcgettext (((void *)0), "inotify resources exhausted" , 5) );
0
2534 dcgettext (((void *)0),
never executed: error (0, 0, dcgettext (((void *)0), "inotify resources exhausted" , 5) );
0
2535 "inotify resources exhausted"
never executed: error (0, 0, dcgettext (((void *)0), "inotify resources exhausted" , 5) );
0
2536 , 5)
never executed: error (0, 0, dcgettext (((void *)0), "inotify resources exhausted" , 5) );
0
2537 );
never executed: error (0, 0, dcgettext (((void *)0), "inotify resources exhausted" , 5) );
0
2538 found_unwatchable_dir = -
2539 1-
2540 ;-
2541-
2542-
2543 break;
never executed: break;
0
2544 }-
2545 }
executed 70 times by 1 test: end of block
Executed by:
  • tail
70
2546-
2547 f[i].wd = inotify_add_watch (wd, f[i].name, inotify_wd_mask);-
2548-
2549 if (f[i].wd < 0
f[i].wd < 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 85 times by 1 test
Evaluated by:
  • tail
)
1-85
2550 {-
2551 if (f[i].fd != -1
f[i].fd != -1Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
)
0-1
2552 tailed_but_unwatchable =
never executed: tailed_but_unwatchable = 1 ;
0
2553 1
never executed: tailed_but_unwatchable = 1 ;
0
2554 ;
never executed: tailed_but_unwatchable = 1 ;
0
2555 if (-
2556 (*
(*__errno_location ()) == 28Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
__errno_location ())
(*__errno_location ()) == 28Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
0-1
2557 ==
(*__errno_location ()) == 28Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
0-1
2558 28
(*__errno_location ()) == 28Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
0-1
2559 || -
2560 (*
(*__errno_location ()) == 12Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
__errno_location ())
(*__errno_location ()) == 12Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
0-1
2561 ==
(*__errno_location ()) == 12Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
0-1
2562 12
(*__errno_location ()) == 12Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
0-1
2563 )-
2564 {-
2565 no_inotify_resources = -
2566 1-
2567 ;-
2568 error (0, 0, -
2569 dcgettext (((void *)0), -
2570 "inotify resources exhausted"-
2571 , 5)-
2572 );-
2573 break;
never executed: break;
0
2574 }-
2575 else if (-
2576 (*
(*__errno_loca...!= f[i].errnumDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
__errno_location ())
(*__errno_loca...!= f[i].errnumDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
0-1
2577 != f[i].errnum
(*__errno_loca...!= f[i].errnumDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
)
0-1
2578 error (0,
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot watch %s" , 5) , quotearg_style (shell_escape_always_quoting_style, f[i].name));
0
2579 (*__errno_location ())
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot watch %s" , 5) , quotearg_style (shell_escape_always_quoting_style, f[i].name));
0
2580 ,
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot watch %s" , 5) , quotearg_style (shell_escape_always_quoting_style, f[i].name));
0
2581 dcgettext (((void *)0),
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot watch %s" , 5) , quotearg_style (shell_escape_always_quoting_style, f[i].name));
0
2582 "cannot watch %s"
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot watch %s" , 5) , quotearg_style (shell_escape_always_quoting_style, f[i].name));
0
2583 , 5)
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot watch %s" , 5) , quotearg_style (shell_escape_always_quoting_style, f[i].name));
0
2584 , quotearg_style (shell_escape_always_quoting_style, f[i].name));
never executed: error (0, (*__errno_location ()) , dcgettext (((void *)0), "cannot watch %s" , 5) , quotearg_style (shell_escape_always_quoting_style, f[i].name));
0
2585 continue;
executed 1 time by 1 test: continue;
Executed by:
  • tail
1
2586 }-
2587-
2588 if (hash_insert (wd_to_name, &(f[i])) ==
hash_insert (w...== ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 85 times by 1 test
Evaluated by:
  • tail
0-85
2589 ((void *)0)
hash_insert (w...== ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 85 times by 1 test
Evaluated by:
  • tail
0-85
2590 )-
2591 xalloc_die ();
never executed: xalloc_die ();
0
2592-
2593 found_watchable_file = -
2594 1-
2595 ;-
2596 }
executed 85 times by 1 test: end of block
Executed by:
  • tail
85
2597 }
executed 85 times by 1 test: end of block
Executed by:
  • tail
85
2598-
2599-
2600-
2601-
2602-
2603-
2604 if (no_inotify_resources
no_inotify_resourcesDescription
TRUEnever evaluated
FALSEevaluated 75 times by 1 test
Evaluated by:
  • tail
|| found_unwatchable_dir
found_unwatchable_dirDescription
TRUEnever evaluated
FALSEevaluated 75 times by 1 test
Evaluated by:
  • tail
0-75
2605 || (follow_mode == Follow_descriptor
follow_mode ==...low_descriptorDescription
TRUEevaluated 16 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 59 times by 1 test
Evaluated by:
  • tail
&& tailed_but_unwatchable
tailed_but_unwatchableDescription
TRUEnever evaluated
FALSEevaluated 16 times by 1 test
Evaluated by:
  • tail
))
0-59
2606 {-
2607 hash_free (wd_to_name);-
2608-
2609 -
2610 (*__errno_location ()) -
2611 = 0;-
2612 return
never executed: return 1 ;
never executed: return 1 ;
0
2613 1
never executed: return 1 ;
0
2614 ;
never executed: return 1 ;
0
2615 }-
2616 if (follow_mode == Follow_descriptor
follow_mode ==...low_descriptorDescription
TRUEevaluated 16 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 59 times by 1 test
Evaluated by:
  • tail
&& !found_watchable_file
!found_watchable_fileDescription
TRUEnever evaluated
FALSEevaluated 16 times by 1 test
Evaluated by:
  • tail
)
0-59
2617 return
never executed: return 0 ;
never executed: return 0 ;
0
2618 0
never executed: return 0 ;
0
2619 ;
never executed: return 0 ;
0
2620-
2621 prev_fspec = &(f[n_files - 1]);-
2622-
2623-
2624-
2625 for (i = 0; i < n_files
i < n_filesDescription
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 75 times by 1 test
Evaluated by:
  • tail
; i++)
75-86
2626 {-
2627 if (! f[i].ignore
! f[i].ignoreDescription
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-86
2628 {-
2629-
2630 if (follow_mode == Follow_name
follow_mode == Follow_nameDescription
TRUEevaluated 70 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 16 times by 1 test
Evaluated by:
  • tail
)
16-70
2631 recheck (&(f[i]),
executed 70 times by 1 test: recheck (&(f[i]), 0 );
Executed by:
  • tail
70
2632 0
executed 70 times by 1 test: recheck (&(f[i]), 0 );
Executed by:
  • tail
70
2633 );
executed 70 times by 1 test: recheck (&(f[i]), 0 );
Executed by:
  • tail
70
2634 else if (f[i].fd != -1
f[i].fd != -1Description
TRUEevaluated 16 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-16
2635 {-
2636-
2637-
2638-
2639-
2640 struct stat stats;-
2641-
2642 if (stat (f[i].name, &stats) == 0
stat (f[i].name, &stats) == 0Description
TRUEevaluated 16 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-16
2643 && (f[i].dev != stats.st_dev
f[i].dev != stats.st_devDescription
TRUEnever evaluated
FALSEevaluated 16 times by 1 test
Evaluated by:
  • tail
|| f[i].ino != stats.st_ino
f[i].ino != stats.st_inoDescription
TRUEnever evaluated
FALSEevaluated 16 times by 1 test
Evaluated by:
  • tail
))
0-16
2644 {-
2645 error (0, -
2646 (*__errno_location ())-
2647 , -
2648 dcgettext (((void *)0), -
2649 "%s was replaced"-
2650 , 5)-
2651 ,-
2652 quotearg_style (shell_escape_always_quoting_style, pretty_name (&(f[i]))));-
2653 hash_free (wd_to_name);-
2654-
2655 -
2656 (*__errno_location ()) -
2657 = 0;-
2658 return
never executed: return 1 ;
never executed: return 1 ;
0
2659 1
never executed: return 1 ;
0
2660 ;
never executed: return 1 ;
0
2661 }-
2662 }
executed 16 times by 1 test: end of block
Executed by:
  • tail
16
2663-
2664-
2665 check_fspec (&f[i], &prev_fspec);-
2666 }
executed 86 times by 1 test: end of block
Executed by:
  • tail
86
2667 }
executed 86 times by 1 test: end of block
Executed by:
  • tail
86
2668-
2669 evlen += sizeof (struct inotify_event) + 1;-
2670 evbuf = xmalloc (evlen);-
2671-
2672-
2673-
2674-
2675-
2676 while (1)-
2677 {-
2678 struct File_spec *fspec;-
2679 struct inotify_event *ev;-
2680 void *void_ev;-
2681-
2682-
2683-
2684 if (follow_mode == Follow_name
follow_mode == Follow_nameDescription
TRUEevaluated 1383 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 19 times by 1 test
Evaluated by:
  • tail
19-1383
2685 && ! reopen_inaccessible_files
! reopen_inaccessible_filesDescription
TRUEevaluated 7 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1376 times by 1 test
Evaluated by:
  • tail
7-1376
2686 && hash_get_n_entries (wd_to_name) == 0
hash_get_n_ent..._to_name) == 0Description
TRUEnever evaluated
FALSEevaluated 7 times by 1 test
Evaluated by:
  • tail
)
0-7
2687 {-
2688 error (0, 0, -
2689 dcgettext (((void *)0), -
2690 "no files remaining"-
2691 , 5)-
2692 );-
2693 return
never executed: return 0 ;
never executed: return 0 ;
0
2694 0
never executed: return 0 ;
0
2695 ;
never executed: return 0 ;
0
2696 }-
2697-
2698-
2699-
2700 while (len <= evbuf_off
len <= evbuf_offDescription
TRUEevaluated 1668071 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 46 times by 1 test
Evaluated by:
  • tail
)
46-1668071
2701 {-
2702 struct timeval delay;-
2703-
2704 if (pid
pidDescription
TRUEevaluated 42 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1668029 times by 1 test
Evaluated by:
  • tail
)
42-1668029
2705 {-
2706 if (writer_is_dead
writer_is_deadDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 38 times by 1 test
Evaluated by:
  • tail
)
4-38
2707 exit (
executed 4 times by 1 test: exit ( 0 );
Executed by:
  • tail
4
2708 0
executed 4 times by 1 test: exit ( 0 );
Executed by:
  • tail
4
2709 );
executed 4 times by 1 test: exit ( 0 );
Executed by:
  • tail
4
2710-
2711 writer_is_dead = (kill (pid, 0) != 0
kill (pid, 0) != 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 34 times by 1 test
Evaluated by:
  • tail
&&
4-34
2712 (*
(*__errno_location ()) != 1Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) != 1Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-4
2713 !=
(*__errno_location ()) != 1Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-4
2714 1
(*__errno_location ()) != 1Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-4
2715 );-
2716-
2717 if (writer_is_dead
writer_is_deadDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 34 times by 1 test
Evaluated by:
  • tail
)
4-34
2718 delay.tv_sec = delay.tv_usec = 0;
executed 4 times by 1 test: delay.tv_sec = delay.tv_usec = 0;
Executed by:
  • tail
4
2719 else-
2720 {-
2721 delay.tv_sec = (time_t) sleep_interval;-
2722 delay.tv_usec = 1000000 * (sleep_interval - delay.tv_sec);-
2723 }
executed 34 times by 1 test: end of block
Executed by:
  • tail
34
2724 }-
2725-
2726 fd_set rfd;-
2727 -
2728 do { int __d0, __d1; __asm__ __volatile__ ("cld; rep; " "stosq" : "=c" (__d0), "=D" (__d1) : "a" (0), "0" (sizeof (fd_set) / sizeof (__fd_mask)), "1" (&((-
2729 &rfd-
2730 )->fds_bits)[0]) : "memory"); } while (0)-
2731 ;-
2732 -
2733 ((void) (((-
2734 &rfd-
2735 )->fds_bits)[__extension__ ({ long int __d = (-
2736 wd-
2737 ); (__builtin_constant_p (__d) ? (0 <= __d && __d < 1024 ? (__d / (8 * (int) sizeof (__fd_mask))) : __fdelt_warn (__d)) : __fdelt_chk (__d)); })] |= ((__fd_mask) (1UL << ((-
2738 wd-
2739 ) % (8 * (int) sizeof (__fd_mask)))))))-
2740 ;-
2741 if (monitor_output
monitor_outputDescription
TRUEevaluated 1666683 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1384 times by 1 test
Evaluated by:
  • tail
)
1384-1666683
2742 -
2743 ((
executed 1666683 times by 1 test: ((void) ((( &rfd )->fds_bits)[__extension__ ({ long int __d = (1); (__builtin_constant_p (__d) ? (0 <= __d && __d < 1024 ? (__d / (8 * (int) sizeof (__fd_mask))) : __fdelt_warn (__d)) : __fdelt_chk (__d)); })] |= ((__fd_mask) (1UL << ((1) % (8 * (int) sizeof (__fd_mask))))))) ;
Executed by:
  • tail
void) (((
executed 1666683 times by 1 test: ((void) ((( &rfd )->fds_bits)[__extension__ ({ long int __d = (1); (__builtin_constant_p (__d) ? (0 <= __d && __d < 1024 ? (__d / (8 * (int) sizeof (__fd_mask))) : __fdelt_warn (__d)) : __fdelt_chk (__d)); })] |= ((__fd_mask) (1UL << ((1) % (8 * (int) sizeof (__fd_mask))))))) ;
Executed by:
  • tail
1666683
2744 &rfd
executed 1666683 times by 1 test: ((void) ((( &rfd )->fds_bits)[__extension__ ({ long int __d = (1); (__builtin_constant_p (__d) ? (0 <= __d && __d < 1024 ? (__d / (8 * (int) sizeof (__fd_mask))) : __fdelt_warn (__d)) : __fdelt_chk (__d)); })] |= ((__fd_mask) (1UL << ((1) % (8 * (int) sizeof (__fd_mask))))))) ;
Executed by:
  • tail
1666683
2745 )->fds_bits)[__extension__ ({ long int __d = (1); (__builtin_constant_p (__d) ? (0 <= __d && __d < 1024 ? (__d / (8 * (int) sizeof (__fd_mask))) : __fdelt_warn (__d)) : __fdelt_chk (__d)); })] |= ((__fd_mask) (1UL << ((1) % (8 * (int) sizeof (__fd_mask)))))))
executed 1666683 times by 1 test: ((void) ((( &rfd )->fds_bits)[__extension__ ({ long int __d = (1); (__builtin_constant_p (__d) ? (0 <= __d && __d < 1024 ? (__d / (8 * (int) sizeof (__fd_mask))) : __fdelt_warn (__d)) : __fdelt_chk (__d)); })] |= ((__fd_mask) (1UL << ((1) % (8 * (int) sizeof (__fd_mask))))))) ;
Executed by:
  • tail
1666683
2746 ;
executed 1666683 times by 1 test: ((void) ((( &rfd )->fds_bits)[__extension__ ({ long int __d = (1); (__builtin_constant_p (__d) ? (0 <= __d && __d < 1024 ? (__d / (8 * (int) sizeof (__fd_mask))) : __fdelt_warn (__d)) : __fdelt_chk (__d)); })] |= ((__fd_mask) (1UL << ((1) % (8 * (int) sizeof (__fd_mask))))))) ;
Executed by:
  • tail
1666683
2747-
2748 int file_change = select (-
2749 (((-
2750 wd-
2751 )>(1))?(-
2752 wd-
2753 ):(1)) -
2754 + 1,-
2755 &rfd, -
2756 ((void *)0)-
2757 , -
2758 ((void *)0)-
2759 , pid ? &delay: -
2760 ((void *)0)-
2761 );-
2762-
2763 if (file_change == 0
file_change == 0Description
TRUEevaluated 33 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1667965 times by 1 test
Evaluated by:
  • tail
)
33-1667965
2764 continue;
executed 33 times by 1 test: continue;
Executed by:
  • tail
33
2765 else if (file_change == -1
file_change == -1Description
TRUEnever evaluated
FALSEevaluated 1667965 times by 1 test
Evaluated by:
  • tail
)
0-1667965
2766 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2767 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2768 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2769 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2770 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2771 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2772 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2773 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2774 "error waiting for inotify and output events"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2775 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2776 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2777 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2778 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2779 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2780 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2781 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2782 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2783 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2784 "error waiting for inotify and output events"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2785 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2786 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2787 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2788 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2789 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error waiting for inotify and output events\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_locati...or inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error waiting for inotify and output events" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2790 else if (-
2791 ((((
(((( &rfd )->f...sk)))))) != 0)Description
TRUEevaluated 1666683 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1282 times by 1 test
Evaluated by:
  • tail
1282-1666683
2792 &rfd
(((( &rfd )->f...sk)))))) != 0)Description
TRUEevaluated 1666683 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1282 times by 1 test
Evaluated by:
  • tail
1282-1666683
2793 )->fds_bits)[__extension__ ({ long int __d = (1); (__builtin_constant_p (__d) ? (0 <= __d && __d < 1024 ? (__d / (8 * (int) sizeof (__fd_mask))) : __fdelt_warn (__d)) : __fdelt_chk (__d)); })] & ((__fd_mask) (1UL << ((1) % (8 * (int) sizeof (__fd_mask)))))) != 0)
(((( &rfd )->f...sk)))))) != 0)Description
TRUEevaluated 1666683 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1282 times by 1 test
Evaluated by:
  • tail
1282-1666683
2794 )-
2795 {-
2796-
2797-
2798 raise (-
2799 13-
2800 );-
2801 }
executed 1666682 times by 1 test: end of block
Executed by:
  • tail
1666682
2802 else-
2803 break;
executed 1282 times by 1 test: break;
Executed by:
  • tail
1282
2804 }-
2805-
2806 if (len <= evbuf_off
len <= evbuf_offDescription
TRUEevaluated 1282 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 46 times by 1 test
Evaluated by:
  • tail
)
46-1282
2807 {-
2808 len = safe_read (wd, evbuf, evlen);-
2809 evbuf_off = 0;-
2810-
2811-
2812-
2813 if ((len == 0
len == 0Description
TRUEnever evaluated
FALSEevaluated 1282 times by 1 test
Evaluated by:
  • tail
|| (len == ((size_t) -1)
len == ((size_t) -1)Description
TRUEevaluated 57 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1225 times by 1 test
Evaluated by:
  • tail
&&
0-1282
2814 (*
(*__errno_location ()) == 22Description
TRUEevaluated 57 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) == 22Description
TRUEevaluated 57 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-57
2815 ==
(*__errno_location ()) == 22Description
TRUEevaluated 57 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-57
2816 22
(*__errno_location ()) == 22Description
TRUEevaluated 57 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-57
2817 ))-
2818 && max_realloc--
max_realloc--Description
TRUEevaluated 57 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-57
2819 {-
2820 len = 0;-
2821 evlen *= 2;-
2822 evbuf = xrealloc (evbuf, evlen);-
2823 continue;
executed 57 times by 1 test: continue;
Executed by:
  • tail
57
2824 }-
2825-
2826 if (len == 0
len == 0Description
TRUEnever evaluated
FALSEevaluated 1225 times by 1 test
Evaluated by:
  • tail
|| len == ((size_t) -1)
len == ((size_t) -1)Description
TRUEnever evaluated
FALSEevaluated 1225 times by 1 test
Evaluated by:
  • tail
)
0-1225
2827 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2828 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2829 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2830 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2831 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2832 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2833 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2834 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2835 "error reading inotify event"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2836 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2837 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2838 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2839 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2840 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2841 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2842 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2843 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2844 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2845 "error reading inotify event"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2846 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2847 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2848 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2849 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error reading inotify event\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "error reading inotify event" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2850 }
executed 1225 times by 1 test: end of block
Executed by:
  • tail
1225
2851-
2852 void_ev = evbuf + evbuf_off;-
2853 ev = void_ev;-
2854 evbuf_off += sizeof (*ev) + ev->len;-
2855-
2856-
2857-
2858-
2859-
2860 if ((
(ev->mask & 0x00000400 )Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1268 times by 1 test
Evaluated by:
  • tail
ev->mask &
(ev->mask & 0x00000400 )Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1268 times by 1 test
Evaluated by:
  • tail
3-1268
2861 0x00000400
(ev->mask & 0x00000400 )Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1268 times by 1 test
Evaluated by:
  • tail
3-1268
2862 )
(ev->mask & 0x00000400 )Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1268 times by 1 test
Evaluated by:
  • tail
&& ! ev->len
! ev->lenDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-1268
2863 {-
2864 for (i = 0; i < n_files
i < n_filesDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
; i++)
2-4
2865 {-
2866 if (ev->wd == f[i].parent_wd
ev->wd == f[i].parent_wdDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tail
)
1-3
2867 {-
2868 hash_free (wd_to_name);-
2869 error (0, 0,-
2870 -
2871 dcgettext (((void *)0), -
2872 "directory containing watched file was removed"-
2873 , 5)-
2874 );-
2875 -
2876 (*__errno_location ()) -
2877 = 0;-
2878 return
executed 1 time by 1 test: return 1 ;
Executed by:
  • tail
executed 1 time by 1 test: return 1 ;
Executed by:
  • tail
1
2879 1
executed 1 time by 1 test: return 1 ;
Executed by:
  • tail
1
2880 ;
executed 1 time by 1 test: return 1 ;
Executed by:
  • tail
1
2881 }-
2882 }
executed 3 times by 1 test: end of block
Executed by:
  • tail
3
2883 }
executed 2 times by 1 test: end of block
Executed by:
  • tail
2
2884-
2885 if (ev->len
ev->lenDescription
TRUEevaluated 661 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 609 times by 1 test
Evaluated by:
  • tail
)
609-661
2886 {-
2887 size_t j;-
2888 for (j = 0; j < n_files
j < n_filesDescription
TRUEevaluated 673 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 203 times by 1 test
Evaluated by:
  • tail
; j++)
203-673
2889 {-
2890-
2891-
2892 if (f[j].parent_wd == ev->wd
f[j].parent_wd == ev->wdDescription
TRUEevaluated 673 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-673
2893 && (
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2894 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2895 ev->name
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2896 ) && __builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2897 f[j].name + f[j].basename_start
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2898 ) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2899 ev->name
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2900 ), __s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2901 f[j].name + f[j].basename_start
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2902 ), (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2903 ev->name
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2904 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2905 ev->name
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2906 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2907 f[j].name + f[j].basename_start
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2908 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2909 f[j].name + f[j].basename_start
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2910 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2911 ev->name
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2912 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2913 f[j].name + f[j].basename_start
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2914 ) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2915 ev->name
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2916 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2917 ev->name
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2918 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2919 ev->name
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2920 ) == 1) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2921 ev->name
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2922 ), __s1_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2923 f[j].name + f[j].basename_start
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2924 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2925 f[j].name + f[j].basename_start
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2926 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2927 f[j].name + f[j].basename_start
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2928 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2929 ev->name
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2930 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2931 f[j].name + f[j].basename_start
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2932 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2933 f[j].name + f[j].basename_start
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2934 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2935 ev->name
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2936 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
0-458
2937 ev->name
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2938 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
0-458
2939 ev->name
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2940 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( ev->name ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
0-458
2941 ev->name
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
never executed: __result = (((const unsigned char *) (const char *) ( ev->name ))[3] - __s2[3]);
0-458
2942 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
never executed: __result = (((const unsigned char *) (const char *) ( ev->name ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
0-458
2943 f[j].name + f[j].basename_start
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2944 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2945 f[j].name + f[j].basename_start
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2946 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2947 f[j].name + f[j].basename_start
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2948 ) == 1) && (__s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2949 f[j].name + f[j].basename_start
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2950 ), __s2_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2951 ev->name
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2952 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2953 ev->name
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2954 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2955 ev->name
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2956 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2957 ev->name
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2958 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2959 f[j].name + f[j].basename_start
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2960 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2961 ev->name
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2962 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2963 f[j].name + f[j].basename_start
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2964 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
0-458
2965 f[j].name + f[j].basename_start
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2966 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
0-458
2967 f[j].name + f[j].basename_start
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2968 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( f[j].name + f[j].basename_start ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
0-458
2969 f[j].name + f[j].basename_start
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
never executed: __result = (((const unsigned char *) (const char *) ( f[j].name + f[j].basename_start ))[3] - __s2[3]);
0-458
2970 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
never executed: __result = (((const unsigned char *) (const char *) ( f[j].name + f[j].basename_start ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
0-458
2971 ev->name
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2972 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2973 f[j].name + f[j].basename_start
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2974 )))); })
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
215-458
2975 == 0)
( __extension_...)))); }) == 0)Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 215 times by 1 test
Evaluated by:
  • tail
)
215-458
2976 break;
executed 458 times by 1 test: break;
Executed by:
  • tail
458
2977 }
executed 215 times by 1 test: end of block
Executed by:
  • tail
215
2978-
2979-
2980 if (j == n_files
j == n_filesDescription
TRUEevaluated 203 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 458 times by 1 test
Evaluated by:
  • tail
)
203-458
2981 continue;
executed 203 times by 1 test: continue;
Executed by:
  • tail
203
2982-
2983 fspec = &(f[j]);-
2984-
2985 int new_wd = -1;-
2986 -
2987 _Bool -
2988 deleting = !! (ev->mask & -
2989 0x00000200-
2990 );-
2991-
2992 if (! deleting
! deletingDescription
TRUEevaluated 456 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
)
2-456
2993 {-
2994-
2995 new_wd = inotify_add_watch (wd, f[j].name, inotify_wd_mask);-
2996 }
executed 456 times by 1 test: end of block
Executed by:
  • tail
456
2997-
2998 if (! deleting
! deletingDescription
TRUEevaluated 456 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
&& new_wd < 0
new_wd < 0Description
TRUEnever evaluated
FALSEevaluated 456 times by 1 test
Evaluated by:
  • tail
)
0-456
2999 {-
3000 if (-
3001 (*
(*__errno_location ()) == 28Description
TRUEnever evaluated
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) == 28Description
TRUEnever evaluated
FALSEnever evaluated
0
3002 ==
(*__errno_location ()) == 28Description
TRUEnever evaluated
FALSEnever evaluated
0
3003 28
(*__errno_location ()) == 28Description
TRUEnever evaluated
FALSEnever evaluated
0
3004 || -
3005 (*
(*__errno_location ()) == 12Description
TRUEnever evaluated
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) == 12Description
TRUEnever evaluated
FALSEnever evaluated
0
3006 ==
(*__errno_location ()) == 12Description
TRUEnever evaluated
FALSEnever evaluated
0
3007 12
(*__errno_location ()) == 12Description
TRUEnever evaluated
FALSEnever evaluated
0
3008 )-
3009 {-
3010 error (0, 0, -
3011 dcgettext (((void *)0), -
3012 "inotify resources exhausted"-
3013 , 5)-
3014 );-
3015 hash_free (wd_to_name);-
3016 -
3017 (*__errno_location ()) -
3018 = 0;-
3019 return
never executed: return 1 ;
never executed: return 1 ;
0
3020 1
never executed: return 1 ;
0
3021 ;
never executed: return 1 ;
0
3022 }-
3023 else-
3024 {-
3025-
3026 error (0, -
3027 (*__errno_location ())-
3028 , -
3029 dcgettext (((void *)0), -
3030 "cannot watch %s"-
3031 , 5)-
3032 , quotearg_style (shell_escape_always_quoting_style, f[j].name));-
3033 }
never executed: end of block
0
3034-
3035 }-
3036-
3037-
3038 -
3039 _Bool -
3040 new_watch;-
3041 new_watch = (
(! deleting)Description
TRUEevaluated 456 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
! deleting)
(! deleting)Description
TRUEevaluated 456 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
&& (fspec->wd < 0
fspec->wd < 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 454 times by 1 test
Evaluated by:
  • tail
|| new_wd != fspec->wd
new_wd != fspec->wdDescription
TRUEevaluated 254 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 200 times by 1 test
Evaluated by:
  • tail
);
2-456
3042-
3043 if (new_watch
new_watchDescription
TRUEevaluated 256 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 202 times by 1 test
Evaluated by:
  • tail
)
202-256
3044 {-
3045 if (0 <= fspec->wd
0 <= fspec->wdDescription
TRUEevaluated 254 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
)
2-254
3046 {-
3047 inotify_rm_watch (wd, fspec->wd);-
3048 hash_delete (wd_to_name, fspec);-
3049 }
executed 254 times by 1 test: end of block
Executed by:
  • tail
254
3050-
3051 fspec->wd = new_wd;-
3052-
3053 if (new_wd == -1
new_wd == -1Description
TRUEnever evaluated
FALSEevaluated 256 times by 1 test
Evaluated by:
  • tail
)
0-256
3054 continue;
never executed: continue;
0
3055-
3056-
3057-
3058-
3059 struct File_spec *prev = hash_delete (wd_to_name, fspec);-
3060 if (prev
prevDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 255 times by 1 test
Evaluated by:
  • tail
&& prev != fspec
prev != fspecDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-255
3061 {-
3062 if (follow_mode == Follow_name
follow_mode == Follow_nameDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-1
3063 recheck (prev,
executed 1 time by 1 test: recheck (prev, 0 );
Executed by:
  • tail
1
3064 0
executed 1 time by 1 test: recheck (prev, 0 );
Executed by:
  • tail
1
3065 );
executed 1 time by 1 test: recheck (prev, 0 );
Executed by:
  • tail
1
3066 prev->wd = -1;-
3067 close_fd (prev->fd, pretty_name (prev));-
3068 }
executed 1 time by 1 test: end of block
Executed by:
  • tail
1
3069-
3070 if (hash_insert (wd_to_name, fspec) ==
hash_insert (w...== ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 256 times by 1 test
Evaluated by:
  • tail
0-256
3071 ((void *)0)
hash_insert (w...== ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 256 times by 1 test
Evaluated by:
  • tail
0-256
3072 )-
3073 xalloc_die ();
never executed: xalloc_die ();
0
3074 }
executed 256 times by 1 test: end of block
Executed by:
  • tail
256
3075-
3076 if (follow_mode == Follow_name
follow_mode == Follow_nameDescription
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-458
3077 recheck (fspec,
executed 458 times by 1 test: recheck (fspec, 0 );
Executed by:
  • tail
458
3078 0
executed 458 times by 1 test: recheck (fspec, 0 );
Executed by:
  • tail
458
3079 );
executed 458 times by 1 test: recheck (fspec, 0 );
Executed by:
  • tail
458
3080 }
executed 458 times by 1 test: end of block
Executed by:
  • tail
458
3081 else-
3082 {-
3083 struct File_spec key;-
3084 key.wd = ev->wd;-
3085 fspec = hash_lookup (wd_to_name, &key);-
3086 }
executed 609 times by 1 test: end of block
Executed by:
  • tail
609
3087-
3088 if (! fspec
! fspecDescription
TRUEevaluated 306 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 761 times by 1 test
Evaluated by:
  • tail
)
306-761
3089 continue;
executed 306 times by 1 test: continue;
Executed by:
  • tail
306
3090-
3091 if (ev->mask & (
ev->mask & ( 0...| 0x00000800 )Description
TRUEevaluated 448 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 313 times by 1 test
Evaluated by:
  • tail
313-448
3092 0x00000004
ev->mask & ( 0...| 0x00000800 )Description
TRUEevaluated 448 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 313 times by 1 test
Evaluated by:
  • tail
313-448
3093 |
ev->mask & ( 0...| 0x00000800 )Description
TRUEevaluated 448 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 313 times by 1 test
Evaluated by:
  • tail
313-448
3094 0x00000200
ev->mask & ( 0...| 0x00000800 )Description
TRUEevaluated 448 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 313 times by 1 test
Evaluated by:
  • tail
313-448
3095 |
ev->mask & ( 0...| 0x00000800 )Description
TRUEevaluated 448 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 313 times by 1 test
Evaluated by:
  • tail
313-448
3096 0x00000400
ev->mask & ( 0...| 0x00000800 )Description
TRUEevaluated 448 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 313 times by 1 test
Evaluated by:
  • tail
313-448
3097 |
ev->mask & ( 0...| 0x00000800 )Description
TRUEevaluated 448 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 313 times by 1 test
Evaluated by:
  • tail
313-448
3098 0x00000800
ev->mask & ( 0...| 0x00000800 )Description
TRUEevaluated 448 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 313 times by 1 test
Evaluated by:
  • tail
313-448
3099 )
ev->mask & ( 0...| 0x00000800 )Description
TRUEevaluated 448 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 313 times by 1 test
Evaluated by:
  • tail
)
313-448
3100 {-
3101-
3102-
3103-
3104-
3105 if (ev->mask &
ev->mask & 0x00000400Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 446 times by 1 test
Evaluated by:
  • tail
2-446
3106 0x00000400
ev->mask & 0x00000400Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 446 times by 1 test
Evaluated by:
  • tail
2-446
3107 )-
3108 {-
3109 inotify_rm_watch (wd, fspec->wd);-
3110 hash_delete (wd_to_name, fspec);-
3111 }
executed 2 times by 1 test: end of block
Executed by:
  • tail
2
3112 recheck (fspec, -
3113 0-
3114 );-
3115-
3116 continue;
executed 448 times by 1 test: continue;
Executed by:
  • tail
448
3117 }-
3118 check_fspec (fspec, &prev_fspec);-
3119 }
executed 313 times by 1 test: end of block
Executed by:
  • tail
313
3120}
never executed: end of block
0
3121-
3122-
3123-
3124-
3125-
3126static -
3127 _Bool-
3128-
3129tail_bytes (const char *pretty_filename, int fd, uintmax_t n_bytes,-
3130 uintmax_t *read_pos)-
3131{-
3132 struct stat stats;-
3133-
3134 if (fstat (fd, &stats)
fstat (fd, &stats)Description
TRUEnever evaluated
FALSEevaluated 47 times by 1 test
Evaluated by:
  • tail
)
0-47
3135 {-
3136 error (0, -
3137 (*__errno_location ())-
3138 , -
3139 dcgettext (((void *)0), -
3140 "cannot fstat %s"-
3141 , 5)-
3142 , quotearg_style (shell_escape_always_quoting_style, pretty_filename));-
3143 return
never executed: return 0 ;
never executed: return 0 ;
0
3144 0
never executed: return 0 ;
0
3145 ;
never executed: return 0 ;
0
3146 }-
3147-
3148 if (from_start
from_startDescription
TRUEevaluated 9 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 38 times by 1 test
Evaluated by:
  • tail
)
9-38
3149 {-
3150 if (! presume_input_pipe
! presume_input_pipeDescription
TRUEevaluated 9 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
&& n_bytes <= ((off_t) (! (! ((off_t) 0 < (off_t) -1)) ? (off_t) -1 : ((((off_t) 1 << ((sizeof (off_t) * 8) - 2)) - 1) * 2 + 1)))
n_bytes <= ((o... 1) * 2 + 1)))Description
TRUEevaluated 9 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-9
3151 && ((-
3152 ((((
(((( stats.st_... == (0100000))Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tail
3-6
3153 stats.st_mode
(((( stats.st_... == (0100000))Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tail
3-6
3154 )) & 0170000) == (0100000))
(((( stats.st_... == (0100000))Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tail
3-6
3155 -
3156 && xlseek (fd, n_bytes,
xlseek (fd, n_...filename) >= 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-6
3157 1
xlseek (fd, n_...filename) >= 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-6
3158 , pretty_filename) >= 0
xlseek (fd, n_...filename) >= 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-6
3159 || lseek (fd, n_bytes,
lseek (fd, n_bytes, 1 ) != -1Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tail
0-3
3160 1
lseek (fd, n_bytes, 1 ) != -1Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tail
0-3
3161 ) != -1
lseek (fd, n_bytes, 1 ) != -1Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tail
))
0-3
3162 *
executed 6 times by 1 test: *read_pos += n_bytes;
Executed by:
  • tail
read_pos += n_bytes;
executed 6 times by 1 test: *read_pos += n_bytes;
Executed by:
  • tail
6
3163 else-
3164 {-
3165 int t = start_bytes (pretty_filename, fd, n_bytes, read_pos);-
3166 if (t
tDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
)
1-2
3167 return
executed 1 time by 1 test: return t < 0;
Executed by:
  • tail
t < 0;
executed 1 time by 1 test: return t < 0;
Executed by:
  • tail
1
3168 }
executed 2 times by 1 test: end of block
Executed by:
  • tail
2
3169 n_bytes = -
3170 (18446744073709551615UL)-
3171 ;-
3172 }
executed 8 times by 1 test: end of block
Executed by:
  • tail
8
3173 else-
3174 {-
3175 off_t end_pos = -1;-
3176 off_t current_pos = -1;-
3177-
3178 if (! presume_input_pipe
! presume_input_pipeDescription
TRUEevaluated 38 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
&& n_bytes <= ((off_t) (! (! ((off_t) 0 < (off_t) -1)) ? (off_t) -1 : ((((off_t) 1 << ((sizeof (off_t) * 8) - 2)) - 1) * 2 + 1)))
n_bytes <= ((o... 1) * 2 + 1)))Description
TRUEevaluated 38 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-38
3179 {-
3180 if (usable_st_size (&stats)
usable_st_size (&stats)Description
TRUEevaluated 25 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 13 times by 1 test
Evaluated by:
  • tail
)
13-25
3181 end_pos = stats.st_size;
executed 25 times by 1 test: end_pos = stats.st_size;
Executed by:
  • tail
25
3182 else if ((
(current_pos =...es, 2 )) != -1Description
TRUEnever evaluated
FALSEevaluated 13 times by 1 test
Evaluated by:
  • tail
current_pos = lseek (fd, -n_bytes,
(current_pos =...es, 2 )) != -1Description
TRUEnever evaluated
FALSEevaluated 13 times by 1 test
Evaluated by:
  • tail
0-13
3183 2
(current_pos =...es, 2 )) != -1Description
TRUEnever evaluated
FALSEevaluated 13 times by 1 test
Evaluated by:
  • tail
0-13
3184 )) != -1
(current_pos =...es, 2 )) != -1Description
TRUEnever evaluated
FALSEevaluated 13 times by 1 test
Evaluated by:
  • tail
)
0-13
3185 end_pos = current_pos + n_bytes;
never executed: end_pos = current_pos + n_bytes;
0
3186 }
executed 38 times by 1 test: end of block
Executed by:
  • tail
38
3187 if (end_pos <= (off_t) ((0 < (stats).st_blksize && (stats).st_blksize <= ((size_t)-1) / 8 + 1) ? (stats).st_blksize :
end_pos <= (of...lksize : 512 )Description
TRUEevaluated 35 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tail
3-35
3188 512
end_pos <= (of...lksize : 512 )Description
TRUEevaluated 35 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tail
3-35
3189 )
end_pos <= (of...lksize : 512 )Description
TRUEevaluated 35 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tail
)
3-35
3190 return
executed 35 times by 1 test: return pipe_bytes (pretty_filename, fd, n_bytes, read_pos);
Executed by:
  • tail
pipe_bytes (pretty_filename, fd, n_bytes, read_pos);
executed 35 times by 1 test: return pipe_bytes (pretty_filename, fd, n_bytes, read_pos);
Executed by:
  • tail
35
3191 if (current_pos == -1
current_pos == -1Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-3
3192 current_pos = xlseek (fd, 0,
executed 3 times by 1 test: current_pos = xlseek (fd, 0, 1 , pretty_filename);
Executed by:
  • tail
3
3193 1
executed 3 times by 1 test: current_pos = xlseek (fd, 0, 1 , pretty_filename);
Executed by:
  • tail
3
3194 , pretty_filename);
executed 3 times by 1 test: current_pos = xlseek (fd, 0, 1 , pretty_filename);
Executed by:
  • tail
3
3195 if (current_pos < end_pos
current_pos < end_posDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-3
3196 {-
3197 off_t bytes_remaining = end_pos - current_pos;-
3198-
3199 if (n_bytes < bytes_remaining
n_bytes < bytes_remainingDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-3
3200 {-
3201 current_pos = end_pos - n_bytes;-
3202 xlseek (fd, current_pos, -
3203 0-
3204 , pretty_filename);-
3205 }
executed 3 times by 1 test: end of block
Executed by:
  • tail
3
3206 }
executed 3 times by 1 test: end of block
Executed by:
  • tail
3
3207 *read_pos = current_pos;-
3208 }
executed 3 times by 1 test: end of block
Executed by:
  • tail
3
3209-
3210 *read_pos += dump_remainder (-
3211 0-
3212 , pretty_filename, fd, n_bytes);-
3213 return
executed 11 times by 1 test: return 1 ;
Executed by:
  • tail
executed 11 times by 1 test: return 1 ;
Executed by:
  • tail
11
3214 1
executed 11 times by 1 test: return 1 ;
Executed by:
  • tail
11
3215 ;
executed 11 times by 1 test: return 1 ;
Executed by:
  • tail
11
3216}-
3217-
3218-
3219-
3220-
3221static -
3222 _Bool-
3223-
3224tail_lines (const char *pretty_filename, int fd, uintmax_t n_lines,-
3225 uintmax_t *read_pos)-
3226{-
3227 struct stat stats;-
3228-
3229 if (fstat (fd, &stats)
fstat (fd, &stats)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 197 times by 1 test
Evaluated by:
  • tail
)
1-197
3230 {-
3231 error (0, -
3232 (*__errno_location ())-
3233 , -
3234 dcgettext (((void *)0), -
3235 "cannot fstat %s"-
3236 , 5)-
3237 , quotearg_style (shell_escape_always_quoting_style, pretty_filename));-
3238 return
executed 1 time by 1 test: return 0 ;
Executed by:
  • tail
executed 1 time by 1 test: return 0 ;
Executed by:
  • tail
1
3239 0
executed 1 time by 1 test: return 0 ;
Executed by:
  • tail
1
3240 ;
executed 1 time by 1 test: return 0 ;
Executed by:
  • tail
1
3241 }-
3242-
3243 if (from_start
from_startDescription
TRUEevaluated 26 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 171 times by 1 test
Evaluated by:
  • tail
)
26-171
3244 {-
3245 int t = start_lines (pretty_filename, fd, n_lines, read_pos);-
3246 if (t
tDescription
TRUEnever evaluated
FALSEevaluated 26 times by 1 test
Evaluated by:
  • tail
)
0-26
3247 return
never executed: return t < 0;
t < 0;
never executed: return t < 0;
0
3248 *read_pos += dump_remainder (-
3249 0-
3250 , pretty_filename, fd, -
3251 (18446744073709551615UL)-
3252 );-
3253 }
executed 26 times by 1 test: end of block
Executed by:
  • tail
26
3254 else-
3255 {-
3256 off_t start_pos = -1;-
3257 off_t end_pos;-
3258-
3259-
3260-
3261 if ( ! presume_input_pipe
! presume_input_pipeDescription
TRUEevaluated 171 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-171
3262 && -
3263 ((((
(((( stats.st_... == (0100000))Description
TRUEevaluated 146 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 25 times by 1 test
Evaluated by:
  • tail
25-146
3264 stats.st_mode
(((( stats.st_... == (0100000))Description
TRUEevaluated 146 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 25 times by 1 test
Evaluated by:
  • tail
25-146
3265 )) & 0170000) == (0100000))
(((( stats.st_... == (0100000))Description
TRUEevaluated 146 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 25 times by 1 test
Evaluated by:
  • tail
25-146
3266 -
3267 && (
(start_pos = l... 0, 1 )) != -1Description
TRUEevaluated 146 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
start_pos = lseek (fd, 0,
(start_pos = l... 0, 1 )) != -1Description
TRUEevaluated 146 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-146
3268 1
(start_pos = l... 0, 1 )) != -1Description
TRUEevaluated 146 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-146
3269 )) != -1
(start_pos = l... 0, 1 )) != -1Description
TRUEevaluated 146 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-146
3270 && start_pos < (end_pos = lseek (fd, 0,
start_pos < (e...k (fd, 0, 2 ))Description
TRUEevaluated 105 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tail
41-105
3271 2
start_pos < (e...k (fd, 0, 2 ))Description
TRUEevaluated 105 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tail
41-105
3272 ))
start_pos < (e...k (fd, 0, 2 ))Description
TRUEevaluated 105 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 41 times by 1 test
Evaluated by:
  • tail
)
41-105
3273 {-
3274 *read_pos = end_pos;-
3275 if (end_pos != 0
end_pos != 0Description
TRUEevaluated 105 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-105
3276 && ! file_lines (pretty_filename, fd, n_lines,
! file_lines (...pos, read_pos)Description
TRUEnever evaluated
FALSEevaluated 105 times by 1 test
Evaluated by:
  • tail
0-105
3277 start_pos, end_pos, read_pos)
! file_lines (...pos, read_pos)Description
TRUEnever evaluated
FALSEevaluated 105 times by 1 test
Evaluated by:
  • tail
)
0-105
3278 return
never executed: return 0 ;
never executed: return 0 ;
0
3279 0
never executed: return 0 ;
0
3280 ;
never executed: return 0 ;
0
3281 }
executed 105 times by 1 test: end of block
Executed by:
  • tail
105
3282 else-
3283 {-
3284-
3285-
3286-
3287-
3288 if (start_pos != -1
start_pos != -1Description
TRUEevaluated 41 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 25 times by 1 test
Evaluated by:
  • tail
)
25-41
3289 xlseek (fd, start_pos,
executed 41 times by 1 test: xlseek (fd, start_pos, 0 , pretty_filename);
Executed by:
  • tail
41
3290 0
executed 41 times by 1 test: xlseek (fd, start_pos, 0 , pretty_filename);
Executed by:
  • tail
41
3291 , pretty_filename);
executed 41 times by 1 test: xlseek (fd, start_pos, 0 , pretty_filename);
Executed by:
  • tail
41
3292-
3293 return
executed 66 times by 1 test: return pipe_lines (pretty_filename, fd, n_lines, read_pos);
Executed by:
  • tail
pipe_lines (pretty_filename, fd, n_lines, read_pos);
executed 66 times by 1 test: return pipe_lines (pretty_filename, fd, n_lines, read_pos);
Executed by:
  • tail
66
3294 }-
3295 }-
3296 return
executed 131 times by 1 test: return 1 ;
Executed by:
  • tail
executed 131 times by 1 test: return 1 ;
Executed by:
  • tail
131
3297 1
executed 131 times by 1 test: return 1 ;
Executed by:
  • tail
131
3298 ;
executed 131 times by 1 test: return 1 ;
Executed by:
  • tail
131
3299}-
3300static -
3301 _Bool-
3302-
3303tail (const char *filename, int fd, uintmax_t n_units,-
3304 uintmax_t *read_pos)-
3305{-
3306 *read_pos = 0;-
3307 if (count_lines
count_linesDescription
TRUEevaluated 198 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 47 times by 1 test
Evaluated by:
  • tail
)
47-198
3308 return
executed 198 times by 1 test: return tail_lines (filename, fd, n_units, read_pos);
Executed by:
  • tail
tail_lines (filename, fd, n_units, read_pos);
executed 198 times by 1 test: return tail_lines (filename, fd, n_units, read_pos);
Executed by:
  • tail
198
3309 else-
3310 return
executed 47 times by 1 test: return tail_bytes (filename, fd, n_units, read_pos);
Executed by:
  • tail
tail_bytes (filename, fd, n_units, read_pos);
executed 47 times by 1 test: return tail_bytes (filename, fd, n_units, read_pos);
Executed by:
  • tail
47
3311}-
3312-
3313-
3314-
3315-
3316static -
3317 _Bool-
3318-
3319tail_file (struct File_spec *f, uintmax_t n_units)-
3320{-
3321 int fd;-
3322 -
3323 _Bool -
3324 ok;-
3325-
3326 -
3327 _Bool -
3328 is_stdin = ((-
3329 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (-
3330 f->name-
3331 ) && __builtin_constant_p (-
3332 "-"-
3333 ) && (__s1_len = __builtin_strlen (-
3334 f->name-
3335 ), __s2_len = __builtin_strlen (-
3336 "-"-
3337 ), (!((size_t)(const void *)((-
3338 f->name-
3339 ) + 1) - (size_t)(const void *)(-
3340 f->name-
3341 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((-
3342 "-"-
3343 ) + 1) - (size_t)(const void *)(-
3344 "-"-
3345 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (-
3346 f->name-
3347 , -
3348 "-"-
3349 ) : (__builtin_constant_p (-
3350 f->name-
3351 ) && ((size_t)(const void *)((-
3352 f->name-
3353 ) + 1) - (size_t)(const void *)(-
3354 f->name-
3355 ) == 1) && (__s1_len = __builtin_strlen (-
3356 f->name-
3357 ), __s1_len < 4) ? (__builtin_constant_p (-
3358 "-"-
3359 ) && ((size_t)(const void *)((-
3360 "-"-
3361 ) + 1) - (size_t)(const void *)(-
3362 "-"-
3363 ) == 1) ? __builtin_strcmp (-
3364 f->name-
3365 , -
3366 "-"-
3367 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (-
3368 "-"-
3369 ); int __result = (((const unsigned char *) (const char *) (-
3370 f->name-
3371 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0
3372 f->name-
3373 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0
3374 f->name-
3375 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( f->name ))[3] - __s2[3]);
0
3376 f->name
never executed: __result = (((const unsigned char *) (const char *) ( f->name ))[3] - __s2[3]);
0
3377 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( f->name ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
0
3378 "-"-
3379 ) && ((size_t)(const void *)((-
3380 "-"-
3381 ) + 1) - (size_t)(const void *)(-
3382 "-"-
3383 ) == 1) && (__s2_len = __builtin_strlen (-
3384 "-"-
3385 ), __s2_len < 4) ? (__builtin_constant_p (-
3386 f->name-
3387 ) && ((size_t)(const void *)((-
3388 f->name-
3389 ) + 1) - (size_t)(const void *)(-
3390 f->name-
3391 ) == 1) ? __builtin_strcmp (-
3392 f->name-
3393 , -
3394 "-"-
3395 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (-
3396 f->name-
3397 ); int __result = (((const unsigned char *) (const char *) (-
3398 "-"-
3399 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEevaluated 282 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEevaluated 82 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 200 times by 1 test
Evaluated by:
  • tail
) { __result = (((const unsigned char *) (const char *) (
0-282
3400 "-"-
3401 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEevaluated 82 times by 1 test
Evaluated by:
  • tail
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0-82
3402 "-"-
3403 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
0
3404 "-"
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
0
3405 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
}
never executed: end of block
}
executed 82 times by 1 test: end of block
Executed by:
  • tail
__result; }))) : __builtin_strcmp (
0-82
3406 f->name-
3407 , -
3408 "-"-
3409 )))); }) -
3410 == 0));-
3411-
3412 if (is_stdin
is_stdinDescription
TRUEevaluated 82 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 200 times by 1 test
Evaluated by:
  • tail
)
82-200
3413 {-
3414 have_read_stdin = -
3415 1-
3416 ;-
3417 fd = -
3418 0-
3419 ;-
3420 xset_binary_mode (-
3421 0-
3422 , -
3423 0-
3424 );-
3425 }
executed 82 times by 1 test: end of block
Executed by:
  • tail
82
3426 else-
3427 fd = open_safer (f->name,
executed 200 times by 1 test: fd = open_safer (f->name, 00 | 0 );
Executed by:
  • tail
200
3428 00
executed 200 times by 1 test: fd = open_safer (f->name, 00 | 0 );
Executed by:
  • tail
200
3429 |
executed 200 times by 1 test: fd = open_safer (f->name, 00 | 0 );
Executed by:
  • tail
200
3430 0
executed 200 times by 1 test: fd = open_safer (f->name, 00 | 0 );
Executed by:
  • tail
200
3431 );
executed 200 times by 1 test: fd = open_safer (f->name, 00 | 0 );
Executed by:
  • tail
200
3432-
3433 f->tailable = !(reopen_inaccessible_files
reopen_inaccessible_filesDescription
TRUEevaluated 104 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 178 times by 1 test
Evaluated by:
  • tail
&& fd == -1
fd == -1Description
TRUEevaluated 19 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 85 times by 1 test
Evaluated by:
  • tail
);
19-178
3434-
3435 if (fd == -1
fd == -1Description
TRUEevaluated 37 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 245 times by 1 test
Evaluated by:
  • tail
)
37-245
3436 {-
3437 if (forever
foreverDescription
TRUEevaluated 32 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 5 times by 1 test
Evaluated by:
  • tail
)
5-32
3438 {-
3439 f->fd = -1;-
3440 f->errnum = -
3441 (*__errno_location ())-
3442 ;-
3443 f->ignore = ! reopen_inaccessible_files;-
3444 f->ino = 0;-
3445 f->dev = 0;-
3446 }
executed 32 times by 1 test: end of block
Executed by:
  • tail
32
3447 error (0, -
3448 (*__errno_location ())-
3449 , -
3450 dcgettext (((void *)0), -
3451 "cannot open %s for reading"-
3452 , 5)-
3453 ,-
3454 quotearg_style (shell_escape_always_quoting_style, pretty_name (f)));-
3455 ok = -
3456 0-
3457 ;-
3458 }
executed 37 times by 1 test: end of block
Executed by:
  • tail
37
3459 else-
3460 {-
3461 uintmax_t read_pos;-
3462-
3463 if (print_headers
print_headersDescription
TRUEevaluated 16 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 229 times by 1 test
Evaluated by:
  • tail
)
16-229
3464 write_header (pretty_name (f));
executed 16 times by 1 test: write_header (pretty_name (f));
Executed by:
  • tail
16
3465 ok = tail (pretty_name (f), fd, n_units, &read_pos);-
3466 if (forever
foreverDescription
TRUEevaluated 132 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 113 times by 1 test
Evaluated by:
  • tail
)
113-132
3467 {-
3468 struct stat stats;-
3469-
3470-
3471-
3472-
3473-
3474-
3475-
3476 f->errnum = ok - 1;-
3477 if (fstat (fd, &stats) < 0
fstat (fd, &stats) < 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 131 times by 1 test
Evaluated by:
  • tail
)
1-131
3478 {-
3479 ok = -
3480 0-
3481 ;-
3482 f->errnum = -
3483 (*__errno_location ())-
3484 ;-
3485 error (0, -
3486 (*__errno_location ())-
3487 , -
3488 dcgettext (((void *)0), -
3489 "error reading %s"-
3490 , 5)-
3491 ,-
3492 quotearg_style (shell_escape_always_quoting_style, pretty_name (f)));-
3493 }
executed 1 time by 1 test: end of block
Executed by:
  • tail
1
3494 else if (!(-
3495 ((((
(((( stats.st_... == (0100000))Description
TRUEevaluated 120 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 11 times by 1 test
Evaluated by:
  • tail
11-120
3496 stats.st_mode
(((( stats.st_... == (0100000))Description
TRUEevaluated 120 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 11 times by 1 test
Evaluated by:
  • tail
11-120
3497 )) & 0170000) == (0100000))
(((( stats.st_... == (0100000))Description
TRUEevaluated 120 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 11 times by 1 test
Evaluated by:
  • tail
11-120
3498 || -
3499 ((((
(((( stats.st_... == (0010000))Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 5 times by 1 test
Evaluated by:
  • tail
5-6
3500 stats.st_mode
(((( stats.st_... == (0010000))Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 5 times by 1 test
Evaluated by:
  • tail
5-6
3501 )) & 0170000) == (0010000))
(((( stats.st_... == (0010000))Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 5 times by 1 test
Evaluated by:
  • tail
5-6
3502 || -
3503 ((((
(((( stats.st_... == (0140000))Description
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • tail
0-5
3504 stats.st_mode
(((( stats.st_... == (0140000))Description
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • tail
0-5
3505 )) & 0170000) == (0140000))
(((( stats.st_... == (0140000))Description
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • tail
0-5
3506 || -
3507 ((((
(((( stats.st_... == (0020000))Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
2-3
3508 stats.st_mode
(((( stats.st_... == (0020000))Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
2-3
3509 )) & 0170000) == (0020000))
(((( stats.st_... == (0020000))Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
2-3
3510 ))-
3511 {-
3512 ok = -
3513 0-
3514 ;-
3515 f->errnum = -1;-
3516 f->tailable = -
3517 0-
3518 ;-
3519 f->ignore = ! reopen_inaccessible_files;-
3520 error (0, 0, -
3521 dcgettext (((void *)0), -
3522 "%s: cannot follow end of this type of file%s"-
3523 , 5)-
3524 ,-
3525 quotearg_n_style_colon (0, shell_escape_quoting_style, pretty_name (f)),-
3526 f->ignore ? -
3527 dcgettext (((void *)0), -
3528 "; giving up on this name"-
3529 , 5) -
3530 : "");-
3531 }
executed 2 times by 1 test: end of block
Executed by:
  • tail
2
3532-
3533 if (!ok
!okDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 129 times by 1 test
Evaluated by:
  • tail
)
3-129
3534 {-
3535 f->ignore = ! reopen_inaccessible_files;-
3536 close_fd (fd, pretty_name (f));-
3537 f->fd = -1;-
3538 }
executed 3 times by 1 test: end of block
Executed by:
  • tail
3
3539 else-
3540 {-
3541-
3542-
3543-
3544 record_open_fd (f, fd, read_pos, &stats, (is_stdin ? -1 : 1));-
3545 f->remote = fremote (fd, pretty_name (f));-
3546 }
executed 129 times by 1 test: end of block
Executed by:
  • tail
129
3547 }-
3548 else-
3549 {-
3550 if (!is_stdin
!is_stdinDescription
TRUEevaluated 39 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 74 times by 1 test
Evaluated by:
  • tail
&& close (fd)
close (fd)Description
TRUEnever evaluated
FALSEevaluated 39 times by 1 test
Evaluated by:
  • tail
)
0-74
3551 {-
3552 error (0, -
3553 (*__errno_location ())-
3554 , -
3555 dcgettext (((void *)0), -
3556 "error reading %s"-
3557 , 5)-
3558 ,-
3559 quotearg_style (shell_escape_always_quoting_style, pretty_name (f)));-
3560 ok = -
3561 0-
3562 ;-
3563 }
never executed: end of block
0
3564 }
executed 113 times by 1 test: end of block
Executed by:
  • tail
113
3565 }-
3566-
3567 return
executed 282 times by 1 test: return ok;
Executed by:
  • tail
ok;
executed 282 times by 1 test: return ok;
Executed by:
  • tail
282
3568}-
3569static -
3570 _Bool-
3571-
3572parse_obsolete_option (int argc, char * const *argv, uintmax_t *n_units)-
3573{-
3574 const char *p;-
3575 const char *n_string;-
3576 const char *n_string_end;-
3577 int default_count = 10;-
3578 -
3579 _Bool -
3580 t_from_start;-
3581 -
3582 _Bool -
3583 t_count_lines = -
3584 1-
3585 ;-
3586 -
3587 _Bool -
3588 t_forever = -
3589 0-
3590 ;-
3591-
3592-
3593-
3594 if (! (argc == 2
argc == 2Description
TRUEevaluated 101 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 233 times by 1 test
Evaluated by:
  • tail
101-233
3595 || (argc == 3
argc == 3Description
TRUEevaluated 58 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 175 times by 1 test
Evaluated by:
  • tail
&& ! (argv[2][0] == '-'
argv[2][0] == '-'Description
TRUEevaluated 11 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 47 times by 1 test
Evaluated by:
  • tail
&& argv[2][1]
argv[2][1]Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
))
1-175
3596 || (3 <= argc
3 <= argcDescription
TRUEevaluated 182 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tail
&& argc <= 4
argc <= 4Description
TRUEevaluated 58 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 124 times by 1 test
Evaluated by:
  • tail
&& (
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
3-182
3597 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3598 argv[2]
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3599 ) && __builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3600 "--"
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3601 ) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3602 argv[2]
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3603 ), __s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3604 "--"
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3605 ), (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3606 argv[2]
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3607 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3608 argv[2]
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3609 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3610 "--"
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3611 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3612 "--"
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3613 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3614 argv[2]
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3615 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3616 "--"
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3617 ) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3618 argv[2]
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3619 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3620 argv[2]
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3621 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3622 argv[2]
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3623 ) == 1) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3624 argv[2]
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3625 ), __s1_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3626 "--"
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3627 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3628 "--"
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3629 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3630 "--"
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3631 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3632 argv[2]
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3633 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3634 "--"
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3635 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3636 "--"
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3637 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3638 argv[2]
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3639 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
0-52
3640 argv[2]
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3641 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
0-52
3642 argv[2]
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3643 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( argv[2] ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
0-52
3644 argv[2]
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
never executed: __result = (((const unsigned char *) (const char *) ( argv[2] ))[3] - __s2[3]);
0-52
3645 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
never executed: __result = (((const unsigned char *) (const char *) ( argv[2] ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
0-52
3646 "--"
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3647 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3648 "--"
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3649 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3650 "--"
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3651 ) == 1) && (__s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3652 "--"
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3653 ), __s2_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3654 argv[2]
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3655 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3656 argv[2]
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3657 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3658 argv[2]
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3659 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3660 argv[2]
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3661 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3662 "--"
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3663 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3664 argv[2]
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3665 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3666 "--"
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3667 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEevaluated 58 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEevaluated 50 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tail
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
0-58
3668 "--"
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3669 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEevaluated 50 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEevaluated 28 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 22 times by 1 test
Evaluated by:
  • tail
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
0-52
3670 "--"
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3671 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEevaluated 28 times by 1 test
Evaluated by:
  • tail
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( "--" ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
0-52
3672 "--"
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
never executed: __result = (((const unsigned char *) (const char *) ( "--" ))[3] - __s2[3]);
0-52
3673 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
never executed: __result = (((const unsigned char *) (const char *) ( "--" ))[3] - __s2[3]);
} } __result; }))) : __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
0-52
3674 argv[2]
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3675 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3676 "--"
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3677 )))); })
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
6-52
3678 == 0)
( __extension_...)))); }) == 0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tail
)))
6-52
3679 return
executed 179 times by 1 test: return 0 ;
Executed by:
  • tail
executed 179 times by 1 test: return 0 ;
Executed by:
  • tail
179
3680 0
executed 179 times by 1 test: return 0 ;
Executed by:
  • tail
179
3681 ;
executed 179 times by 1 test: return 0 ;
Executed by:
  • tail
179
3682-
3683 int posix_ver = posix2_version ();-
3684 -
3685 _Bool -
3686 obsolete_usage = posix_ver < 200112;-
3687 -
3688 _Bool -
3689 traditional_usage = obsolete_usage
obsolete_usageDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tail
|| 200809 <= posix_ver
200809 <= posix_verDescription
TRUEevaluated 146 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 5 times by 1 test
Evaluated by:
  • tail
;
4-151
3690 p = argv[1];-
3691-
3692 switch (*p++)-
3693 {-
3694 default
never executed: default:
:
never executed: default:
0
3695 return
never executed: return 0 ;
never executed: return 0 ;
0
3696 0
never executed: return 0 ;
0
3697 ;
never executed: return 0 ;
0
3698-
3699 case
executed 28 times by 1 test: case '+':
Executed by:
  • tail
'+':
executed 28 times by 1 test: case '+':
Executed by:
  • tail
28
3700-
3701 if (!traditional_usage
!traditional_usageDescription
TRUEnever evaluated
FALSEevaluated 28 times by 1 test
Evaluated by:
  • tail
)
0-28
3702 return
never executed: return 0 ;
never executed: return 0 ;
0
3703 0
never executed: return 0 ;
0
3704 ;
never executed: return 0 ;
0
3705-
3706 t_from_start = -
3707 1-
3708 ;-
3709 break;
executed 28 times by 1 test: break;
Executed by:
  • tail
28
3710-
3711 case
executed 127 times by 1 test: case '-':
Executed by:
  • tail
'-':
executed 127 times by 1 test: case '-':
Executed by:
  • tail
127
3712-
3713-
3714-
3715-
3716 if (!obsolete_usage
!obsolete_usageDescription
TRUEevaluated 123 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tail
&& !p[p[0] == 'c']
!p[p[0] == 'c']Description
TRUEevaluated 5 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 118 times by 1 test
Evaluated by:
  • tail
)
4-123
3717 return
executed 5 times by 1 test: return 0 ;
Executed by:
  • tail
executed 5 times by 1 test: return 0 ;
Executed by:
  • tail
5
3718 0
executed 5 times by 1 test: return 0 ;
Executed by:
  • tail
5
3719 ;
executed 5 times by 1 test: return 0 ;
Executed by:
  • tail
5
3720-
3721 t_from_start = -
3722 0-
3723 ;-
3724 break;
executed 122 times by 1 test: break;
Executed by:
  • tail
122
3725 }-
3726-
3727 n_string = p;-
3728 while (((
((unsigned int...p) - '0' <= 9)Description
TRUEevaluated 53 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 150 times by 1 test
Evaluated by:
  • tail
unsigned int) (*p) - '0' <= 9)
((unsigned int...p) - '0' <= 9)Description
TRUEevaluated 53 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 150 times by 1 test
Evaluated by:
  • tail
)
53-150
3729 p++;
executed 53 times by 1 test: p++;
Executed by:
  • tail
53
3730 n_string_end = p;-
3731-
3732 switch (*p)-
3733 {-
3734 case
executed 3 times by 1 test: case 'b':
Executed by:
  • tail
'b':
executed 3 times by 1 test: case 'b':
Executed by:
  • tail
default_count *= 512; ((void) 0);
3
3735 case
executed 40 times by 1 test: case 'c':
Executed by:
  • tail
'c':
executed 40 times by 1 test: case 'c':
Executed by:
  • tail
code before this statement executed 3 times by 1 test: case 'c':
Executed by:
  • tail
t_count_lines =
3-40
3736 0-
3737 ; ((void) 0);-
3738 case
executed 21 times by 1 test: case 'l':
Executed by:
  • tail
'l':
executed 21 times by 1 test: case 'l':
Executed by:
  • tail
code before this statement executed 43 times by 1 test: case 'l':
Executed by:
  • tail
p++; break;
executed 64 times by 1 test: break;
Executed by:
  • tail
21-64
3739 }-
3740-
3741 if (*
*p == 'f'Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 147 times by 1 test
Evaluated by:
  • tail
p == 'f'
*p == 'f'Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 147 times by 1 test
Evaluated by:
  • tail
)
3-147
3742 {-
3743 t_forever = -
3744 1-
3745 ;-
3746 ++p;-
3747 }
executed 3 times by 1 test: end of block
Executed by:
  • tail
3
3748-
3749 if (*
*pDescription
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 64 times by 1 test
Evaluated by:
  • tail
p
*pDescription
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 64 times by 1 test
Evaluated by:
  • tail
)
64-86
3750 return
executed 86 times by 1 test: return 0 ;
Executed by:
  • tail
executed 86 times by 1 test: return 0 ;
Executed by:
  • tail
86
3751 0
executed 86 times by 1 test: return 0 ;
Executed by:
  • tail
86
3752 ;
executed 86 times by 1 test: return 0 ;
Executed by:
  • tail
86
3753-
3754 if (n_string == n_string_end
n_string == n_string_endDescription
TRUEevaluated 19 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 45 times by 1 test
Evaluated by:
  • tail
)
19-45
3755 *
executed 19 times by 1 test: *n_units = default_count;
Executed by:
  • tail
n_units = default_count;
executed 19 times by 1 test: *n_units = default_count;
Executed by:
  • tail
19
3756 else if ((
(xstrtoumax (n... != LONGINT_OKDescription
TRUEnever evaluated
FALSEevaluated 45 times by 1 test
Evaluated by:
  • tail
xstrtoumax (n_string,
(xstrtoumax (n... != LONGINT_OKDescription
TRUEnever evaluated
FALSEevaluated 45 times by 1 test
Evaluated by:
  • tail
0-45
3757 ((void *)0)
(xstrtoumax (n... != LONGINT_OKDescription
TRUEnever evaluated
FALSEevaluated 45 times by 1 test
Evaluated by:
  • tail
0-45
3758 , 10, n_units, "b")
(xstrtoumax (n... != LONGINT_OKDescription
TRUEnever evaluated
FALSEevaluated 45 times by 1 test
Evaluated by:
  • tail
0-45
3759 & ~LONGINT_INVALID_SUFFIX_CHAR)
(xstrtoumax (n... != LONGINT_OKDescription
TRUEnever evaluated
FALSEevaluated 45 times by 1 test
Evaluated by:
  • tail
0-45
3760 != LONGINT_OK
(xstrtoumax (n... != LONGINT_OKDescription
TRUEnever evaluated
FALSEevaluated 45 times by 1 test
Evaluated by:
  • tail
)
0-45
3761 {-
3762 ((!!sizeof (struct { _Static_assert (-
3763 1-
3764 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s: %s\", dcgettext (((void *)0), \"invalid number\", 5), quote (argv[1])), assume (false))" ")"); int _gl_dummy; })) ? ((error (-
3765 1-
3766 , -
3767 (*__errno_location ())-
3768 , "%s: %s", -
3769 dcgettext (((void *)0), -
3770 "invalid number"-
3771 , 5)-
3772 , quote (argv[1])), ((-
3773 0-
3774 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (-
3775 1-
3776 , -
3777 (*__errno_location ())-
3778 , "%s: %s", -
3779 dcgettext (((void *)0), -
3780 "invalid number"-
3781 , 5)-
3782 , quote (argv[1])), ((-
3783 0-
3784 ) ? (void) 0 : __builtin_unreachable ()))))-
3785 ;-
3786 }
never executed: end of block
0
3787-
3788-
3789 from_start = t_from_start;-
3790 count_lines = t_count_lines;-
3791 forever = t_forever;-
3792-
3793 return
executed 64 times by 1 test: return 1 ;
Executed by:
  • tail
executed 64 times by 1 test: return 1 ;
Executed by:
  • tail
64
3794 1
executed 64 times by 1 test: return 1 ;
Executed by:
  • tail
64
3795 ;
executed 64 times by 1 test: return 1 ;
Executed by:
  • tail
64
3796}-
3797-
3798static void-
3799parse_options (int argc, char **argv,-
3800 uintmax_t *n_units, enum header_mode *header_mode,-
3801 double *sleep_interval)-
3802{-
3803 int c;-
3804-
3805 while ((
(c = getopt_lo... *)0) )) != -1Description
TRUEevaluated 578 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 261 times by 1 test
Evaluated by:
  • tail
c = getopt_long (argc, argv, "c:n:fFqs:vz0123456789",
(c = getopt_lo... *)0) )) != -1Description
TRUEevaluated 578 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 261 times by 1 test
Evaluated by:
  • tail
261-578
3806 long_options,
(c = getopt_lo... *)0) )) != -1Description
TRUEevaluated 578 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 261 times by 1 test
Evaluated by:
  • tail
261-578
3807 ((void *)0)
(c = getopt_lo... *)0) )) != -1Description
TRUEevaluated 578 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 261 times by 1 test
Evaluated by:
  • tail
261-578
3808 ))
(c = getopt_lo... *)0) )) != -1Description
TRUEevaluated 578 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 261 times by 1 test
Evaluated by:
  • tail
261-578
3809 != -1
(c = getopt_lo... *)0) )) != -1Description
TRUEevaluated 578 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 261 times by 1 test
Evaluated by:
  • tail
)
261-578
3810 {-
3811 switch (c)-
3812 {-
3813 case
executed 77 times by 1 test: case 'F':
Executed by:
  • tail
'F':
executed 77 times by 1 test: case 'F':
Executed by:
  • tail
77
3814 forever = -
3815 1-
3816 ;-
3817 follow_mode = Follow_name;-
3818 reopen_inaccessible_files = -
3819 1-
3820 ;-
3821 break;
executed 77 times by 1 test: break;
Executed by:
  • tail
77
3822-
3823 case
executed 38 times by 1 test: case 'c':
Executed by:
  • tail
'c':
executed 38 times by 1 test: case 'c':
Executed by:
  • tail
38
3824 case
executed 44 times by 1 test: case 'n':
Executed by:
  • tail
'n':
executed 44 times by 1 test: case 'n':
Executed by:
  • tail
44
3825 count_lines = (c == 'n');-
3826 if (*
*optarg == '+'Description
TRUEevaluated 11 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 71 times by 1 test
Evaluated by:
  • tail
optarg == '+'
*optarg == '+'Description
TRUEevaluated 11 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 71 times by 1 test
Evaluated by:
  • tail
)
11-71
3827 from_start =
executed 11 times by 1 test: from_start = 1 ;
Executed by:
  • tail
11
3828 1
executed 11 times by 1 test: from_start = 1 ;
Executed by:
  • tail
11
3829 ;
executed 11 times by 1 test: from_start = 1 ;
Executed by:
  • tail
11
3830 else if (*
*optarg == '-'Description
TRUEevaluated 20 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 51 times by 1 test
Evaluated by:
  • tail
optarg == '-'
*optarg == '-'Description
TRUEevaluated 20 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 51 times by 1 test
Evaluated by:
  • tail
)
20-51
3831 ++
executed 20 times by 1 test: ++optarg;
Executed by:
  • tail
optarg;
executed 20 times by 1 test: ++optarg;
Executed by:
  • tail
20
3832-
3833 *n_units = xdectoumax (optarg, 0, -
3834 (18446744073709551615UL)-
3835 , "bkKmMGTPEZY0",-
3836 count_lines-
3837 ? -
3838 dcgettext (((void *)0), -
3839 "invalid number of lines"-
3840 , 5)-
3841 -
3842 : -
3843 dcgettext (((void *)0), -
3844 "invalid number of bytes"-
3845 , 5)-
3846 , 0);-
3847 break;
executed 69 times by 1 test: break;
Executed by:
  • tail
69
3848-
3849 case
executed 42 times by 1 test: case 'f':
Executed by:
  • tail
'f':
executed 42 times by 1 test: case 'f':
Executed by:
  • tail
42
3850 case
executed 16 times by 1 test: case LONG_FOLLOW_OPTION:
Executed by:
  • tail
LONG_FOLLOW_OPTION:
executed 16 times by 1 test: case LONG_FOLLOW_OPTION:
Executed by:
  • tail
16
3851 forever = -
3852 1-
3853 ;-
3854 if (optarg ==
optarg == ((void *)0)Description
TRUEevaluated 43 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 15 times by 1 test
Evaluated by:
  • tail
15-43
3855 ((void *)0)
optarg == ((void *)0)Description
TRUEevaluated 43 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 15 times by 1 test
Evaluated by:
  • tail
15-43
3856 )-
3857 follow_mode = Follow_descriptor;
executed 43 times by 1 test: follow_mode = Follow_descriptor;
Executed by:
  • tail
43
3858 else-
3859 follow_mode = ((follow_mode_map) [__xargmatch_internal ("--follow", optarg, follow_mode_string, (char const *) (follow_mode_map), sizeof *(follow_mode_map), argmatch_die)])
executed 15 times by 1 test: follow_mode = ((follow_mode_map) [__xargmatch_internal ("--follow", optarg, follow_mode_string, (char const *) (follow_mode_map), sizeof *(follow_mode_map), argmatch_die)]) ;
Executed by:
  • tail
15
3860 ;
executed 15 times by 1 test: follow_mode = ((follow_mode_map) [__xargmatch_internal ("--follow", optarg, follow_mode_string, (char const *) (follow_mode_map), sizeof *(follow_mode_map), argmatch_die)]) ;
Executed by:
  • tail
15
3861 break;
executed 58 times by 1 test: break;
Executed by:
  • tail
58
3862-
3863 case
executed 9 times by 1 test: case RETRY_OPTION:
Executed by:
  • tail
RETRY_OPTION:
executed 9 times by 1 test: case RETRY_OPTION:
Executed by:
  • tail
9
3864 reopen_inaccessible_files = -
3865 1-
3866 ;-
3867 break;
executed 9 times by 1 test: break;
Executed by:
  • tail
9
3868-
3869 case
executed 109 times by 1 test: case MAX_UNCHANGED_STATS_OPTION:
Executed by:
  • tail
MAX_UNCHANGED_STATS_OPTION:
executed 109 times by 1 test: case MAX_UNCHANGED_STATS_OPTION:
Executed by:
  • tail
109
3870-
3871 max_n_unchanged_stats_between_opens =-
3872 xdectoumax (optarg, 0, -
3873 (18446744073709551615UL)-
3874 , "",-
3875 -
3876 dcgettext (((void *)0), -
3877 "invalid maximum number of unchanged stats between opens"-
3878 , 5)-
3879 , 0);-
3880 break;
executed 108 times by 1 test: break;
Executed by:
  • tail
108
3881-
3882 case
executed 37 times by 1 test: case DISABLE_INOTIFY_OPTION:
Executed by:
  • tail
DISABLE_INOTIFY_OPTION:
executed 37 times by 1 test: case DISABLE_INOTIFY_OPTION:
Executed by:
  • tail
37
3883 disable_inotify = -
3884 1-
3885 ;-
3886 break;
executed 37 times by 1 test: break;
Executed by:
  • tail
37
3887-
3888 case
executed 11 times by 1 test: case PID_OPTION:
Executed by:
  • tail
PID_OPTION:
executed 11 times by 1 test: case PID_OPTION:
Executed by:
  • tail
11
3889 pid = xdectoumax (optarg, 0, ((pid_t) (! (! ((pid_t) 0 < (pid_t) -1)) ? (pid_t) -1 : ((((pid_t) 1 << ((sizeof (pid_t) * 8) - 2)) - 1) * 2 + 1))), "", -
3890 dcgettext (((void *)0), -
3891 "invalid PID"-
3892 , 5)-
3893 , 0);-
3894 break;
executed 10 times by 1 test: break;
Executed by:
  • tail
10
3895-
3896 case
never executed: case PRESUME_INPUT_PIPE_OPTION:
PRESUME_INPUT_PIPE_OPTION:
never executed: case PRESUME_INPUT_PIPE_OPTION:
0
3897 presume_input_pipe = -
3898 1-
3899 ;-
3900 break;
never executed: break;
0
3901-
3902 case
executed 5 times by 1 test: case 'q':
Executed by:
  • tail
'q':
executed 5 times by 1 test: case 'q':
Executed by:
  • tail
5
3903 *header_mode = never;-
3904 break;
executed 5 times by 1 test: break;
Executed by:
  • tail
5
3905-
3906 case
executed 124 times by 1 test: case 's':
Executed by:
  • tail
's':
executed 124 times by 1 test: case 's':
Executed by:
  • tail
124
3907 {-
3908 double s;-
3909 if (! (xstrtod (optarg,
xstrtod (optar... &s, c_strtod)Description
TRUEevaluated 122 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
2-122
3910 ((void *)0)
xstrtod (optar... &s, c_strtod)Description
TRUEevaluated 122 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
2-122
3911 , &s, c_strtod)
xstrtod (optar... &s, c_strtod)Description
TRUEevaluated 122 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
&& 0 <= s
0 <= sDescription
TRUEevaluated 122 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
))
0-122
3912 ((
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid number of seconds: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tail
!!sizeof (struct { _Static_assert (
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid number of seconds: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tail
2
3913 1
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid number of seconds: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tail
2
3914 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid number of seconds: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid number of seconds: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tail
2
3915 1
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid number of seconds: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tail
2
3916 , 0,
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid number of seconds: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tail
2
3917 dcgettext (((void *)0),
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid number of seconds: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tail
2
3918 "invalid number of seconds: %s"
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid number of seconds: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tail
2
3919 , 5)
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid number of seconds: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tail
2
3920 , quote (optarg)), ((
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid number of seconds: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tail
2
3921 0
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid number of seconds: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tail
2
3922 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid number of seconds: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tail
2
3923 1
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid number of seconds: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tail
2
3924 , 0,
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid number of seconds: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tail
2
3925 dcgettext (((void *)0),
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid number of seconds: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tail
2
3926 "invalid number of seconds: %s"
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid number of seconds: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tail
2
3927 , 5)
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid number of seconds: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tail
2
3928 , quote (optarg)), ((
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid number of seconds: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tail
2
3929 0
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid number of seconds: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tail
2
3930 ) ? (void) 0 : __builtin_unreachable ()))))
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid number of seconds: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tail
2
3931 ;
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid number of seconds: %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid number of seconds: %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tail
2
3932 *sleep_interval = s;-
3933 }-
3934 break;
executed 122 times by 1 test: break;
Executed by:
  • tail
122
3935-
3936 case
executed 2 times by 1 test: case 'v':
Executed by:
  • tail
'v':
executed 2 times by 1 test: case 'v':
Executed by:
  • tail
2
3937 *header_mode = always;-
3938 break;
executed 2 times by 1 test: break;
Executed by:
  • tail
2
3939-
3940 case
executed 8 times by 1 test: case 'z':
Executed by:
  • tail
'z':
executed 8 times by 1 test: case 'z':
Executed by:
  • tail
8
3941 line_end = '\0';-
3942 break;
executed 8 times by 1 test: break;
Executed by:
  • tail
8
3943-
3944 case
executed 14 times by 1 test: case GETOPT_HELP_CHAR:
Executed by:
  • tail
GETOPT_HELP_CHAR:
executed 14 times by 1 test: case GETOPT_HELP_CHAR:
Executed by:
  • tail
usage (
14
3945 0-
3946 ); break;
never executed: break;
;
0
3947-
3948 case
executed 36 times by 1 test: case GETOPT_VERSION_CHAR:
Executed by:
  • tail
GETOPT_VERSION_CHAR:
executed 36 times by 1 test: case GETOPT_VERSION_CHAR:
Executed by:
  • tail
version_etc (
36
3949 stdout-
3950 , "tail", "GNU coreutils", Version, ("Paul Rubin"), ("David MacKenzie"), ("Ian Lance Taylor"), ("Jim Meyering"), (char *) -
3951 ((void *)0)-
3952 ); exit (
executed 36 times by 1 test: exit ( 0 );
Executed by:
  • tail
36
3953 0
executed 36 times by 1 test: exit ( 0 );
Executed by:
  • tail
36
3954 );
executed 36 times by 1 test: exit ( 0 );
Executed by:
  • tail
break;
never executed: break;
;
0-36
3955-
3956 case
never executed: case '0':
'0':
never executed: case '0':
case
never executed: case '1':
'1':
never executed: case '1':
case
executed 3 times by 1 test: case '2':
Executed by:
  • tail
'2':
executed 3 times by 1 test: case '2':
Executed by:
  • tail
case
never executed: case '3':
'3':
never executed: case '3':
case
never executed: case '4':
'4':
never executed: case '4':
0-3
3957 case
never executed: case '5':
'5':
never executed: case '5':
case
never executed: case '6':
'6':
never executed: case '6':
case
never executed: case '7':
'7':
never executed: case '7':
case
never executed: case '8':
'8':
never executed: case '8':
case
never executed: case '9':
'9':
never executed: case '9':
0
3958 ((!!sizeof (struct { _Static_assert (-
3959 1-
3960 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"option used in invalid context -- %c\", 5), c), assume (false))" ")"); int _gl_dummy; })) ? ((error (-
3961 1-
3962 , 0, -
3963 dcgettext (((void *)0), -
3964 "option used in invalid context -- %c"-
3965 , 5)-
3966 , c), ((-
3967 0-
3968 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (-
3969 1-
3970 , 0, -
3971 dcgettext (((void *)0), -
3972 "option used in invalid context -- %c"-
3973 , 5)-
3974 , c), ((-
3975 0-
3976 ) ? (void) 0 : __builtin_unreachable ()))));-
3977-
3978 default
executed 3 times by 1 test: default:
Executed by:
  • tail
code before this statement never executed: default:
executed 3 times by 1 test: default:
Executed by:
  • tail
:
code before this statement never executed: default:
executed 3 times by 1 test: default:
Executed by:
  • tail
0-3
3979 usage (-
3980 1-
3981 );-
3982 }
never executed: end of block
0
3983 }-
3984-
3985 if (reopen_inaccessible_files
reopen_inaccessible_filesDescription
TRUEevaluated 84 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 177 times by 1 test
Evaluated by:
  • tail
)
84-177
3986 {-
3987 if (!forever
!foreverDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 82 times by 1 test
Evaluated by:
  • tail
)
2-82
3988 {-
3989 reopen_inaccessible_files = -
3990 0-
3991 ;-
3992 error (0, 0, -
3993 dcgettext (((void *)0), -
3994 "warning: --retry ignored; --retry is useful" " only when following"-
3995 , 5)-
3996 -
3997 );-
3998 }
executed 2 times by 1 test: end of block
Executed by:
  • tail
2
3999 else if (follow_mode == Follow_descriptor
follow_mode ==...low_descriptorDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 78 times by 1 test
Evaluated by:
  • tail
)
4-78
4000 error (0, 0,
executed 4 times by 1 test: error (0, 0, dcgettext (((void *)0), "warning: --retry only effective for the initial open" , 5) );
Executed by:
  • tail
4
4001 dcgettext (((void *)0),
executed 4 times by 1 test: error (0, 0, dcgettext (((void *)0), "warning: --retry only effective for the initial open" , 5) );
Executed by:
  • tail
4
4002 "warning: --retry only effective for the initial open"
executed 4 times by 1 test: error (0, 0, dcgettext (((void *)0), "warning: --retry only effective for the initial open" , 5) );
Executed by:
  • tail
4
4003 , 5)
executed 4 times by 1 test: error (0, 0, dcgettext (((void *)0), "warning: --retry only effective for the initial open" , 5) );
Executed by:
  • tail
4
4004 );
executed 4 times by 1 test: error (0, 0, dcgettext (((void *)0), "warning: --retry only effective for the initial open" , 5) );
Executed by:
  • tail
4
4005 }
executed 84 times by 1 test: end of block
Executed by:
  • tail
84
4006-
4007 if (pid
pidDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 251 times by 1 test
Evaluated by:
  • tail
&& !forever
!foreverDescription
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • tail
)
0-251
4008 error (0, 0,
never executed: error (0, 0, dcgettext (((void *)0), "warning: PID ignored; --pid=PID is useful only when following" , 5) );
0
4009
never executed: error (0, 0, dcgettext (((void *)0), "warning: PID ignored; --pid=PID is useful only when following" , 5) );
0
4010 dcgettext (((void *)0),
never executed: error (0, 0, dcgettext (((void *)0), "warning: PID ignored; --pid=PID is useful only when following" , 5) );
0
4011 "warning: PID ignored; --pid=PID is useful only when following"
never executed: error (0, 0, dcgettext (((void *)0), "warning: PID ignored; --pid=PID is useful only when following" , 5) );
0
4012 , 5)
never executed: error (0, 0, dcgettext (((void *)0), "warning: PID ignored; --pid=PID is useful only when following" , 5) );
0
4013 );
never executed: error (0, 0, dcgettext (((void *)0), "warning: PID ignored; --pid=PID is useful only when following" , 5) );
0
4014 else if (pid
pidDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 251 times by 1 test
Evaluated by:
  • tail
&& kill (pid, 0) != 0
kill (pid, 0) != 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tail
&&
4-251
4015 (*
(*__errno_location ()) == 38Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tail
__errno_location ())
(*__errno_location ()) == 38Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tail
0-4
4016 ==
(*__errno_location ()) == 38Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tail
0-4
4017 38
(*__errno_location ()) == 38Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tail
0-4
4018 )-
4019 {-
4020 error (0, 0, -
4021 dcgettext (((void *)0), -
4022 "warning: --pid=PID is not supported on this system"-
4023 , 5)-
4024 );-
4025 pid = 0;-
4026 }
never executed: end of block
0
4027}
executed 261 times by 1 test: end of block
Executed by:
  • tail
261
4028-
4029-
4030-
4031static size_t-
4032ignore_fifo_and_pipe (struct File_spec *f, size_t n_files)-
4033{-
4034-
4035-
4036-
4037-
4038 size_t n_viable = 0;-
4039-
4040 for (size_t i = 0; i < n_files
i < n_filesDescription
TRUEevaluated 164 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 135 times by 1 test
Evaluated by:
  • tail
; i++)
135-164
4041 {-
4042 -
4043 _Bool -
4044 is_a_fifo_or_pipe =-
4045 ((
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4046 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4047 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4048 ) && __builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4049 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4050 ) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4051 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4052 ), __s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4053 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4054 ), (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4055 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4056 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4057 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4058 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4059 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4060 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4061 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4062 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4063 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4064 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4065 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4066 ) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4067 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4068 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4069 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4070 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4071 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4072 ) == 1) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4073 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4074 ), __s1_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4075 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4076 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4077 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4078 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4079 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4080 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4081 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4082 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4083 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4084 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4085 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4086 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4087 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4088 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
0-156
4089 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4090 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
0-156
4091 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4092 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( f[i].name ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
0-156
4093 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
never executed: __result = (((const unsigned char *) (const char *) ( f[i].name ))[3] - __s2[3]);
0-156
4094 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
never executed: __result = (((const unsigned char *) (const char *) ( f[i].name ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
0-156
4095 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4096 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4097 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4098 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4099 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4100 ) == 1) && (__s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4101 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4102 ), __s2_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4103 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4104 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4105 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4106 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4107 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4108 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4109 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4110 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4111 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4112 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4113 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4114 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4115 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4116 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEevaluated 164 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
0-164
4117 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4118 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tail
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
0-156
4119 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4120 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
0-156
4121 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
0-156
4122 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
}
never executed: end of block
} __result; }))) : __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
0-156
4123 f[i].name
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4124 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4125 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4126 )))); })
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4127 == 0)
( __extension_...)))); }) == 0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 156 times by 1 test
Evaluated by:
  • tail
8-156
4128 && !f[i].ignore
!f[i].ignoreDescription
TRUEevaluated 7 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
1-7
4129 && 0 <= f[i].fd
0 <= f[i].fdDescription
TRUEevaluated 7 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-7
4130 && (-
4131 ((((
(((( f[i].mode... == (0010000))Description
TRUEevaluated 5 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
2-5
4132 f[i].mode
(((( f[i].mode... == (0010000))Description
TRUEevaluated 5 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
2-5
4133 )) & 0170000) == (0010000))
(((( f[i].mode... == (0010000))Description
TRUEevaluated 5 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
2-5
4134 -
4135 || (1 != 1
1 != 1Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
&& isapipe (f[i].fd)
isapipe (f[i].fd)Description
TRUEnever evaluated
FALSEnever evaluated
)));
0-2
4136 if (is_a_fifo_or_pipe
is_a_fifo_or_pipeDescription
TRUEevaluated 5 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 159 times by 1 test
Evaluated by:
  • tail
)
5-159
4137 {-
4138 f[i].fd = -1;-
4139 f[i].ignore = -
4140 1-
4141 ;-
4142 }
executed 5 times by 1 test: end of block
Executed by:
  • tail
5
4143 else-
4144 ++
executed 159 times by 1 test: ++n_viable;
Executed by:
  • tail
n_viable;
executed 159 times by 1 test: ++n_viable;
Executed by:
  • tail
159
4145 }-
4146-
4147 return
executed 135 times by 1 test: return n_viable;
Executed by:
  • tail
n_viable;
executed 135 times by 1 test: return n_viable;
Executed by:
  • tail
135
4148}-
4149-
4150int-
4151main (int argc, char **argv)-
4152{-
4153 enum header_mode header_mode = multiple_files;-
4154 -
4155 _Bool -
4156 ok = -
4157 1-
4158 ;-
4159-
4160-
4161-
4162 uintmax_t n_units = 10;-
4163 size_t n_files;-
4164 char **file;-
4165 struct File_spec *F;-
4166 size_t i;-
4167 -
4168 _Bool -
4169 obsolete_option;-
4170-
4171-
4172-
4173-
4174 double sleep_interval = 1.0;-
4175-
4176 ;-
4177 set_program_name (argv[0]);-
4178 setlocale (-
4179 6-
4180 , "");-
4181 bindtextdomain ("coreutils", "/usr/local/share/locale");-
4182 textdomain ("coreutils");-
4183-
4184 atexit (close_stdout);-
4185-
4186 have_read_stdin = -
4187 0-
4188 ;-
4189-
4190 count_lines = -
4191 1-
4192 ;-
4193 forever = from_start = print_headers = -
4194 0-
4195 ;-
4196 line_end = '\n';-
4197 obsolete_option = parse_obsolete_option (argc, argv, &n_units);-
4198 argc -= obsolete_option;-
4199 argv += obsolete_option;-
4200 parse_options (argc, argv, &n_units, &header_mode, &sleep_interval);-
4201-
4202-
4203-
4204-
4205 if (from_start
from_startDescription
TRUEevaluated 35 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 226 times by 1 test
Evaluated by:
  • tail
)
35-226
4206 {-
4207 if (n_units
n_unitsDescription
TRUEevaluated 32 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tail
)
3-32
4208 --
executed 32 times by 1 test: --n_units;
Executed by:
  • tail
n_units;
executed 32 times by 1 test: --n_units;
Executed by:
  • tail
32
4209 }
executed 35 times by 1 test: end of block
Executed by:
  • tail
35
4210-
4211 ;-
4212-
4213 if (optind < argc
optind < argcDescription
TRUEevaluated 178 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 83 times by 1 test
Evaluated by:
  • tail
)
83-178
4214 {-
4215 n_files = argc - optind;-
4216 file = argv + optind;-
4217 }
executed 178 times by 1 test: end of block
Executed by:
  • tail
178
4218 else-
4219 {-
4220 static char *dummy_stdin = (char *) "-";-
4221 n_files = 1;-
4222 file = &dummy_stdin;-
4223 }
executed 83 times by 1 test: end of block
Executed by:
  • tail
83
4224-
4225 {-
4226 -
4227 _Bool -
4228 found_hyphen = -
4229 0-
4230 ;-
4231-
4232 for (i = 0; i < n_files
i < n_filesDescription
TRUEevaluated 290 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 261 times by 1 test
Evaluated by:
  • tail
; i++)
261-290
4233 if ((
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4234 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4235 file[i]
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4236 ) && __builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4237 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4238 ) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4239 file[i]
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4240 ), __s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4241 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4242 ), (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4243 file[i]
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4244 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4245 file[i]
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4246 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4247 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4248 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4249 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4250 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4251 file[i]
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4252 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4253 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4254 ) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4255 file[i]
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4256 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4257 file[i]
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4258 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4259 file[i]
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4260 ) == 1) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4261 file[i]
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4262 ), __s1_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4263 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4264 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4265 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4266 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4267 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4268 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4269 file[i]
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4270 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4271 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4272 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4273 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4274 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4275 file[i]
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4276 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
0-204
4277 file[i]
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4278 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
0-204
4279 file[i]
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4280 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( file[i] ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
0-204
4281 file[i]
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
never executed: __result = (((const unsigned char *) (const char *) ( file[i] ))[3] - __s2[3]);
0-204
4282 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
never executed: __result = (((const unsigned char *) (const char *) ( file[i] ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
0-204
4283 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4284 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4285 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4286 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4287 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4288 ) == 1) && (__s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4289 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4290 ), __s2_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4291 file[i]
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4292 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4293 file[i]
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4294 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4295 file[i]
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4296 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4297 file[i]
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4298 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4299 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4300 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4301 file[i]
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4302 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4303 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4304 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEevaluated 290 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
0-290
4305 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4306 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEevaluated 86 times by 1 test
Evaluated by:
  • tail
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
0-204
4307 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4308 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
0-204
4309 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
0-204
4310 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
}
never executed: end of block
} __result; }))) : __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
0-204
4311 file[i]
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4312 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4313 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4314 )))); })
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
86-204
4315 == 0)
( __extension_...)))); }) == 0)Description
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tail
)
86-204
4316 found_hyphen =
executed 86 times by 1 test: found_hyphen = 1 ;
Executed by:
  • tail
86
4317 1
executed 86 times by 1 test: found_hyphen = 1 ;
Executed by:
  • tail
86
4318 ;
executed 86 times by 1 test: found_hyphen = 1 ;
Executed by:
  • tail
86
4319-
4320-
4321 if (found_hyphen
found_hyphenDescription
TRUEevaluated 86 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 175 times by 1 test
Evaluated by:
  • tail
&& follow_mode == Follow_name
follow_mode == Follow_nameDescription
TRUEnever evaluated
FALSEevaluated 86 times by 1 test
Evaluated by:
  • tail
)
0-175
4322 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot follow %s by name\", 5), quotearg_style (shell_escape_always_quoting_style, \"-\")), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1..._quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot follow %s by name" , 5) , quotearg_style (shell_escape_always_quoting_style, "-")), (( 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 follow %s by name\", 5), quotearg_style (shell_escape_always_quoting_style, \"-\")), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1..._quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot follow %s by name" , 5) , quotearg_style (shell_escape_always_quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4323 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot follow %s by name\", 5), quotearg_style (shell_escape_always_quoting_style, \"-\")), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1..._quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot follow %s by name" , 5) , quotearg_style (shell_escape_always_quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4324 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot follow %s by name\", 5), quotearg_style (shell_escape_always_quoting_style, \"-\")), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot follow %s by name\", 5), quotearg_style (shell_escape_always_quoting_style, \"-\")), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1..._quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot follow %s by name" , 5) , quotearg_style (shell_escape_always_quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4325 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot follow %s by name\", 5), quotearg_style (shell_escape_always_quoting_style, \"-\")), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1..._quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot follow %s by name" , 5) , quotearg_style (shell_escape_always_quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4326 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot follow %s by name\", 5), quotearg_style (shell_escape_always_quoting_style, \"-\")), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1..._quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot follow %s by name" , 5) , quotearg_style (shell_escape_always_quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4327 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot follow %s by name\", 5), quotearg_style (shell_escape_always_quoting_style, \"-\")), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1..._quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot follow %s by name" , 5) , quotearg_style (shell_escape_always_quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4328 "cannot follow %s by name"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot follow %s by name\", 5), quotearg_style (shell_escape_always_quoting_style, \"-\")), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1..._quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot follow %s by name" , 5) , quotearg_style (shell_escape_always_quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4329 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot follow %s by name\", 5), quotearg_style (shell_escape_always_quoting_style, \"-\")), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1..._quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot follow %s by name" , 5) , quotearg_style (shell_escape_always_quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4330 , quotearg_style (shell_escape_always_quoting_style, "-")), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot follow %s by name\", 5), quotearg_style (shell_escape_always_quoting_style, \"-\")), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1..._quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot follow %s by name" , 5) , quotearg_style (shell_escape_always_quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4331 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot follow %s by name\", 5), quotearg_style (shell_escape_always_quoting_style, \"-\")), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1..._quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot follow %s by name" , 5) , quotearg_style (shell_escape_always_quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4332 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot follow %s by name\", 5), quotearg_style (shell_escape_always_quoting_style, \"-\")), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1..._quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot follow %s by name" , 5) , quotearg_style (shell_escape_always_quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4333 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot follow %s by name\", 5), quotearg_style (shell_escape_always_quoting_style, \"-\")), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1..._quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot follow %s by name" , 5) , quotearg_style (shell_escape_always_quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4334 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot follow %s by name\", 5), quotearg_style (shell_escape_always_quoting_style, \"-\")), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1..._quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot follow %s by name" , 5) , quotearg_style (shell_escape_always_quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4335 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot follow %s by name\", 5), quotearg_style (shell_escape_always_quoting_style, \"-\")), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1..._quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot follow %s by name" , 5) , quotearg_style (shell_escape_always_quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4336 "cannot follow %s by name"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot follow %s by name\", 5), quotearg_style (shell_escape_always_quoting_style, \"-\")), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1..._quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot follow %s by name" , 5) , quotearg_style (shell_escape_always_quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4337 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot follow %s by name\", 5), quotearg_style (shell_escape_always_quoting_style, \"-\")), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1..._quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot follow %s by name" , 5) , quotearg_style (shell_escape_always_quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4338 , quotearg_style (shell_escape_always_quoting_style, "-")), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot follow %s by name\", 5), quotearg_style (shell_escape_always_quoting_style, \"-\")), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1..._quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot follow %s by name" , 5) , quotearg_style (shell_escape_always_quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4339 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot follow %s by name\", 5), quotearg_style (shell_escape_always_quoting_style, \"-\")), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1..._quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot follow %s by name" , 5) , quotearg_style (shell_escape_always_quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4340 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot follow %s by name\", 5), quotearg_style (shell_escape_always_quoting_style, \"-\")), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1..._quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot follow %s by name" , 5) , quotearg_style (shell_escape_always_quoting_style, "-")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4341-
4342-
4343-
4344-
4345-
4346 if (forever
foreverDescription
TRUEevaluated 135 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 126 times by 1 test
Evaluated by:
  • tail
&& found_hyphen
found_hyphenDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 127 times by 1 test
Evaluated by:
  • tail
)
8-135
4347 {-
4348 struct stat in_stat;-
4349 -
4350 _Bool -
4351 blocking_stdin;-
4352 blocking_stdin = (pid == 0
pid == 0Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
&& follow_mode == Follow_descriptor
follow_mode ==...low_descriptorDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
0-8
4353 && n_files == 1
n_files == 1Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
&& ! fstat (
! fstat ( 0 , &in_stat)Description
TRUEevaluated 5 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
1-6
4354 0
! fstat ( 0 , &in_stat)Description
TRUEevaluated 5 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
1-5
4355 , &in_stat)
! fstat ( 0 , &in_stat)Description
TRUEevaluated 5 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
1-5
4356 && !
! (((( in_stat... == (0100000))Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
2-3
4357 ((((
! (((( in_stat... == (0100000))Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
2-3
4358 in_stat.st_mode
! (((( in_stat... == (0100000))Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
2-3
4359 )) & 0170000) == (0100000))
! (((( in_stat... == (0100000))Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
2-3
4360 );-
4361-
4362 if (! blocking_stdin
! blocking_stdinDescription
TRUEevaluated 5 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tail
&& isatty (
isatty ( 0 )Description
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • tail
0-5
4363 0
isatty ( 0 )Description
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • tail
0-5
4364 )
isatty ( 0 )Description
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • tail
)
0-5
4365 error (0, 0,
never executed: error (0, 0, dcgettext (((void *)0), "warning: following standard input" " indefinitely is ineffective" , 5) );
0
4366 dcgettext (((void *)0),
never executed: error (0, 0, dcgettext (((void *)0), "warning: following standard input" " indefinitely is ineffective" , 5) );
0
4367 "warning: following standard input" " indefinitely is ineffective"
never executed: error (0, 0, dcgettext (((void *)0), "warning: following standard input" " indefinitely is ineffective" , 5) );
0
4368 , 5)
never executed: error (0, 0, dcgettext (((void *)0), "warning: following standard input" " indefinitely is ineffective" , 5) );
0
4369
never executed: error (0, 0, dcgettext (((void *)0), "warning: following standard input" " indefinitely is ineffective" , 5) );
0
4370 );
never executed: error (0, 0, dcgettext (((void *)0), "warning: following standard input" " indefinitely is ineffective" , 5) );
0
4371 }
executed 8 times by 1 test: end of block
Executed by:
  • tail
8
4372 }-
4373-
4374-
4375 if (! n_units
! n_unitsDescription
TRUEevaluated 28 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 233 times by 1 test
Evaluated by:
  • tail
&& ! forever
! foreverDescription
TRUEevaluated 20 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tail
&& ! from_start
! from_startDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tail
)
8-233
4376 return
executed 8 times by 1 test: return 0 ;
Executed by:
  • tail
executed 8 times by 1 test: return 0 ;
Executed by:
  • tail
8
4377 0
executed 8 times by 1 test: return 0 ;
Executed by:
  • tail
8
4378 ;
executed 8 times by 1 test: return 0 ;
Executed by:
  • tail
8
4379-
4380 F = xnmalloc (n_files, sizeof *F);-
4381 for (i = 0; i < n_files
i < n_filesDescription
TRUEevaluated 282 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 253 times by 1 test
Evaluated by:
  • tail
; i++)
253-282
4382 F[i].name = file[i];
executed 282 times by 1 test: F[i].name = file[i];
Executed by:
  • tail
282
4383-
4384 if (header_mode == always
header_mode == alwaysDescription
TRUEnever evaluated
FALSEevaluated 253 times by 1 test
Evaluated by:
  • tail
0-253
4385 || (header_mode == multiple_files
header_mode == multiple_filesDescription
TRUEevaluated 251 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tail
&& n_files > 1
n_files > 1Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 238 times by 1 test
Evaluated by:
  • tail
))
2-251
4386 print_headers =
executed 13 times by 1 test: print_headers = 1 ;
Executed by:
  • tail
13
4387 1
executed 13 times by 1 test: print_headers = 1 ;
Executed by:
  • tail
13
4388 ;
executed 13 times by 1 test: print_headers = 1 ;
Executed by:
  • tail
13
4389-
4390 xset_binary_mode (-
4391 1-
4392 , -
4393 0-
4394 );-
4395-
4396 for (i = 0; i < n_files
i < n_filesDescription
TRUEevaluated 282 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 253 times by 1 test
Evaluated by:
  • tail
; i++)
253-282
4397 ok &= tail_file (&F[i], n_units);
executed 282 times by 1 test: ok &= tail_file (&F[i], n_units);
Executed by:
  • tail
282
4398-
4399 if (forever
foreverDescription
TRUEevaluated 135 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 118 times by 1 test
Evaluated by:
  • tail
&& ignore_fifo_and_pipe (F, n_files)
ignore_fifo_an...e (F, n_files)Description
TRUEevaluated 132 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tail
)
3-135
4400 {-
4401-
4402-
4403-
4404 struct stat out_stat;-
4405 if (fstat (
fstat ( 1 , &out_stat) < 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 130 times by 1 test
Evaluated by:
  • tail
2-130
4406 1
fstat ( 1 , &out_stat) < 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 130 times by 1 test
Evaluated by:
  • tail
2-130
4407 , &out_stat) < 0
fstat ( 1 , &out_stat) < 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 130 times by 1 test
Evaluated by:
  • tail
)
2-130
4408 ((
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
!!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), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
2
4409 1
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
2
4410 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), 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), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
2
4411 1
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
2
4412 ,
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
2
4413 (*__errno_location ())
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
2
4414 ,
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
2
4415 dcgettext (((void *)0),
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
2
4416 "standard output"
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
2
4417 , 5)
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
2
4418 ), ((
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
2
4419 0
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
2
4420 ) ? (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), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
2
4421 1
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
2
4422 ,
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
2
4423 (*__errno_location ())
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
2
4424 ,
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
2
4425 dcgettext (((void *)0),
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
2
4426 "standard output"
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
2
4427 , 5)
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
2
4428 ), ((
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
2
4429 0
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
2
4430 ) ? (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), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
2
4431 monitor_output = (-
4432 ((((
(((( out_stat.... == (0010000))Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 128 times by 1 test
Evaluated by:
  • tail
2-128
4433 out_stat.st_mode
(((( out_stat.... == (0010000))Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 128 times by 1 test
Evaluated by:
  • tail
2-128
4434 )) & 0170000) == (0010000))
(((( out_stat.... == (0010000))Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 128 times by 1 test
Evaluated by:
  • tail
2-128
4435 -
4436 || (1 != 1
1 != 1Description
TRUEnever evaluated
FALSEevaluated 128 times by 1 test
Evaluated by:
  • tail
&& isapipe (
isapipe ( 1 )Description
TRUEnever evaluated
FALSEnever evaluated
0-128
4437 1
isapipe ( 1 )Description
TRUEnever evaluated
FALSEnever evaluated
0
4438 )
isapipe ( 1 )Description
TRUEnever evaluated
FALSEnever evaluated
));
0
4439 if (!disable_inotify
!disable_inotifyDescription
TRUEevaluated 95 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 35 times by 1 test
Evaluated by:
  • tail
&& (tailable_stdin (F, n_files)
tailable_stdin (F, n_files)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 94 times by 1 test
Evaluated by:
  • tail
1-95
4440 || any_remote_file (F, n_files)
any_remote_file (F, n_files)Description
TRUEnever evaluated
FALSEevaluated 94 times by 1 test
Evaluated by:
  • tail
0-94
4441 || ! any_non_remote_file (F, n_files)
! any_non_remo...e (F, n_files)Description
TRUEevaluated 16 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 78 times by 1 test
Evaluated by:
  • tail
16-78
4442 || any_symlinks (F, n_files)
any_symlinks (F, n_files)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 77 times by 1 test
Evaluated by:
  • tail
1-77
4443 || any_non_regular_fifo (F, n_files)
any_non_regula...o (F, n_files)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 76 times by 1 test
Evaluated by:
  • tail
1-76
4444 || (!ok
!okDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 74 times by 1 test
Evaluated by:
  • tail
&& follow_mode == Follow_descriptor
follow_mode ==...low_descriptorDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
)))
1-74
4445 disable_inotify =
executed 20 times by 1 test: disable_inotify = 1 ;
Executed by:
  • tail
20
4446 1
executed 20 times by 1 test: disable_inotify = 1 ;
Executed by:
  • tail
20
4447 ;
executed 20 times by 1 test: disable_inotify = 1 ;
Executed by:
  • tail
20
4448-
4449 if (!disable_inotify
!disable_inotifyDescription
TRUEevaluated 75 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 55 times by 1 test
Evaluated by:
  • tail
)
55-75
4450 {-
4451 int wd = inotify_init ();-
4452 if (0 <= wd
0 <= wdDescription
TRUEevaluated 75 times by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-75
4453 {-
4454-
4455-
4456-
4457 if (fflush_unlocked (
fflush_unlocke... stdout ) != 0Description
TRUEnever evaluated
FALSEevaluated 75 times by 1 test
Evaluated by:
  • tail
0-75
4458 stdout
fflush_unlocke... stdout ) != 0Description
TRUEnever evaluated
FALSEevaluated 75 times by 1 test
Evaluated by:
  • tail
0-75
4459 ) != 0
fflush_unlocke... stdout ) != 0Description
TRUEnever evaluated
FALSEevaluated 75 times by 1 test
Evaluated by:
  • tail
)
0-75
4460 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4461 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4462 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4463 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4464 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4465 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4466 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4467 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4468 "write error"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4469 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4470 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4471 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4472 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4473 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4474 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4475 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4476 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4477 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4478 "write error"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4479 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4480 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4481 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4482 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
4483-
4484 if (! tail_forever_inotify (wd, F, n_files, sleep_interval)
! tail_forever...leep_interval)Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
)
0-1
4485 return
never executed: return 1 ;
never executed: return 1 ;
0
4486 1
never executed: return 1 ;
0
4487 ;
never executed: return 1 ;
0
4488 }
executed 1 time by 1 test: end of block
Executed by:
  • tail
1
4489 error (0, -
4490 (*__errno_location ())-
4491 , -
4492 dcgettext (((void *)0), -
4493 "inotify cannot be used, reverting to polling"-
4494 , 5)-
4495 );-
4496-
4497-
4498-
4499-
4500 for (i = 0; i < n_files
i < n_filesDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tail
; i++)
1
4501 {-
4502-
4503-
4504 if (F[i].wd != -1
F[i].wd != -1Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-1
4505 inotify_rm_watch (wd, F[i].wd);
executed 1 time by 1 test: inotify_rm_watch (wd, F[i].wd);
Executed by:
  • tail
1
4506 if (F[i].parent_wd != -1
F[i].parent_wd != -1Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEnever evaluated
)
0-1
4507 inotify_rm_watch (wd, F[i].parent_wd);
executed 1 time by 1 test: inotify_rm_watch (wd, F[i].parent_wd);
Executed by:
  • tail
1
4508 }
executed 1 time by 1 test: end of block
Executed by:
  • tail
1
4509 }
executed 1 time by 1 test: end of block
Executed by:
  • tail
1
4510-
4511 disable_inotify = -
4512 1-
4513 ;-
4514 tail_forever (F, n_files, sleep_interval);-
4515 }
executed 17 times by 1 test: end of block
Executed by:
  • tail
17
4516-
4517 ;-
4518-
4519 if (have_read_stdin
have_read_stdinDescription
TRUEevaluated 80 times by 1 test
Evaluated by:
  • tail
FALSEevaluated 58 times by 1 test
Evaluated by:
  • tail
&& close (
close ( 0 ) < 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 79 times by 1 test
Evaluated by:
  • tail
1-80
4520 0
close ( 0 ) < 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 79 times by 1 test
Evaluated by:
  • tail
1-79
4521 ) < 0
close ( 0 ) < 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tail
FALSEevaluated 79 times by 1 test
Evaluated by:
  • tail
)
1-79
4522 ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
!!sizeof (struct { _Static_assert (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
1
4523 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
1
4524 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
1
4525 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
1
4526 ,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
1
4527 (*__errno_location ())
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
1
4528 , "-"), ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
1
4529 0
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
1
4530 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
1
4531 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
1
4532 ,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
1
4533 (*__errno_location ())
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
1
4534 , "-"), ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
1
4535 0
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
1
4536 ) ? (void) 0 : __builtin_unreachable ()))));
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • tail
1
4537 return
executed 137 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • tail
ok ?
executed 137 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • tail
137
4538 0
executed 137 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • tail
137
4539 :
executed 137 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • tail
137
4540 1
executed 137 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • tail
137
4541 ;
executed 137 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • tail
137
4542}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.1.2