Lines 222-228
static int cp(const char *src, const cha
Link Here
|
222 |
if (ret == 0) { |
222 |
if (ret == 0) { |
223 |
struct timeval tv[2]; |
223 |
struct timeval tv[2]; |
224 |
if (fchown(dest_desc, sb.st_uid, sb.st_gid) != 0) |
224 |
if (fchown(dest_desc, sb.st_uid, sb.st_gid) != 0) |
225 |
if(fchown(dest_desc, (__uid_t) - 1, sb.st_gid) != 0) |
225 |
if(fchown(dest_desc, (uid_t) - 1, sb.st_gid) != 0) |
226 |
log_error("Failed to chown %s: %m", dst); |
226 |
log_error("Failed to chown %s: %m", dst); |
227 |
tv[0].tv_sec = sb.st_atime; |
227 |
tv[0].tv_sec = sb.st_atime; |
228 |
tv[0].tv_usec = 0; |
228 |
tv[0].tv_usec = 0; |
Lines 388-393
static int resolve_deps(const char *src)
Link Here
|
388 |
break; |
388 |
break; |
389 |
} |
389 |
} |
390 |
|
390 |
|
|
|
391 |
/* musl ldd */ |
392 |
if (strstr(buf, "Not a valid dynamic program")) |
393 |
break; |
394 |
|
395 |
/* glibc */ |
391 |
if (strstr(buf, "not a dynamic executable")) |
396 |
if (strstr(buf, "not a dynamic executable")) |
392 |
break; |
397 |
break; |
393 |
|
398 |
|