From f24e1f40e032e99cf57a05730e7632b825d3016d Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 21 Oct 2006 23:40:20 +0000 Subject: cp: add support for -s, -l. Fix free(nonmalloc) bug. Add doc on POSIX's rules on -i and -f (insane!). ln: make "ln dangling_symlink new_link" work. --- coreutils/libcoreutils/cp_mv_stat.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'coreutils/libcoreutils') diff --git a/coreutils/libcoreutils/cp_mv_stat.c b/coreutils/libcoreutils/cp_mv_stat.c index d401bcc75..0849ebc6c 100644 --- a/coreutils/libcoreutils/cp_mv_stat.c +++ b/coreutils/libcoreutils/cp_mv_stat.c @@ -20,8 +20,6 @@ * */ -#include -#include #include "libbb.h" #include "coreutils.h" @@ -29,7 +27,7 @@ int cp_mv_stat2(const char *fn, struct stat *fn_stat, stat_func sf) { if (sf(fn, fn_stat) < 0) { if (errno != ENOENT) { - bb_perror_msg("unable to stat `%s'", fn); + bb_perror_msg("unable to stat '%s'", fn); return -1; } return 0; -- cgit v1.2.3