aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* A strict interpretation of the ustar format requires the type flag to bebug12004-02-201-11/+8
| | | | | | | | interpreted, we cannot depend on the file type being set in the mode field. git-svn-id: svn://busybox.net/trunk/busybox@8520 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add extra comments, freakout if a pax archive is encoutered.bug12004-02-191-9/+24
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8519 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Chris Larson (kergoth) writes:andersen2004-02-191-16/+6
| | | | | | | | | | | | | | As Manuel points out, this is a flawed fix, and doesnt fix the following: mkdir -p cpa cpb cpc cp -a cpa cpa/cpb/cpc Attached what appears to be a more sane fix. Apply on top of previous. Please confirm sanity. git-svn-id: svn://busybox.net/trunk/busybox@8517 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Chris Larson (kergoth) writes:andersen2004-02-191-0/+16
| | | | | | | | | | | | | | | | I was adding -s/--symbolic-link support to busybox cp when I noticed a bug with -r/-a. Test case: mkdir -p test/out cd test busybox cp -a * out/ Will never return until we run out of open files or similar. Coreutils cp on the other hand will error with "cannot copy a directory, `out', into itself, `out'". Patch attached. git-svn-id: svn://busybox.net/trunk/busybox@8516 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont use same variable and struct namebug12004-02-181-35/+37
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8514 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Formattingbug12004-02-181-142/+146
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8513 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove debuggingbug12004-02-181-7/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8512 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from OpenWrt.mjn32004-02-181-3/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8511 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add -i option to sed, to edit files in-place.landley2004-02-181-7/+54
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8510 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix vstype[] to match VS* defines. Patch from OpenWrt by mbm.mjn32004-02-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8509 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove the unused CONFIG_FEATURE_HTTPD_SET_CGI_VARS_TO_ENV option.andersen2004-02-171-12/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8503 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Mark Lord writes:andersen2004-02-171-2/+5
| | | | | | | | | | | | | | | The config file processing for inetd in busybox-1.00-pre7 and newer is broken -- the saved command argv[] values overwrite each other. Patch to fix it is attached. Cheers -- Mark Lord Real-Time Remedies Inc. git-svn-id: svn://busybox.net/trunk/busybox@8502 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add the -r option, patch from Rob with some help from myself.bug12004-02-171-4/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8501 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove debuggingbug12004-02-171-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8500 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont strip trailing '/' until _after_ i test to set if its there !bug12004-02-171-12/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8499 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Florian Schirmer <jolt@tuxbox.org>. When I rewrote the parser,mjn32004-02-171-1/+3
| | | | | | | | I overlooked the case of someone wanting to use a valid but empty suid config file. git-svn-id: svn://busybox.net/trunk/busybox@8494 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Woops, im getting ahead of myself, we dont have the -r (refernece)bug12004-02-171-2/+4
| | | | | | | option yet git-svn-id: svn://busybox.net/trunk/busybox@8493 69ca8d6d-28ef-0310-b511-8ec308f3f277
* define option names to be clearer, simplify nested if statements, removebug12004-02-171-30/+29
| | | | | | | un-needed if statement, minor indenting change git-svn-id: svn://busybox.net/trunk/busybox@8492 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Avoid naming conflict with symbol in newer glibc headersandersen2004-02-141-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8479 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Accomodate the fact that newer libc versions may in fact notandersen2004-02-131-6/+29
| | | | | | | contain query_module and friends and more git-svn-id: svn://busybox.net/trunk/busybox@8464 69ca8d6d-28ef-0310-b511-8ec308f3f277
* oops. Leave the default feature set enbled for now...andersen2004-02-101-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8442 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Initial effort at disabling job control as wellandersen2004-02-101-6/+35
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8441 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Support disabling pipe and redirect supportandersen2004-02-101-40/+67
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8440 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update URLandersen2004-02-091-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8439 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Buffalo appears to have resolved their GPL problemsandersen2004-02-092-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8438 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Richard Kojedzinszky writes:andersen2004-02-061-2/+2
| | | | | | | | | | | | Hi All, I aplogoize for the mistake, but i have just recognized that somehow the last patch I sent in was wrong, and a '0' was instead of a '-1'. Because of this, vi does behave the wrong way. So again, it should be the last patch for vi. This is for pre7. git-svn-id: svn://busybox.net/trunk/busybox@8422 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz, based on bug report from Richard Kojedzinszky:andersen2004-02-061-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Richard, >I have a problem, which I can reproduce now. I am using pre7 version of >busybox, and the tab completion works fine. I mean, with an empty command >line I press the TAB twice, and ash shows me the available commands. But >when i process the profile file below, as > $ . /etc/profile >then it stops working, and the double-tab lists the directories available >from the cwd, and not the commands. Has someone else meet this problem >before, or am i doing something wrong? > >This is my '/etc/profile': >- --- ># System profile > >PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin >export PATH >trap ":" INT QUIT TERM > >export PS1="\h \w # " Thanks. Patch attached. --w vodz git-svn-id: svn://busybox.net/trunk/busybox@8421 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make the loop support stuff be much less evil, and make it copeandersen2004-02-064-81/+34
| | | | | | | | | | | | with 2.6.x asm/posix_types.h, which has done singularly evil thing by yanking __kernel_dev_t and renaming it. The loop interface was really poorly designed in the first place. The new 64 bit loop interface looks to be somewhat less horrible, too bad it is only present in 2.6.x kernels. -Erik git-svn-id: svn://busybox.net/trunk/busybox@8418 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Eliminate use of a kernel scsi header file.andersen2004-02-061-6/+5
| | | | | | | | Prevent potentially misaligned accesses while indexing a pointer to the partition table, which would be a bad thing on i.e. arm. git-svn-id: svn://busybox.net/trunk/busybox@8415 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make sure stdlib.h is always included before dmalloc.h to avoid problemsmjn32004-02-052-0/+2
| | | | | | | parsing problems. git-svn-id: svn://busybox.net/trunk/busybox@8412 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vladimir N. Oleynik writes:andersen2004-02-051-2/+2
| | | | | | | | | | | | | | Hi, Glenn. Current CVS "ls" applet have small problem: some options ignoring. Last patch attached ;-) --w vodz git-svn-id: svn://busybox.net/trunk/busybox@8411 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vladimir N. Oleynik writes:andersen2004-02-051-3/+1
| | | | | | | | | | | Ok. I found my mistake :( The trivial patch attached. --w vodz git-svn-id: svn://busybox.net/trunk/busybox@8410 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Elaborate on CONFIG_SELINUX, and explain that most people shouldandersen2004-02-051-0/+8
| | | | | | | not enbable this option. git-svn-id: svn://busybox.net/trunk/busybox@8406 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Grammar fixandersen2004-02-041-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8405 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor grammar fixupandersen2004-02-041-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8404 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bump version number for releaseandersen2004-02-044-1148/+154
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8402 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Richard Kojedzinszky writes:andersen2004-02-041-5/+8
| | | | | | | | | | | | Hi, I've noticed the bug also, and here is another patch for it. I hope it'll not introduce more bugs. Not too nice, but works for me. Here it is for busybox-1.00-pre6 git-svn-id: svn://busybox.net/trunk/busybox@8401 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Joe.C writes:andersen2004-02-041-1/+3
| | | | | | | | | | | | | | | Hi, When httpd connection is closed, bosybox httpd will not stop reading from CGI program. This patch fix this problem. It check the return value of bb_full_write and stop reading from CGI if the connection is closed. Please apply this patch. Joe.C git-svn-id: svn://busybox.net/trunk/busybox@8400 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Jean Wolter writes:andersen2004-02-041-1/+1
| | | | | | | | | | | | | | | | | | Hello, when calling seq with seq 1 1 it generates an "endless" list of numbers until the counter wraps and reaches 1 again. The follwoing small patch should introduce the expected behavior (output of 1 and termination): regards, Jean git-svn-id: svn://busybox.net/trunk/busybox@8399 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rob Landley writes:andersen2004-02-041-0/+17
| | | | | | | | | | | While building glibc with busybox as part of the development environment, I found a bug in glibc's regexec can throw sed into an endless loop. This fixes it. Should I put an #ifdef around it or something? (Note, this patch also contains the "this is not gnu sed 4.0" hack I posted earlier, which is also needed to build glibc...) git-svn-id: svn://busybox.net/trunk/busybox@8398 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The variable 'complementaly' used to be allocated with calloc, which zeroed itandersen2004-02-041-0/+2
| | | | | | | | | | | | out during the allocation process. When vodz changed it to be allocated on the stack, he forgot to explicitly zero it, leaving its value filled with whatever used to be sitting on the stack. It would garbage values, depending on the garbage that happened to be sitting on the stack when the function was called. The result was that applets using bb_getopt_ulflags() were showing unpredictable behavior (such as segfaults), which naturally broke many things. git-svn-id: svn://busybox.net/trunk/busybox@8397 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bug fix from Tito.bug12004-02-041-3/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8395 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vodz last_patch_125_2, this patch have: bug12004-02-042-15/+66
| | | | | | | | | | - synced with dash 0.4.21 - better handle trap "cmds..." SIGINT (strange, i make bad hack for ash and cmdedit, but this work only with this...) - may be haven`t problem with Ctrl-D git-svn-id: svn://busybox.net/trunk/busybox@8394 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrite parse_config_file(). Among the old version's problems:mjn32004-02-011-175/+220
| | | | | | | | | | | | | | No checking for lines that were too long. No checking that fgets returning NULL was actually due to EOF. Various whitespace handling inconsistencies. Bloat (switches and multiple identical function calls). Failure to check for trailing characters in some cases. Dynamicly allocated memory was not free()d on error. Given that this controls suid/sgid behavior, the sloppy coding was really inexcusable. :-( git-svn-id: svn://busybox.net/trunk/busybox@8390 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use bb_xstrdup() instead of strdup().mjn32004-02-011-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8388 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix http proxy use, bytes were swappedbug12004-01-311-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8385 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Mention changes to the daily snapshotsandersen2004-01-311-0/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8384 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update docs for releaseandersen2004-01-313-433/+814
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8383 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bump version for releaseandersen2004-01-311-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8382 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use standard C99 typesandersen2004-01-3019-117/+117
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8379 69ca8d6d-28ef-0310-b511-8ec308f3f277