← Commit list

447bc2d17

Glenn L McGrath
Glenn L McGrath
2004-01-11
FAILED Duration: 67s

Subject

Patch from Matt Kraai to fix debian bug #227081

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
@@ -153,7 +153,7 @@ int copy_file(const char *source, const char *dest, int flags)
}
}
- dst_fd = open(dest, O_WRONLY);
+ dst_fd = open(dest, O_WRONLY|O_TRUNC);
if (dst_fd == -1) {
if (!(flags & FILEUTILS_FORCE)) {
bb_perror_msg("unable to open `%s'", dest);