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. --- include/libbb.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index b1ddbb0c0..3fa49728f 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -473,8 +473,11 @@ enum { /* DO NOT CHANGE THESE VALUES! cp.c depends on them. */ FILEUTILS_DEREFERENCE = 2, FILEUTILS_RECUR = 4, FILEUTILS_FORCE = 8, - FILEUTILS_INTERACTIVE = 16 + FILEUTILS_INTERACTIVE = 0x10, + FILEUTILS_MAKE_HARDLINK = 0x20, + FILEUTILS_MAKE_SOFTLINK = 0x40, }; +#define FILEUTILS_CP_OPTSTR "pdRfils" extern const char *applet_name; -- cgit v1.2.3