diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-12 22:10:25 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-12 22:10:25 +0000 |
commit | 4e6c8120a53709c4a352db42e997303844c74584 (patch) | |
tree | 67494852dbb86ff0c25f161181bca156cd9a612e /include | |
parent | 35e9c5d83ada1fea40798365a1b4c728f64ded98 (diff) | |
download | busybox-w32-4e6c8120a53709c4a352db42e997303844c74584.tar.gz busybox-w32-4e6c8120a53709c4a352db42e997303844c74584.tar.bz2 busybox-w32-4e6c8120a53709c4a352db42e997303844c74584.zip |
crond: make it NOMMU-capable
function old new delta
safe_setenv4 - 62 +62
ForkJob 472 511 +39
change_identity 21 57 +36
ParseField 564 571 +7
SynchronizeDir 178 176 -2
LogLevel 4 - -4
LogFile 4 - -4
FileBase 4 - -4
DebugOpt 4 - -4
CDir 4 - -4
DeleteFile 141 132 -9
packed_usage 24248 24228 -20
crondlog 157 113 -44
change_identity_e2str 54 - -54
SynchronizeFile 729 671 -58
crond_main 1555 1404 -151
------------------------------------------------------------------------------
(add/remove: 1/6 grow/shrink: 3/6 up/down: 144/-358) Total: -214 bytes
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 1 | ||||
-rw-r--r-- | include/usage.h | 17 |
2 files changed, 9 insertions, 9 deletions
diff --git a/include/libbb.h b/include/libbb.h index 9b52dd231..6e10cdc41 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -912,7 +912,6 @@ char *bb_simplify_path(const char *path); | |||
912 | #define FAIL_DELAY 3 | 912 | #define FAIL_DELAY 3 |
913 | extern void bb_do_delay(int seconds); | 913 | extern void bb_do_delay(int seconds); |
914 | extern void change_identity(const struct passwd *pw); | 914 | extern void change_identity(const struct passwd *pw); |
915 | extern const char *change_identity_e2str(const struct passwd *pw); | ||
916 | extern void run_shell(const char *shell, int loginshell, const char *command, const char **additional_args) ATTRIBUTE_NORETURN; | 915 | extern void run_shell(const char *shell, int loginshell, const char *command, const char **additional_args) ATTRIBUTE_NORETURN; |
917 | extern void run_shell(const char *shell, int loginshell, const char *command, const char **additional_args); | 916 | extern void run_shell(const char *shell, int loginshell, const char *command, const char **additional_args); |
918 | #if ENABLE_SELINUX | 917 | #if ENABLE_SELINUX |
diff --git a/include/usage.h b/include/usage.h index f575f4676..a6d970de6 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -507,16 +507,17 @@ USE_FEATURE_BRCTL_FANCY("\n" \ | |||
507 | " F Input from file" | 507 | " F Input from file" |
508 | 508 | ||
509 | #define crond_trivial_usage \ | 509 | #define crond_trivial_usage \ |
510 | "-d[#] -c crondir -f -b" | 510 | "-fbS -l N " USE_DEBUG_CROND_OPTION("-d N ") "-L LOGFILE -c DIR" |
511 | #define crond_full_usage \ | 511 | #define crond_full_usage \ |
512 | " -d [#] -l [#] -S -L logfile -f -b -c dir\n" \ | 512 | " -f Foreground\n" \ |
513 | " -d num Debug level\n" \ | 513 | " -b Background (default)\n" \ |
514 | " -l num Log level (8 - default)\n" \ | ||
515 | " -S Log to syslog (default)\n" \ | 514 | " -S Log to syslog (default)\n" \ |
516 | " -L file Log to file\n" \ | 515 | " -l Set log level. 0 is the most verbose, default 8\n" \ |
517 | " -f Run in foreground\n" \ | 516 | USE_DEBUG_CROND_OPTION( \ |
518 | " -b Run in background (default)\n" \ | 517 | " -d Set log level, log to stderr\n" \ |
519 | " -c dir Working dir" | 518 | ) \ |
519 | " -L Log to file\n" \ | ||
520 | " -c Working dir" | ||
520 | 521 | ||
521 | #define crontab_trivial_usage \ | 522 | #define crontab_trivial_usage \ |
522 | "[-c DIR] [-u USER] [-ler]|[FILE]" | 523 | "[-c DIR] [-u USER] [-ler]|[FILE]" |