1 /* Failed on powerpc64-linux with a segfault due to ifcvt generating
2 conditional returns without updating dominance info.
3 Extracted from glibc's dl-load.c. */
5 typedef unsigned long size_t;
8 is_dst (const char *start
, const char *name
, const char *str
,
9 int is_path
, int secure
)
21 while (name
[len
] == str
[len
] && name
[len
] != '\0')
34 else if (name
[len
] != '\0' && name
[len
] != '/'
35 && (!is_path
|| name
[len
] != ':'))
38 if (__builtin_expect (secure
, 0)
39 && ((name
[len
] != '\0' && (!is_path
|| name
[len
] != ':'))
40 || (name
!= start
+ 1 && (!is_path
|| name
[-2] != ':'))))