summaryrefslogtreecommitdiff
path: root/package/busybox/busybox-1.19.2/busybox-1.19.2-crond.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-09-11 22:36:36 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-09-11 22:36:36 +0200
commitd97542c6d88d2e621db8d01db523baac5bf9ccf0 (patch)
tree37aee1fa6c98a4c8f7b671d13e8b50dbbca579c0 /package/busybox/busybox-1.19.2/busybox-1.19.2-crond.patch
parent95951797b5a2d15c3c92f7f02aad0711aea57ffc (diff)
busybox: add 1.19.2 fixes for chpasswd, crond and inetd.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox/busybox-1.19.2/busybox-1.19.2-crond.patch')
-rw-r--r--package/busybox/busybox-1.19.2/busybox-1.19.2-crond.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.19.2/busybox-1.19.2-crond.patch b/package/busybox/busybox-1.19.2/busybox-1.19.2-crond.patch
new file mode 100644
index 000000000..043a846ca
--- /dev/null
+++ b/package/busybox/busybox-1.19.2/busybox-1.19.2-crond.patch
@@ -0,0 +1,12 @@
+--- busybox-1.19.2/miscutils/crond.c
++++ busybox-1.19.2-crond/miscutils/crond.c
+@@ -861,7 +861,8 @@ int crond_main(int argc UNUSED_PARAM, ch
+
+ /* "-b after -f is ignored", and so on for every pair a-b */
+ opt_complementary = "f-b:b-f:S-L:L-S" IF_FEATURE_CROND_D(":d-l")
+- ":l+:d+"; /* -l and -d have numeric param */
++ /* -l and -d have numeric param */
++ ":l+" IF_FEATURE_CROND_D(":d+");
+ opts = getopt32(argv, "l:L:fbSc:" IF_FEATURE_CROND_D("d:"),
+ &G.log_level, &G.log_filename, &G.crontab_dir_name
+ IF_FEATURE_CROND_D(,&G.log_level));