summaryrefslogtreecommitdiff
path: root/libbb/appletlib.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Changes to allow building with MinGW-w64Ron Yorston2015-01-051-0/+12
|
* Merge branch 'busybox' into mergeRon Yorston2014-12-141-2/+4
|\ | | | | | | | | | | | | Conflicts: archival/libarchive/open_transformer.c libbb/lineedit.c miscutils/man.c
| * exit with 127 if appled name wasn't found - it's more POSIXyDenys Vlasenko2014-11-171-2/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2014-10-061-10/+19
|\|
| * false: make "false --help" exit with 1Denys Vlasenko2014-09-181-8/+18
| | | | | | | | | | | | | | function old new delta run_applet_no_and_exit 447 445 -2 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * init: if libc-based Unicode support is on, run setlocale(LC_ALL, "") at startupDenys Vlasenko2014-08-111-2/+1
| | | | | | | | | | | | | | | | It is not clear why we were excluding init from this. The "getpid() != 1" clause was there from the beginning (2001) but not explained. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Move handling of Windows globbing out of upstream codeRon Yorston2014-04-211-5/+0
| |
* | Alter help message if configured with standalone shellRon Yorston2014-03-231-0/+9
| |
* | Drop CONFIG_WIN32_NET settingRon Yorston2014-03-171-1/+3
| |
* | Convert argv[0] to lowercase before checking for '.exe'Ron Yorston2014-03-171-5/+8
| |
* | Merge branch 'busybox' into mergeRon Yorston2014-03-111-1/+5
|\|
| * appletlib: fix set-but-unused warningMike Frysinger2014-01-311-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | When you build with FEATURE_INSTALLER disabled, you get a build warning like so: libbb/appletlib.c: In function 'busybox_main': libbb/appletlib.c:691:7: warning: variable 'use_symbolic_links' set but not used [-Wunused-but-set-variable] int use_symbolic_links; ^ Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Merge branch 'busybox' into mergeRon Yorston2013-08-271-1/+1
|\|
| * Whitespace fixesDenys Vlasenko2013-07-301-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2013-03-191-1/+1
|\|
| * make --help return exitcode 0. Closes 5612Denys Vlasenko2013-02-281-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2013-02-071-8/+12
|\|
| * code shrinkDenys Vlasenko2013-01-171-8/+12
| | | | | | | | | | | | | | | | function old new delta applet_name_compare 36 31 -5 find_applet_by_name 43 25 -18 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Add a build option to turn MSVCRT globbing on or offRon Yorston2012-12-101-1/+1
| |
* | Revised quoting of command line arguments for WIN32Ron Yorston2012-10-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * We only need to quote an argument if it contains whitespace. * There's no point in quoting ? or * because Windows still expands them. Anyhow, if the command line comes from a BusyBox shell it will usually have handled the globbing, so we should turn off Windows globbing for any wildcard that has made it through the shell without expansion. This means that BusyBox commands run from cmd.exe won't do wildcard expansion, though. * Backslashes only need to be doubled if they occur immediately before double quotes. * Double quotes need to be escaped with a backslash.
* | Merge branch 'busybox' into mergeRon Yorston2012-09-071-4/+4
|\| | | | | | | | | | | Conflicts: include/libbb.h shell/ash.c
| * Simplify copyright/license notice that appears in the binary.Bradley M. Kuhn2012-07-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | Existing copyright notice for binary would need to be longer to achieve optimal accuracy. This compromise punts to the source for full notices, but does note the years of the copyrights and that there are many authors, all licensing under GPLv2. Signed-off-by: Bradley M. Kuhn <bkuhn@ebb.org> Signed-off-by: Tony Sebro <tony@sfconservancy.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * busybox: tweak help text and copyright yearDenys Vlasenko2012-05-141-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Initialise winsock once in appletlib, not in appletsRon Yorston2012-04-241-0/+2
| |
* | Merge branch 'busybox' into mergeRon Yorston2012-03-231-3/+6
|\| | | | | | | | | Conflicts: Makefile.flags
| * busybox: tweak help textDenys Vlasenko2012-03-221-3/+6
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'c0cae52662ccced9df19f19ec94238d1b1e3bd71' into mergeRon Yorston2012-03-231-1/+1
|\| | | | | | | | | | | Conflicts: Makefile.flags scripts/basic/fixdep.c
| * rename archive.h to bb_archive.h. no code changesDenys Vlasenko2011-09-221-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'd84b175cb6948eb17f847313bf912174e2f934e1' into mergeRon Yorston2012-03-221-1/+1
|\| | | | | | | | | Conflicts: include/platform.h
| * Bump version to 1.19.0, update copyright year in help message1_19_0Denys Vlasenko2011-08-131-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '066f39956641300c1e5c6bfe6c11a115cea3e2cf' into mergeRon Yorston2012-03-221-13/+2
|\| | | | | | | | | Conflicts: procps/ps.c
| * appletlib.c: do not use PAGE_SIZE for malloc tweakingDenys Vlasenko2011-06-031-13/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '56a3b82e9692a25ef9c9269e88feac0d579ce8e8' into mergeRon Yorston2012-03-221-116/+97
|\| | | | | | | | | | | | | Conflicts: coreutils/ls.c include/platform.h libbb/bb_basename.c
| * warning removalCristian Ionescu-Idbohrn2011-05-201-1/+1
| | | | | | | | | | Signed-off-by: Cristian Ionescu-Idbohrn <cii@axis.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * busybox.conf: code shrinkDenys Vlasenko2011-05-161-13/+12
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * busybox.conf: USER.GROUP is _optional_Denys Vlasenko2011-05-161-7/+6
| | | | | | | | | | | | | | function old new delta main 785 809 +24 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * main: make busybox.conf mode handling less obscureDenys Vlasenko2011-05-161-33/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta static.mode_mask - 20 +20 main 782 785 +3 static.mode_chars 15 13 -2 run_applet_no_and_exit 450 441 -9 mode_mask 24 - -24 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 1/2 up/down: 41/-53) Total: -12 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * main: free suid_config list after useDenys Vlasenko2011-05-161-33/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta run_applet_no_and_exit 438 450 +12 ifupdown_main 2147 2149 +2 writeFileToTarball 1325 1326 +1 pidof_main 244 245 +1 last_main 896 897 +1 grep_main 779 780 +1 find_list_entry2 121 122 +1 tar_main 835 833 -2 llist_unlink 28 26 -2 llist_rev 23 21 -2 main 791 782 -9 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 7/4 up/down: 19/-15) Total: 4 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * simplify parsing of /etc/busybox.confDenys Vlasenko2011-05-161-45/+30
| | | | | | | | | | | | | | function old new delta parse_config_file 799 667 -132 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'b83c9704128dd106071184e4b00335a3b8486857' into mergeRon Yorston2012-03-221-1/+1
|\|
| * Fix double words in comments. No code changesMarek Polacek2011-04-161-1/+1
| | | | | | | | | | Signed-off-by: Marek Polacek <mpolacek@redhat.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '19311bfa7b8e8c6effa9c375de9b0eb4338bee12' into mergeRon Yorston2012-03-221-5/+15
|\| | | | | | | | | | | Conflicts: coreutils/ls.c shell/ash.c
| * busybox: fail if --install is not given an absolute pathDenys Vlasenko2011-03-121-4/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * improve --install operation in chroot jailsDenys Vlasenko2011-03-061-5/+16
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '8d0e0cdadf726beab28ccdc7d69738c1534e1f74' into mergeRon Yorston2012-03-211-2/+2
|\| | | | | | | | | | | | | Conflicts: include/platform.h libbb/Kbuild.src libbb/messages.c
| * mass removal of underscores from _BB_DIR_foo and _BB_SUID_fooDenys Vlasenko2011-01-181-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge remote-tracking branch 'upstream/master'Nguyễn Thái Ngọc Duy2011-01-041-36/+43
|\|
| * add if guards around include <malloc.h>Denys Vlasenko2010-12-051-1/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * exclude the case of just "busybox" from previous commitDenys Vlasenko2010-11-291-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * if only one applet is enabled, make "busybox applet [params]" work as expectedDenys Vlasenko2010-11-291-29/+33
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>