summaryrefslogtreecommitdiff
path: root/editors (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-064-4/+4
| | | | definitions. (That should only be on prototypes.)
* - use absolute path for top_builddir and top_srcdir.Bernhard Reutner-Fischer2006-03-021-0/+4
| | | | Fixes make trying to include the very same file in an endless loop.
* - silence warning about "'free_and_close_stuff' used but never defined"Bernhard Reutner-Fischer2006-03-021-3/+3
|
* - fixes parallel builds (make -j)Bernhard Reutner-Fischer2006-03-011-23/+12
| | | | - use less resources for the buildsystem itself
* - fix compilation of sed.Bernhard Reutner-Fischer2006-03-011-7/+7
| | | | | | | | error: static declaration of 'free_and_close_stuff' follows non-static declaration Tiny whitespace cleanup while at it, also make sure that we don't use CONFIG_ anymore. Rob, hope this is ok w/ you..
* Cleanup patch from Denis Vlasenko. Mostly variants of removing the if(x)Rob Landley2006-03-011-4/+2
| | | | from before "if(x) free(x)".
* A few changes falling out from the effort to make sed handle embedded NUL bytes.Rob Landley2006-02-241-18/+26
| | | | Checking in to reduce the diff between my tree and svn...
* Don't build directory libraries unless we're building an applet that needs it.Rob Landley2006-02-211-0/+2
| | | | Cherry-picked from Devin Bayer's big MacOS X patch.
* Patch from awk maintainer (Dmitry Zakhrov) to fix bugs 642, 663, and 667.Rob Landley2006-02-141-5/+13
|
* make the build system puuuuuuuuuuurtyMike Frysinger2006-02-021-3/+2
|
* changed strange mix signed<->unsigned"Vladimir N. Oleynik"2006-01-311-4/+4
|
* fix up yet more annoying signed/unsigned and mixed type errorsEric Andersen2006-01-301-13/+13
|
* clean up yet more annoying signed/unsigned mismatches and fixupEric Andersen2006-01-301-1/+1
| | | | yet more incorrect types
* removed warning "comparison between signed and unsigned". Added ↵"Vladimir N. Oleynik"2006-01-301-8/+7
| | | | ATTRIBUTE_UNUSED. Whitespace
* just whitespaceTim Riker2006-01-252-14/+14
|
* - add platform.h.Bernhard Reutner-Fischer2006-01-221-16/+3
| | | | - use shorter boilerplate while at it.
* - shared libbusybox.Bernhard Reutner-Fischer2006-01-151-3/+6
| | | | | - IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
* Bug 112, return value of awk should be /256. In reality, we should probablyRob Landley2006-01-091-1/+1
| | | | | | be using WEXITSTATUS(), but until I can figure out why the heck that would want to do (*(int *) &(status)) on the value, I'm happy just fixing the bug we actually see.
* fix bug #474:Paul Fox2005-11-281-14/+3
| | | | | | | | | | | | | 0000474: vi crashes often problem was that the buffer used for "." command ("last_modifying_cmd") wasn't being maintined correctly -- the recording code was walking back over the front of that buffer when a repeatable insert command included backspacing (e.g. "i\b\b\bfoo"). the fix is to simply record the backspaces along with the rest of the command. also, cleaned up start_new_cmd_q() slightly.
* Support # comments after s/// option list.Rob Landley2005-11-201-32/+14
|
* \0 is a synonym for &. Our own "make allbaseconfig" breaks without this.Rob Landley2005-10-301-2/+2
|
* - correct boilerplateBernhard Reutner-Fischer2005-10-271-2/+2
| | | | - use bb_xgetlarg for the patch_level to catch invalid arguments.
* more const, attribute_noreturn saved 200 bytes"Vladimir N. Oleynik"2005-10-191-24/+26
|
* - consume space between functionname and opening bracketsBernhard Reutner-Fischer2005-10-171-1/+2
| | | | Fixes Rob's issue using busybox awk for building gcc-4_0 optionlist (http://busybox.net/lists/busybox/2005-October/016659.html)
* common BUFSIZ BSS buffer, small reduce code, data and bss"Vladimir N. Oleynik"2005-10-151-1/+2
|
* - do not use bb_xgetularg10_bnd as a lower value of -1 doesn't work due to loweBernhard Reutner-Fischer2005-10-101-20/+6
| | | | | | being unsigned. - minor correction: use stdin only when no file was given via -i. - use shorter boilerplate.
* catch and report errors from file_write()Paul Fox2005-10-091-15/+28
|
* make Hit_Return() available when CONFIG_FEATURE_VI_COLON is off. it'sPaul Fox2005-10-091-2/+3
| | | | needed elsewhere as well now.
* change strange depend to libbb.h, but require busybox.h"Vladimir N. Oleynik"2005-10-061-1/+0
|
* as pointed out in Bug 17, use uint32_t instead of unsigned long since the ↵Mike Frysinger2005-09-271-20/+20
| | | | code expects the size of the info variables to be 32bits and sizeof(long) on 64bit hosts is not 32bits
* eat misappropriated whitespaceMike Frysinger2005-09-271-66/+66
|
* uncuddle function scope bracketsMike Frysinger2005-09-271-116/+116
|
* use the shorter license headerMike Frysinger2005-09-241-15/+2
|
* use brief license lineMike Frysinger2005-09-241-15/+2
|
* initialize a couple of vars whose warnings were suppressed becausePaul Fox2005-09-161-1/+1
| | | | i was building w/ debug on before, which suppresses optimization.
* some combinations of status line and screen refresh don't give aPaul Fox2005-09-161-76/+112
| | | | | | | | | | | | | | | | | correct screen, and bug 215 reports trouble with the status line on small screens. with this change a) the status line should always be refreshed properly, b) the status line is a little shorter than it used to be ("I" instead of "--INSERT--"), c) the status line will be truncated if it doesn't fit on the screen, and d) if the screen is too narrow for an error or transient status message (from psb() or psbs()), then that message will be followed by a "Hit Return" prompt. (it wasn't until i did this last bit that the size grew. with this, these changes add about 150 bytes.) - pgf
* split libbb: moved xregcomp separatelly for speed up recompile"Vladimir N. Oleynik"2005-09-142-2/+2
|
* removed strange extern void xregcomp(... from some applets, but declared ↵"Vladimir N. Oleynik"2005-09-141-1/+0
| | | | from libbb.h
* allow either backspace or DEL, in addition to the user's erasePaul Fox2005-09-131-1/+2
| | | | char, to be used in get_input_line()
* Missing break was screwing up 'y//' command. Bug #248.Rob Landley2005-09-021-0/+1
|
* Patch -i support from Berhnard Fischer.Rob Landley2005-09-011-9/+19
|
* use toplevel ARFLAGS and update default ARFLAGS to be quietMike Frysinger2005-07-271-1/+1
|
* applying fix for:Paul Fox2005-07-201-0/+1
| | | | | 0000118: vi join command does not mark file as modified for certain lines.
* allow both ^H and DEL to backspace in insert mode (bug #23)Paul Fox2005-07-181-4/+4
|
* Fix vi so that error messages, insert mode messages, etc areEric Andersen2005-07-181-12/+37
| | | | all actually displayed in the status line as expected
* Patch from Dmitry Zakharov:Rob Landley2005-06-071-2/+1
| | | | | | | | | | | | | | | Charlie Brady wrote: > Here's another awk parsing problem - unary post increment - pre is fine: > >bash-2.05a$ echo 2,3 | gawk -F , '{ $2++ }' >bash-2.05a$ echo 2,3 | /tmp/busybox/busybox awk -F , '{ $2++ }' >awk: cmd. line:1: Unexpected token > Here's a fix for this. There is another problem with constructions like "print (A+B) ++C", I don't know whether somebody uses such constructions (fixing both these problems would require very serious change in awk code).
* Patch from Colin Watson (mangled slightly by Rob Landley):Rob Landley2005-05-181-6/+10
| | | | | | | | | | This patch implements the 'T' command in sed. This is a GNU extension, but one of the udev hotplug scripts uses it, so I need it in busybox anyway. Includes a test; 'svn add testsuite/sed/sed-branch-conditional-inverted' after applying.
* Doug Swarin pointed out a security bug in the -i option of sed.Rob Landley2005-05-181-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While the permissions on the temp file are correct to prevent it from being maliciously mangled by passing strangers, (created with 600, opened O_EXCL, etc), the permissions on the _directory_ might not be, and we re-open the file to convert the filehandle to a FILE * (and automatically get an error message and exit if the directory's read-only or out of space or some such). This opens a potential race condition if somebody's using dnotify on the directory, deletes/renames the tempfile, and drops a symlink or something there. Somebody running sed -i as root in a world writeable directory could do damage. I dug up notes on an earlier discussion where we looked at the security implications of this (unfortunately on the #uclibc channel rather than email; I don't have a transcript, just notes-to-self) which pointed out that if the permissions on the directory allow other people's files to be deleted/renamed then the original file is vulnerable to sabotage anyway. However, there are two cases that discussion apparently didn't take into account: 1) Using another user's permissions to damage files in other directories you can't access (standard symlink attack). 2) Reading data another user couldn't otherwise access by having the new file belong to that other user. This patch uses fdopen to convert the filehandle into a FILE *, rather than reopening the file.
* Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen2005-04-161-12/+12
| | | | which were otherwise cluttering the global namespace.
* In Bug 208, bernhardf writes:Mike Frysinger2005-04-161-6/+6
| | | | | | On machines with only ANSI compliant compilers, not explitily delcaring an empty parameter list 'void' causes failure.