OpenCoverage

pwd.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/pwd.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8-
9struct file_name-
10{-
11 char *buf;-
12 size_t n_alloc;-
13 char *start;-
14};-
15-
16static struct option const longopts[] =-
17{-
18 {"logical", -
19 0-
20 , -
21 ((void *)0)-
22 , 'L'},-
23 {"physical", -
24 0-
25 , -
26 ((void *)0)-
27 , 'P'},-
28 {"help", -
29 0-
30 , -
31 ((void *)0)-
32 , GETOPT_HELP_CHAR},-
33 {"version", -
34 0-
35 , -
36 ((void *)0)-
37 , GETOPT_VERSION_CHAR},-
38 {-
39 ((void *)0)-
40 , 0, -
41 ((void *)0)-
42 , 0}-
43};-
44-
45void-
46usage (int status)-
47{-
48 if (status !=
status != 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pwd
FALSEevaluated 2 times by 1 test
Evaluated by:
  • pwd
1-2
49 0
status != 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pwd
FALSEevaluated 2 times by 1 test
Evaluated by:
  • pwd
1-2
50 )-
51 do { fprintf (-
52 stderr-
53 , -
54 dcgettext (((void *)0), -
55 "Try '%s --help' for more information.\n"-
56 , 5)-
57 , program_name); }
executed 1 time by 1 test: end of block
Executed by:
  • pwd
while (0);
1
58 else-
59 {-
60 printf (-
61 dcgettext (((void *)0), -
62 "Usage: %s [OPTION]...\n"-
63 , 5)-
64 , program_name);-
65 fputs_unlocked (-
66 dcgettext (((void *)0), -
67 "Print the full filename of the current working directory.\n\n"-
68 , 5)-
69 ,-
70 stdout-
71 )-
72-
73-
74 ;-
75 fputs_unlocked (-
76 dcgettext (((void *)0), -
77 " -L, --logical use PWD from environment, even if it contains symlinks\n -P, --physical avoid all symlinks\n"-
78 , 5)-
79 ,-
80 stdout-
81 )-
82-
83-
84 ;-
85 fputs_unlocked (-
86 dcgettext (((void *)0), -
87 " --help display this help and exit\n"-
88 , 5)-
89 ,-
90 stdout-
91 );-
92 fputs_unlocked (-
93 dcgettext (((void *)0), -
94 " --version output version information and exit\n"-
95 , 5)-
96 ,-
97 stdout-
98 );-
99 fputs_unlocked (-
100 dcgettext (((void *)0), -
101 "\nIf no option is specified, -P is assumed.\n"-
102 , 5)-
103 ,-
104 stdout-
105 )-
106-
107 ;-
108 printf (-
109 dcgettext (((void *)0), -
110 "\n" "NOTE: your shell may have its own version of %s, which usually supersedes\n" "the version described here. Please refer to your shell's documentation\n" "for details about the options it supports.\n"-
111 , 5)-
112 , "pwd");-
113 emit_ancillary_info ("pwd");-
114 }
executed 2 times by 1 test: end of block
Executed by:
  • pwd
2
115 exit (status);
executed 3 times by 1 test: exit (status);
Executed by:
  • pwd
3
116}-
117-
118static void-
119file_name_free (struct file_name *p)-
120{-
121 free (p->buf);-
122 free (p);-
123}
never executed: end of block
0
124-
125static struct file_name *-
126file_name_init (void)-
127{-
128 struct file_name *p = xmalloc (sizeof *p);-
129-
130-
131-
132 p->n_alloc = -
133 (((
(( 2 * 4096)<( 32 * 1024 ))Description
TRUEnever evaluated
FALSEnever evaluated
0
134 2 *
(( 2 * 4096)<( 32 * 1024 ))Description
TRUEnever evaluated
FALSEnever evaluated
0
135 4096)<(
(( 2 * 4096)<( 32 * 1024 ))Description
TRUEnever evaluated
FALSEnever evaluated
0
136 32 * 1024
(( 2 * 4096)<( 32 * 1024 ))Description
TRUEnever evaluated
FALSEnever evaluated
0
137 ))
(( 2 * 4096)<( 32 * 1024 ))Description
TRUEnever evaluated
FALSEnever evaluated
?(
0
138 2 * -
139 4096):(-
140 32 * 1024-
141 ))-
142 ;-
143-
144 p->buf = xmalloc (p->n_alloc);-
145 p->start = p->buf + (p->n_alloc - 1);-
146 p->start[0] = '\0';-
147 return
never executed: return p;
p;
never executed: return p;
0
148}-
149-
150-
151static void-
152file_name_prepend (struct file_name *p, char const *s, size_t s_len)-
153{-
154 size_t n_free = p->start - p->buf;-
155 if (n_free < 1 + s_len
n_free < 1 + s_lenDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
156 {-
157 size_t half = p->n_alloc + 1 + s_len;-
158-
159-
160-
161-
162 char *q = xnmalloc (2, half);-
163 size_t n_used = p->n_alloc - n_free;-
164 p->start = q + 2 * half - n_used;-
165 memcpy (p->start, p->buf + n_free, n_used);-
166 free (p->buf);-
167 p->buf = q;-
168 p->n_alloc = 2 * half;-
169 }
never executed: end of block
0
170-
171 p->start -= 1 + s_len;-
172 p->start[0] = '/';-
173 memcpy (p->start + 1, s, s_len);-
174}
never executed: end of block
0
175-
176-
177static char *-
178nth_parent (size_t n)-
179{-
180 char *buf = xnmalloc (3, n);-
181 char *p = buf;-
182-
183 for (size_t i = 0; i < n
i < nDescription
TRUEnever evaluated
FALSEnever evaluated
; i++)
0
184 {-
185 memcpy (p, "../", 3);-
186 p += 3;-
187 }
never executed: end of block
0
188 p[-1] = '\0';-
189 return
never executed: return buf;
buf;
never executed: return buf;
0
190}-
191static void-
192find_dir_entry (struct stat *dot_sb, struct file_name *file_name,-
193 size_t parent_height)-
194{-
195 DIR *dirp;-
196 int fd;-
197 struct stat parent_sb;-
198 -
199 _Bool -
200 use_lstat;-
201 -
202 _Bool -
203 found;-
204-
205 dirp = opendir ("..");-
206 if (dirp ==
dirp == ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
207 ((void *)0)
dirp == ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
208 )-
209 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 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 open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
210 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
211 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
212 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
213 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
214 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
215 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
216 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
217 "cannot open directory %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
218 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
219 , quote (nth_parent (parent_height))), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
220 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
221 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
222 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
223 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
224 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
225 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
226 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
227 "cannot open directory %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
228 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
229 , quote (nth_parent (parent_height))), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
230 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
231 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
232 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 ,...t (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open directory %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
233-
234 fd = dirfd (dirp);-
235 if ((
(0 <= fd ? fch...ir ("..")) < 0Description
TRUEnever evaluated
FALSEnever evaluated
0 <= fd
0 <= fdDescription
TRUEnever evaluated
FALSEnever evaluated
? fchdir (fd) : chdir ("..")) < 0
(0 <= fd ? fch...ir ("..")) < 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
236 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 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), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
237 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
238 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
239 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
240 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
241 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
242 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
243 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
244 "failed to chdir to %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
245 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
246 , quote (nth_parent (parent_height))), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
247 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
248 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
249 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
250 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
251 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
252 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
253 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
254 "failed to chdir to %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
255 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
256 , quote (nth_parent (parent_height))), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
257 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
258 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
259 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to chdir to %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*...rent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to chdir to %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
260-
261 if ((
(0 <= fd ? fst...arent_sb)) < 0Description
TRUEnever evaluated
FALSEnever evaluated
0 <= fd
0 <= fdDescription
TRUEnever evaluated
FALSEnever evaluated
? fstat (fd, &parent_sb) : stat (".", &parent_sb)) < 0
(0 <= fd ? fst...arent_sb)) < 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
262 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 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), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
263 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
264 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
265 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
266 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
267 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
268 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
269 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
270 "failed to stat %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
271 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
272 , quote (nth_parent (parent_height))), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
273 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
274 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
275 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
276 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
277 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
278 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
279 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
280 "failed to stat %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
281 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
282 , quote (nth_parent (parent_height))), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
283 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
284 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
285 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__er...h_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
286-
287-
288-
289 use_lstat = (parent_sb.st_dev != dot_sb->st_dev);-
290-
291 found = -
292 0-
293 ;-
294 while (1)-
295 {-
296 struct dirent const *dp;-
297 struct stat ent_sb;-
298 ino_t ino;-
299-
300 -
301 (*__errno_location ()) -
302 = 0;-
303 if ((
(dp = readdir_...== ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
dp = readdir_ignoring_dot_and_dotdot (dirp)) ==
(dp = readdir_...== ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
304 ((void *)0)
(dp = readdir_...== ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
305 )-
306 {-
307 if (-
308 (*
(*__errno_location ())Description
TRUEnever evaluated
FALSEnever evaluated
__errno_location ())
(*__errno_location ())Description
TRUEnever evaluated
FALSEnever evaluated
0
309 )-
310 {-
311-
312 int e = -
313 (*__errno_location ())-
314 ;-
315 closedir (dirp);-
316 -
317 (*__errno_location ()) -
318 = e;-
319-
320-
321 dirp = -
322 ((void *)0)-
323 ;-
324 }
never executed: end of block
0
325 break;
never executed: break;
0
326 }-
327-
328 ino = (dp)->d_ino;-
329-
330 if (ino == NOT_AN_INODE_NUMBER
ino == NOT_AN_INODE_NUMBERDescription
TRUEnever evaluated
FALSEnever evaluated
|| use_lstat
use_lstatDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
331 {-
332 if (lstat (dp->d_name, &ent_sb) < 0
lstat (dp->d_n..., &ent_sb) < 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
333 {-
334-
335 continue;
never executed: continue;
0
336 }-
337 ino = ent_sb.st_ino;-
338 }
never executed: end of block
0
339-
340 if (ino != dot_sb->st_ino
ino != dot_sb->st_inoDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
341 continue;
never executed: continue;
0
342-
343-
344-
345 if ( ! use_lstat
! use_lstatDescription
TRUEnever evaluated
FALSEnever evaluated
|| ent_sb.st_dev == dot_sb->st_dev
ent_sb.st_dev ...dot_sb->st_devDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
346 {-
347 file_name_prepend (file_name, dp->d_name, -
348 (strlen ((-
349 dp-
350 )->d_name))-
351 );-
352 found = -
353 1-
354 ;-
355 break;
never executed: break;
0
356 }-
357 }
never executed: end of block
0
358-
359 if (dirp ==
dirp == ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
360 ((void *)0)
dirp == ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
361 || closedir (dirp) != 0
closedir (dirp) != 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
362 {-
363-
364-
365 ((!!sizeof (struct { _Static_assert (-
366 1-
367 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"reading directory %s\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error (-
368 1-
369 , -
370 (*__errno_location ())-
371 , -
372 dcgettext (((void *)0), -
373 "reading directory %s"-
374 , 5)-
375 , quote (nth_parent (parent_height))), ((-
376 0-
377 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (-
378 1-
379 , -
380 (*__errno_location ())-
381 , -
382 dcgettext (((void *)0), -
383 "reading directory %s"-
384 , 5)-
385 , quote (nth_parent (parent_height))), ((-
386 0-
387 ) ? (void) 0 : __builtin_unreachable ()))))-
388 ;-
389 }
never executed: end of block
0
390-
391 if ( ! found
! foundDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
392 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"couldn't find directory entry in %s with matching i-node\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((...height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "couldn't find directory entry in %s with matching i-node" , 5) , quote (nth_parent (parent_height))), (( 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), \"couldn't find directory entry in %s with matching i-node\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((...height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "couldn't find directory entry in %s with matching i-node" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
393 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"couldn't find directory entry in %s with matching i-node\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((...height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "couldn't find directory entry in %s with matching i-node" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
394 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"couldn't find directory entry in %s with matching i-node\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"couldn't find directory entry in %s with matching i-node\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((...height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "couldn't find directory entry in %s with matching i-node" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
395 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"couldn't find directory entry in %s with matching i-node\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((...height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "couldn't find directory entry in %s with matching i-node" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
396 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"couldn't find directory entry in %s with matching i-node\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((...height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "couldn't find directory entry in %s with matching i-node" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
397 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"couldn't find directory entry in %s with matching i-node\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((...height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "couldn't find directory entry in %s with matching i-node" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
398 "couldn't find directory entry in %s with matching i-node"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"couldn't find directory entry in %s with matching i-node\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((...height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "couldn't find directory entry in %s with matching i-node" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
399 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"couldn't find directory entry in %s with matching i-node\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((...height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "couldn't find directory entry in %s with matching i-node" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
400 , quote (nth_parent (parent_height))), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"couldn't find directory entry in %s with matching i-node\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((...height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "couldn't find directory entry in %s with matching i-node" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
401 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"couldn't find directory entry in %s with matching i-node\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((...height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "couldn't find directory entry in %s with matching i-node" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
402 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"couldn't find directory entry in %s with matching i-node\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((...height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "couldn't find directory entry in %s with matching i-node" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
403 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"couldn't find directory entry in %s with matching i-node\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((...height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "couldn't find directory entry in %s with matching i-node" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
404 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"couldn't find directory entry in %s with matching i-node\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((...height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "couldn't find directory entry in %s with matching i-node" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
405 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"couldn't find directory entry in %s with matching i-node\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((...height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "couldn't find directory entry in %s with matching i-node" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
406 "couldn't find directory entry in %s with matching i-node"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"couldn't find directory entry in %s with matching i-node\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((...height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "couldn't find directory entry in %s with matching i-node" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
407 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"couldn't find directory entry in %s with matching i-node\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((...height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "couldn't find directory entry in %s with matching i-node" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
408 , quote (nth_parent (parent_height))), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"couldn't find directory entry in %s with matching i-node\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((...height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "couldn't find directory entry in %s with matching i-node" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
409 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"couldn't find directory entry in %s with matching i-node\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((...height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "couldn't find directory entry in %s with matching i-node" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
410 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"couldn't find directory entry in %s with matching i-node\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((...height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "couldn't find directory entry in %s with matching i-node" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
4110
412 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"couldn't find directory entry in %s with matching i-node\", 5), quote (nth_parent (parent_height))), assume (false))" ")"); int _gl_dummy; })) ? ((...height))), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "couldn't find directory entry in %s with matching i-node" , 5) , quote (nth_parent (parent_height))), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
413-
414 *dot_sb = parent_sb;-
415}
never executed: end of block
0
416static void-
417robust_getcwd (struct file_name *file_name)-
418{-
419 size_t height = 1;-
420 struct dev_ino dev_ino_buf;-
421 struct dev_ino *root_dev_ino = get_root_dev_ino (&dev_ino_buf);-
422 struct stat dot_sb;-
423-
424 if (root_dev_ino ==
root_dev_ino == ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
425 ((void *)0)
root_dev_ino == ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
426 )-
427 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 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, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
428 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
429 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 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, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
430 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
431 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
432 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
433 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
434 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
435 "failed to get attributes of %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
436 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
437 , quotearg_style (shell_escape_always_quoting_style, "/")), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
438 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
439 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
440 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
441 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
442 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
443 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
444 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
445 "failed to get attributes of %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
446 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
447 , quotearg_style (shell_escape_always_quoting_style, "/")), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
448 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
449 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
450 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
451-
452 if (stat (".", &dot_sb) < 0
stat (".", &dot_sb) < 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
453 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 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, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
454 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
455 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 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, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
456 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
457 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
458 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
459 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
460 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
461 "failed to stat %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
462 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
463 , quotearg_style (shell_escape_always_quoting_style, ".")), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
464 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
465 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
466 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
467 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
468 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
469 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
470 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
471 "failed to stat %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
472 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
473 , quotearg_style (shell_escape_always_quoting_style, ".")), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
474 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
475 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to stat %s\", 5), quotearg_style (shell_escape_always_quoting_style, \".\")), assume (false))" ")"); int _gl_dummy; }))... ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to stat %s" , 5) , quotearg_style (shell_escape_always_quoting_style, ".")), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
476-
477 while (1)-
478 {-
479-
480 if (((
(dot_sb).st_in...ev_ino).st_inoDescription
TRUEnever evaluated
FALSEnever evaluated
dot_sb).st_ino == (*root_dev_ino).st_ino
(dot_sb).st_in...ev_ino).st_inoDescription
TRUEnever evaluated
FALSEnever evaluated
&& (
(dot_sb).st_de...ev_ino).st_devDescription
TRUEnever evaluated
FALSEnever evaluated
dot_sb).st_dev == (*root_dev_ino).st_dev
(dot_sb).st_de...ev_ino).st_devDescription
TRUEnever evaluated
FALSEnever evaluated
))
0
481 break;
never executed: break;
0
482-
483 find_dir_entry (&dot_sb, file_name, height++);-
484 }
never executed: end of block
0
485-
486-
487 if (file_name->start[0] == '\0'
file_name->start[0] == '\0'Description
TRUEnever evaluated
FALSEnever evaluated
)
0
488 file_name_prepend (file_name, "", 0);
never executed: file_name_prepend (file_name, "", 0);
0
489}
never executed: end of block
0
490-
491-
492-
493-
494static char *-
495logical_getcwd (void)-
496{-
497 struct stat st1;-
498 struct stat st2;-
499 char *wd = getenv ("PWD");-
500 char *p;-
501-
502-
503 if (!wd
!wdDescription
TRUEnever evaluated
FALSEevaluated 5 times by 1 test
Evaluated by:
  • pwd
|| wd[0] != '/'
wd[0] != '/'Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pwd
FALSEevaluated 4 times by 1 test
Evaluated by:
  • pwd
)
0-5
504 return
executed 1 time by 1 test: return ((void *)0) ;
Executed by:
  • pwd
executed 1 time by 1 test: return ((void *)0) ;
Executed by:
  • pwd
1
505 ((void *)0)
executed 1 time by 1 test: return ((void *)0) ;
Executed by:
  • pwd
1
506 ;
executed 1 time by 1 test: return ((void *)0) ;
Executed by:
  • pwd
1
507 p = wd;-
508 while ((
(p = strstr (p, "/."))Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • pwd
FALSEevaluated 2 times by 1 test
Evaluated by:
  • pwd
p = strstr (p, "/."))
(p = strstr (p, "/."))Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • pwd
FALSEevaluated 2 times by 1 test
Evaluated by:
  • pwd
)
2
509 {-
510 if (!p[2]
!p[2]Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pwd
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pwd
|| p[2] == '/'
p[2] == '/'Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pwd
0-1
511 || (p[2] == '.'
p[2] == '.'Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pwd
FALSEnever evaluated
&& (!p[3]
!p[3]Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pwd
|| p[3] == '/'
p[3] == '/'Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pwd
FALSEnever evaluated
)))
0-1
512 return
executed 2 times by 1 test: return ((void *)0) ;
Executed by:
  • pwd
executed 2 times by 1 test: return ((void *)0) ;
Executed by:
  • pwd
2
513 ((void *)0)
executed 2 times by 1 test: return ((void *)0) ;
Executed by:
  • pwd
2
514 ;
executed 2 times by 1 test: return ((void *)0) ;
Executed by:
  • pwd
2
515 p++;-
516 }
never executed: end of block
0
517-
518-
519 if (stat (wd, &st1) == 0
stat (wd, &st1) == 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • pwd
FALSEnever evaluated
&& stat (".", &st2) == 0
stat (".", &st2) == 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • pwd
FALSEnever evaluated
&& ((
(st1).st_ino == (st2).st_inoDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • pwd
FALSEnever evaluated
st1).st_ino == (st2).st_ino
(st1).st_ino == (st2).st_inoDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • pwd
FALSEnever evaluated
&& (
(st1).st_dev == (st2).st_devDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • pwd
FALSEnever evaluated
st1).st_dev == (st2).st_dev
(st1).st_dev == (st2).st_devDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • pwd
FALSEnever evaluated
))
0-2
520 return
executed 2 times by 1 test: return wd;
Executed by:
  • pwd
wd;
executed 2 times by 1 test: return wd;
Executed by:
  • pwd
2
521 return
never executed: return ((void *)0) ;
never executed: return ((void *)0) ;
0
522 ((void *)0)
never executed: return ((void *)0) ;
0
523 ;
never executed: return ((void *)0) ;
0
524}-
525-
526-
527int-
528main (int argc, char **argv)-
529{-
530 char *wd;-
531-
532-
533-
534 -
535 _Bool -
536 logical = (getenv ("POSIXLY_CORRECT") != -
537 ((void *)0)-
538 );-
539-
540 ;-
541 set_program_name (argv[0]);-
542 setlocale (-
543 6-
544 , "");-
545 bindtextdomain ("coreutils", "/usr/local/share/locale");-
546 textdomain ("coreutils");-
547-
548 atexit (close_stdout);-
549-
550 while (1)-
551 {-
552 int c = getopt_long (argc, argv, "LP", longopts, -
553 ((void *)0)-
554 );-
555 if (c == -1
c == -1Description
TRUEevaluated 17 times by 1 test
Evaluated by:
  • pwd
FALSEevaluated 26 times by 1 test
Evaluated by:
  • pwd
)
17-26
556 break;
executed 17 times by 1 test: break;
Executed by:
  • pwd
17
557 switch (c)-
558 {-
559 case
executed 5 times by 1 test: case 'L':
Executed by:
  • pwd
'L':
executed 5 times by 1 test: case 'L':
Executed by:
  • pwd
5
560 logical = -
561 1-
562 ;-
563 break;
executed 5 times by 1 test: break;
Executed by:
  • pwd
5
564 case
executed 7 times by 1 test: case 'P':
Executed by:
  • pwd
'P':
executed 7 times by 1 test: case 'P':
Executed by:
  • pwd
7
565 logical = -
566 0-
567 ;-
568 break;
executed 7 times by 1 test: break;
Executed by:
  • pwd
7
569-
570 case
executed 2 times by 1 test: case GETOPT_HELP_CHAR:
Executed by:
  • pwd
GETOPT_HELP_CHAR:
executed 2 times by 1 test: case GETOPT_HELP_CHAR:
Executed by:
  • pwd
usage (
2
571 0-
572 ); break;
never executed: break;
;
0
573-
574 case
executed 11 times by 1 test: case GETOPT_VERSION_CHAR:
Executed by:
  • pwd
GETOPT_VERSION_CHAR:
executed 11 times by 1 test: case GETOPT_VERSION_CHAR:
Executed by:
  • pwd
version_etc (
11
575 stdout-
576 , "pwd", "GNU coreutils", Version, ("Jim Meyering"), (char *) -
577 ((void *)0)-
578 ); exit (
executed 11 times by 1 test: exit ( 0 );
Executed by:
  • pwd
11
579 0
executed 11 times by 1 test: exit ( 0 );
Executed by:
  • pwd
11
580 );
executed 11 times by 1 test: exit ( 0 );
Executed by:
  • pwd
break;
never executed: break;
;
0-11
581-
582 default
executed 1 time by 1 test: default:
Executed by:
  • pwd
:
executed 1 time by 1 test: default:
Executed by:
  • pwd
1
583 usage (-
584 1-
585 );-
586 }
never executed: end of block
0
587 }-
588-
589 if (optind < argc
optind < argcDescription
TRUEnever evaluated
FALSEevaluated 17 times by 1 test
Evaluated by:
  • pwd
)
0-17
590 error (0, 0,
never executed: error (0, 0, dcgettext (((void *)0), "ignoring non-option arguments" , 5) );
0
591 dcgettext (((void *)0),
never executed: error (0, 0, dcgettext (((void *)0), "ignoring non-option arguments" , 5) );
0
592 "ignoring non-option arguments"
never executed: error (0, 0, dcgettext (((void *)0), "ignoring non-option arguments" , 5) );
0
593 , 5)
never executed: error (0, 0, dcgettext (((void *)0), "ignoring non-option arguments" , 5) );
0
594 );
never executed: error (0, 0, dcgettext (((void *)0), "ignoring non-option arguments" , 5) );
0
595-
596 if (logical
logicalDescription
TRUEevaluated 5 times by 1 test
Evaluated by:
  • pwd
FALSEevaluated 12 times by 1 test
Evaluated by:
  • pwd
)
5-12
597 {-
598 wd = logical_getcwd ();-
599 if (wd
wdDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • pwd
FALSEevaluated 3 times by 1 test
Evaluated by:
  • pwd
)
2-3
600 {-
601 puts (wd);-
602 return
executed 2 times by 1 test: return 0 ;
Executed by:
  • pwd
executed 2 times by 1 test: return 0 ;
Executed by:
  • pwd
2
603 0
executed 2 times by 1 test: return 0 ;
Executed by:
  • pwd
2
604 ;
executed 2 times by 1 test: return 0 ;
Executed by:
  • pwd
2
605 }-
606 }
executed 3 times by 1 test: end of block
Executed by:
  • pwd
3
607-
608 wd = xgetcwd ();-
609 if (wd !=
wd != ((void *)0)Description
TRUEevaluated 15 times by 1 test
Evaluated by:
  • pwd
FALSEnever evaluated
0-15
610 ((void *)0)
wd != ((void *)0)Description
TRUEevaluated 15 times by 1 test
Evaluated by:
  • pwd
FALSEnever evaluated
0-15
611 )-
612 {-
613 puts (wd);-
614 free (wd);-
615 }
executed 15 times by 1 test: end of block
Executed by:
  • pwd
15
616 else-
617 {-
618 struct file_name *file_name = file_name_init ();-
619 robust_getcwd (file_name);-
620 puts (file_name->start);-
621 file_name_free (file_name);-
622 }
never executed: end of block
0
623-
624 return
executed 15 times by 1 test: return 0 ;
Executed by:
  • pwd
executed 15 times by 1 test: return 0 ;
Executed by:
  • pwd
15
625 0
executed 15 times by 1 test: return 0 ;
Executed by:
  • pwd
15
626 ;
executed 15 times by 1 test: return 0 ;
Executed by:
  • pwd
15
627}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.1.2