← Commit list

02b8dfc52

Eric Andersen
Eric Andersen
2002-09-16
FAILED Duration: 10s

Subject

Let people force overwrite links -Erik

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

libbb/copy_file.c+1 -1
@@ -47,7 +47,7 @@ int copy_file(const char *source, const char *dest, int flags)
return -1;
}
- if (stat(dest, &dest_stat) < 0) {
+ if (lstat(dest, &dest_stat) < 0) {
if (errno != ENOENT) {
perror_msg("unable to stat `%s'", dest);
return -1;