aboutsummaryrefslogtreecommitdiff
path: root/miscutils/crontab.c
Commit message (Collapse)AuthorAgeFilesLines
* *: fix various kinds of damage to letter 'c' in Arkadiusz Mickiewicz' surname.Gravatar Denis Vlasenko2008-03-171-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | chrt,taskset,dc,eject: shrink crontab: call "vi" with just name, no path watchdog: intercept all fatal signals function old new delta xstrtoull_range - 35 +35 static.sg_commands - 18 +18 packed_usage 23698 23712 +14 watchdog_main 148 151 +3 crontab_main 637 638 +1 base 1 - -1 static.ps 4 - -4 pointer 4 - -4 stack_machine 99 92 -7 run_command 273 260 -13 eject_main 360 343 -17 static.C 30 12 -18 ptok 61 38 -23 xstrtol_range 27 - -27 get_token 35 - -35 taskset_main 586 550 -36 chrt_main 411 372 -39 dc_main 158 117 -41 time_main 1127 1037 -90 ------------------------------------------------------------------------------ (add/remove: 2/5 grow/shrink: 3/9 up/down: 71/-355) Total: -284 bytes text data bss dec hex filename 793680 662 7420 801762 c3be2 busybox_old 793327 662 7412 801401 c3a79 busybox_unstripped
* *: add -Wunused-parameter; fix resulting breakageGravatar Denis Vlasenko2008-03-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta procps_scan 1265 1298 +33 aliascmd 278 283 +5 parse_file_cmd 116 120 +4 dname_enc 373 377 +4 setcmd 90 93 +3 execcmd 57 60 +3 count_lines 72 74 +2 process_command_subs 340 339 -1 test_main 409 407 -2 mknod_main 179 177 -2 handle_incoming_and_exit 2653 2651 -2 argstr 1312 1310 -2 shiftcmd 131 128 -3 exitcmd 46 43 -3 dotcmd 297 294 -3 breakcmd 86 83 -3 evalpipe 353 349 -4 evalcommand 1180 1176 -4 evalcmd 109 105 -4 send_tree 374 369 -5 mkfifo_main 82 77 -5 evalsubshell 152 147 -5 typecmd 75 69 -6 letcmd 61 55 -6 add_cmd 1190 1183 -7 main 891 883 -8 ash_main 1415 1407 -8 parse_stream 1377 1367 -10 alloc_procps_scan 55 - -55 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 7/21 up/down: 54/-148) Total: -94 bytes text data bss dec hex filename 797195 658 7428 805281 c49a1 busybox_old 797101 658 7428 805187 c4943 busybox_unstripped
* - fix open(creat) without a modeGravatar Bernhard Reutner-Fischer2008-02-181-1/+1
|
* mount: recognize "dirsync" (closes bug 835)Gravatar Denis Vlasenko2008-02-181-8/+3
| | | | | | mount: sanitize environ if called by non-root *: adjust for slightly different sanitize routine
* crontab: stop using remove() - use unlink() insteadGravatar Denis Vlasenko2008-02-171-16/+9
|
* crontab: clear env if run by non-root, so that we can use PATH nowGravatar Denis Vlasenko2008-02-161-10/+8
| | | | | crontab: make "-c /tmp/ -e" work
* *: more readable handling of pipe fds. No code changes.Gravatar Denis Vlasenko2008-02-161-6/+6
|
* crontab: almost complete rewriteGravatar Denis Vlasenko2008-02-161-283/+187
| | | | | | | | | | | | | | | | | | | crontab: make options consistent with other implementations text data bss dec hex filename 2042 4 0 2046 7fe busybox.t1/miscutils/crontab.o 1331 0 0 1331 533 busybox.t2/miscutils/crontab.o function old new delta edit_file 733 956 +223 open_as_user - 171 +171 packed_usage 23652 23650 -2 CDir 8 4 -4 ChangeUser 139 - -139 crontab_main 1522 616 -906 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/3 up/down: 394/-1051) Total: -657 bytes
* add -fvisibility=hidden to CC flags, mark XXX_main functionsGravatar Denis Vlasenko2007-10-111-1/+1
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* style and message text fixesGravatar Denis Vlasenko2007-09-271-1/+1
|
* Three patches from FreeWRT peopleGravatar Denis Vlasenko2007-07-211-1/+3
|
* usage.c: remove reference to busybox.hGravatar Denis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* suppress warnings about easch <applet>_main() havingGravatar Denis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* preparatory patch for -Wwrite-strings #3Gravatar Denis Vlasenko2007-01-291-6/+4
|
* inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Gravatar Denis Vlasenko2006-12-161-1/+1
|
* small fixes:Gravatar Denis Vlasenko2006-11-261-2/+5
| | | | | | fix xstrdup to not grossly overallocate memory use xopen instean of xopen3 in several places etc.
* rodata cleanup. "unable to" == "cannot". -300 bytesGravatar Denis Vlasenko2006-11-181-3/+3
|
* add open_read_close() and similar stuffGravatar Denis Vlasenko2006-10-141-1/+1
|
* rename bb_default_error_retval -> xfunc_error_retvalGravatar Denis Vlasenko2006-10-031-1/+1
|
* crontab: we indent using tabsGravatar Denis Vlasenko2006-09-271-272/+277
|
* - convert a few xopen3(,,0) into xopen(,). Also peruse the fact that xopen ↵Gravatar Bernhard Reutner-Fischer2006-09-111-1/+1
| | | | | | | | | | | | | | | | | | | | defaults to 0777 on it's own, so we don't need to xopen3(,,0777). Saves a few bytes: $ size busybox.old busybox text data bss dec hex filename 839676 8780 243592 1092048 10a9d0 busybox.old 839660 8780 243592 1092032 10a9c0 busybox $ make CC=gcc-4.2-HEAD bloatcheck function old new delta static.vconfig_main 281 279 -2 static.rx_main 1076 1074 -2 static.mt_main 294 292 -2 static.gzip_main 753 751 -2 static.mkfs_minix_main 4034 4030 -4 static.unzip_main 1771 1766 -5 static.crontab_main 1513 1507 -6 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/7 up/down: 0/-23) Total: -23 bytes
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateGravatar Rob Landley2006-08-031-28/+8
| | | | | | | | | | 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.)
* Various cleanups I made while going through Erik Hovland's patch submissions,Gravatar Rob Landley2006-06-251-1/+1
| | | | some of which are even from him. :)
* - 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.
* use more boiler plate GPL noticesGravatar Mike Frysinger2006-04-161-3/+2
|
* - patch from Denis Vlasenko to add and use bb_xopen3()Gravatar Bernhard Reutner-Fischer2006-04-131-18/+11
|
* - patch from Denis Vlasenko to add and use bb_xchdir()Gravatar Bernhard Reutner-Fischer2006-04-121-6/+3
|
* can use TMPDIR if user's HOMEDIR do not found. Noticed by BernhardGravatar "Vladimir N. Oleynik"2006-01-101-2/+2
|
* Larry Doolittle writes:Gravatar Eric Andersen2004-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* more crond+crontab integrating with loginutil libbb functions and deletedGravatar Glenn L McGrath2003-09-031-27/+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-2/+2
| | | | | constant. Vodz last_patch_107
* Patch from Lars Kellogg-Stedman:Gravatar Eric Andersen2003-07-141-1/+1
| | | | | Busybox vi is installed in /bin/vi, but crontab was looking for /usr/bin/vi. This patch makes crontab look for /bin/vi instead.
* Major coreutils update.Gravatar Manuel Novoa III2003-03-191-14/+14
|
* last_patch64 from Vladimir N. Oleynik <dzo@simtreas.ru>Gravatar Glenn L McGrath2002-11-101-2/+2
|
* 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/+393