aboutsummaryrefslogtreecommitdiff
path: root/miscutils/crond.c
Commit message (Collapse)AuthorAgeFilesLines
* Consolidate ARRAY_SIZE macro; remove one unneeded global var (walter harms ↵Gravatar Denis Vlasenko2007-06-251-3/+2
| | | | <wharms@bfs.de>)
* usage.c: remove reference to busybox.hGravatar Denis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* bb_full_fd_action: remove potential xmalloc from NOFORK pathGravatar Denis Vlasenko2007-04-111-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cat: stop using stdio.h opens libbb: introduce & use open[3]_or_warn function old new delta open3_or_warn - 54 +54 bb_cat 115 144 +29 open_or_warn - 25 +25 unlzma 2404 2412 +8 chattr_main 334 339 +5 xstrtoul_range_sfx 251 255 +4 telnet_main 1514 1510 -4 static.opt 4 - -4 qgravechar 122 118 -4 fuser_add_pid 61 54 -7 fuser_add_inode 154 147 -7 writeFileToTarball 1542 1534 -8 refresh 1156 1148 -8 do_show 856 846 -10 read_leases 212 200 -12 setup_redirects 236 222 -14 iproute_list_or_flush 1582 1568 -14 read_config 427 411 -16 write_leases 284 264 -20 hash_file 338 318 -20 copy_file 1760 1740 -20 do_iproute 2610 2588 -22 bb_full_fd_action 320 269 -51 open_to_or_warn 103 49 -54 fuser_main 1660 1596 -64 .rodata 131160 131096 -64 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 4/19 up/down: 125/-423) Total: -298 bytes
* make pidfile writing configurable.Gravatar Denis Vlasenko2007-03-271-0/+1
| | | | [ui]toa_to_buf: change API. No users yet.
* move everything to new NOMMU helpers, except udhcpGravatar Denis Vlasenko2007-03-261-48/+16
|
* NOMMU re-exec trick shuld not depend on existence of "don't daemonize"Gravatar Denis Vlasenko2007-03-241-2/+2
| | | | | option for every affected applet (and dnsd, for example, don't have one). Thus rework re-exec support to not require it. Code got smaller too.
* suppress warnings about easch <applet>_main() havingGravatar Denis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* convert calloc to xzallocGravatar Denis Vlasenko2007-01-031-2/+2
| | | | fix sleep-on-die option
* rodata cleanup. "unable to" == "cannot". -300 bytesGravatar Denis Vlasenko2006-11-181-5/+5
|
* remove bb_printf and the likeGravatar Denis Vlasenko2006-10-261-12/+12
|
* message string changes, mostly for consistency, also -32 bytes in .rodataGravatar Denis Vlasenko2006-10-201-3/+3
|
* add open_read_close() and similar stuffGravatar Denis Vlasenko2006-10-141-2/+2
|
* attempt to regularize atoi mess.Gravatar Denis Vlasenko2006-10-081-4/+4
|
* bb_applet_name -> applet_nameGravatar Denis Vlasenko2006-10-031-2/+2
|
* getopt_ulflags -> getopt32.Gravatar Denis Vlasenko2006-10-031-4/+4
| | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateGravatar Rob Landley2006-08-031-18/+3
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* - move #include busybox.h to the very top so we pull in the configGravatar Bernhard Reutner-Fischer2006-06-031-2/+1
| | | | and eventual platform specific includes in early.
* - s/defined(__uClinux__)/BB_NOMMU/Gravatar Bernhard Reutner-Fischer2006-05-311-3/+3
| | | | | | | This needs a second pass to: + add bb_daemon(unsigned char no_chdir, unsigned char no_close, const char*flag) + eventually globally export argc and argv, so we don't need to pass it to bb_daemon().
* New version of nohup that's much smaller, less paranoid, consistent,Gravatar Rob Landley2006-05-211-15/+0
| | | | vaguely portable, and licensed GPLv2 "or later".
* - silence warning about no return in function returning non-voidGravatar Bernhard Reutner-Fischer2006-05-201-25/+22
| | | | | - put CONFIG_DEBUG_CROND_OPTION into config no changes in size when debugging is disabled.
* use more boiler plate GPL noticesGravatar Mike Frysinger2006-04-161-2/+2
|
* - patch from Denis Vlasenko to add and use bb_xchdir()Gravatar Bernhard Reutner-Fischer2006-04-121-3/+1
|
* - patch from Denis Vlasenko to add and use bb_xdaemon()Gravatar Bernhard Reutner-Fischer2006-04-121-3/+2
|
* removed warning "comparison between signed and unsigned". Change very very ↵Gravatar "Vladimir N. Oleynik"2006-01-301-7/+7
| | | | old code: use int instead short
* destroy bug [0000381]Gravatar "Vladimir N. Oleynik"2005-09-051-2/+2
|
* 1) bb_opt_complementaly -> bb_opt_complementallyGravatar "Vladimir N. Oleynik"2005-09-051-2/+2
| | | | | 2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally
* According to bug #63, crond is unhappy with crontab lines that don't end in aGravatar Rob Landley2005-09-011-4/+2
| | | | newline, or lines that have trailing spaces.
* Larry Doolittle writes:Gravatar Eric Andersen2004-04-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
* Fixup braces (patch from Thomas Geulig), run through indent and manuallyGravatar Glenn L McGrath2004-02-221-778/+744
| | | | adjust.
* Fix compile error, the indenting really needs to be fixed hereGravatar Glenn L McGrath2003-12-231-1/+1
|
* Get vfork_daemon_rexec working under uclinuxGravatar Russ Dill2003-12-151-6/+4
|
* last_patch116 from vodz:Gravatar Eric Andersen2003-10-221-3/+5
| | | | | | | | | | | | | | | | | | | | | | | Stephane, >Using busybox+uclibc, crond syslog messages look like: > >Oct 9 09:04:46 soekris cron.notice crond[347]: ^Icrond 2.3.2 dillon, >started, log level 8 Thanks for testing. >The attached patch corrects the problem. Your patch is not correct. Correct patch attached. Also. Last patch have - add "Broken pipe" message to ash.c - busybox ash synced with dash_0.4.18 --w vodz
* more crond+crontab integrating with loginutil libbb functions and deletedGravatar Glenn L McGrath2003-09-031-12/+4
| | | | | patch from Thomas Gleixner to init. Viodz last_patch_108
* move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as oneGravatar Glenn L McGrath2003-09-021-8/+5
| | | | | constant. Vodz last_patch_107
* Avoid shadowing built-in function `log'Gravatar Eric Andersen2003-07-281-33/+33
|
* Fixup bugs in last patchGravatar Eric Andersen2003-07-281-1/+2
|
* last_patch95 from vodz:Gravatar Eric Andersen2003-07-281-225/+186
| | | | | | | | | | | | | | | | | Hi. Last patch have new libbb function vfork_rexec() for can use daemon() to uClinux system. This patched daemons: syslog, klogd, inetd, crond. This not tested! I havn`t this systems. Also. Previous patch for feature request MD5 crypt password for httpd don`t sended to this mailist on 07/15/03 (mailist have Pytom module problem?). The previous patch included, and have testing. --w vodz
* last_patch89 from vodz:Gravatar Eric Andersen2003-06-201-34/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manuel, I rewrite bb_getopt_ulflags() function for more universal usage. My version support now: - options with arguments (optional arg as GNU extension also) - complementaly and/or incomplementaly and/or incongruously and/or list options - long_opt (all applets may have long option, add supporting is trivial) This realisation full compatibile from your version. Code size grow 480 bytes, but only coreutils/* over compensate this size after using new function. Last patch reduced over 800 bytes and not full applied to all. "mkdir" and "mv" applets have long_opt now for demonstrate trivial addition support long_opt with usage new bb_getopt_ulflags(). Complementaly and/or incomplementaly and/or incongruously and/or list options logic is not trivial, but new "cut" and "grep" applets using this logic for examples with full demostrating. New "grep" applet reduced over 300 bytes. Mark, Also. I removed bug from "grep" applet. $ echo a b | busybox grep -e a b a b a b But right is printing one only. --w vodz
* Major coreutils update.Gravatar Manuel Novoa III2003-03-191-5/+5
|
* mjn3 noticed that crond and crontab had #include <pwd.h> and #include <grp.h>Gravatar Eric Andersen2002-10-221-2/+0
| | | | | | | but this conflicted with the internal pwd_.h and grp_.h. Removing these headers is correct, since the correct pwd/grp headers will be included via busybox.h -Erik
* last_patch63 from vodz: add in crond and crontab appletsGravatar Eric Andersen2002-10-221-0/+1146