summaryrefslogtreecommitdiff
path: root/include/applets.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-04-06 08:11:08 +0000
committerBernhard Reutner-Fischer2006-04-06 08:11:08 +0000
commit8f7d38970046c0ea53de911084561b79ffb2d6b9 (patch)
treeb19ed436f9361694ce3d071f3a8ec5957042c8e4 /include/applets.h
parente11a01cc34ab024b81ca83fec5182c6a444d4798 (diff)
downloadbusybox-8f7d38970046c0ea53de911084561b79ffb2d6b9.zip
busybox-8f7d38970046c0ea53de911084561b79ffb2d6b9.tar.gz
- new applet diff. Rob Sullivan writes:
Here's my attempt at a mini diff applet - it's adapted from the code at http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/diff/, and only supports unified diffs. I've busyboxified everything to a reasonable degree, so I think the code is suitable enough to be included, but there's still a fair bit of cleaning up to be done.
Diffstat (limited to 'include/applets.h')
-rw-r--r--include/applets.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 0f23982..f0c6f7a 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -86,6 +86,7 @@ USE_DELGROUP(APPLET(delgroup, delgroup_main, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_DELUSER(APPLET(deluser, deluser_main, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_DEVFSD(APPLET(devfsd, devfsd_main, _BB_DIR_SBIN, _BB_SUID_NEVER))
USE_DF(APPLET(df, df_main, _BB_DIR_BIN, _BB_SUID_NEVER))
+USE_DIFF(APPLET(diff, diff_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_DIRNAME(APPLET(dirname, dirname_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_DMESG(APPLET(dmesg, dmesg_main, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_DNSD(APPLET(dnsd, dnsd_main, _BB_DIR_USR_SBIN, _BB_SUID_ALWAYS))