summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Final updates for release.0_46Eric Andersen2000-07-116-8/+27
| | | | -Erik
* Final update for the release.Eric Andersen2000-07-111-0/+4
|
* Forgot to commit these cleanups it seems.Eric Andersen2000-07-1116-22/+8
| | | | -Erik
* More changelog updatesEric Andersen2000-07-111-3/+4
| | | | -Erik
* Added changelog entries for grep/sed/regex changes.Mark Whitley2000-07-111-0/+3
|
* Some changelog updates.Eric Andersen2000-07-111-1/+4
| | | | -Erik
* Re-enable ln -n in the help.Eric Andersen2000-07-112-4/+0
| | | | -Erik
* Another patch from Matt Kraai <kraai@alumni.carnegiemellon.edu>:Eric Andersen2000-07-112-54/+4
| | | | | | | | | | > > The following patch allows ln -n to function like GNU. It also fixes a > typo with my previous patch to add support for ln FILE DIRECTORY. And > it removes some code that checks the maximum length of the filenames. I > can't figure out why that code is necessary. Anyone know? > > Matt
* Added 'dumpkmap' to allow people to dump a binary keymap, which can then beEric Andersen2000-07-1111-14/+248
| | | | | loaded in by 'loadkmap' -- submitted by Arne Bernin <arne@matrix.loopback.org> -Erik
* Applied patch from Matt Kraai which does the following:Mark Whitley2000-07-116-195/+120
| | | | | | | - adds case-insensitive matching in sed s/// epxressions - consolodates common regcomp code in grep & sed into bb_regcomp and put in utility.c - cleans up a bunch of cruft
* Fix dead link.Matt Kraai2000-07-111-1/+1
| | | | -Matt
* Fixed NFS so it supports 2.4.x kernels and NFSv3. Should close bug #1009.Eric Andersen2000-07-108-1799/+1240
| | | | -Erik
* Removed all trace of hand-tooled regexp routines. Bye bye, baby.Mark Whitley2000-07-103-823/+1
|
* Added a rule to make tags files for vi(m).Mark Whitley2000-07-101-0/+4
|
* Comment on kernel stuffEric Andersen2000-07-107-14/+6
| | | | -Erik
* Brand, new sed that uses libc regex routines.Mark Whitley2000-07-102-560/+966
| | | | | | | There is some common code used by both sed & grep that should be put into utility.c as per Mat Kraai's suggestions/patch on the mailing list. Specifically, a common regex_compile() and a regex_subst() function need to be made.
* More linux kernel header file removal.Eric Andersen2000-07-104-8/+388
| | | | -Erik
* Remove yet more kernel header dependancies.Eric Andersen2000-07-1015-20/+16
| | | | -Erik
* Remove unused variable.Eric Andersen2000-07-102-2/+2
| | | | -Erik
* Remove the problematic CTRLCHAR macro.Eric Andersen2000-07-102-20/+16
| | | | -Erik
* Put the GROWBY variable inside the get_line_from_file function, as that is theMark Whitley2000-07-101-1/+2
| | | | | only function where it's used and it's always good to keep the namespace clean. :-)
* Removed unnecessary #include "regexp.h" line from find.c as per Matt Kraai'sMark Whitley2000-07-102-2/+0
| | | | suggestion on the mailing list.
* Function name cleanup.Eric Andersen2000-07-103-123/+135
| | | | -Erik
* From Matt Kraai <kraai@alumni.carnegiemellon.edu>:Eric Andersen2000-07-106-20/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | Howdy, Bug #1006 reports that ln -s /tmp/foo . does not work correctly. In fact, it appears that any instantiation of ln -s FILE... DIRECTORY does not work. The following patch adds support for this form, which then fixes the particular instance noted in the bug report. In the process, I needed the basename function. This appears in the string.h provided by glibc, but not uC-libc. So I wrote my own to go in utility.c, called get_last_path_component. I also modified the basename utility to use this function. At some point it might be desirous to use the basename from the library if it exists, and otherwise compile our own. But I don't know how to do this. Matt
* Patch from Matt Kraai <kraai@alumni.carnegiemellon.edu>:Eric Andersen2000-07-102-4/+8
| | | | | | | | | | | | | | | | | | | GNU tr complains on the following: $ tr a '' tr: when not truncating set1, string2 must be non-empty BusyBox tr does not complain: $ tr a '' a ^D 0 It should result in an error, not in some spurious output. The attached patch generates an error. Matt
* Applied patch from Matt Kraai as per his email:Mark Whitley2000-07-102-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | However, the case of grep foo$ file didn't work, due to a problem with the flags used in regular expression compilation. The attached patch fixes this problem. ---patch------- Index: grep.c =================================================================== RCS file: /var/cvs/busybox/grep.c,v retrieving revision 1.30 diff -u -r1.30 grep.c --- grep.c 2000/07/04 22:17:01 1.30 +++ grep.c 2000/07/10 08:57:04 @@ -141,8 +141,10 @@ if (argv[optind] == NULL) usage(grep_usage); - /* compile the regular expression */ - reflags = REG_NOSUB; /* we're not going to mess with sub-expressions */ + /* compile the regular expression + * we're not going to mess with sub-expressions, and we need to + * treat newlines right. */ + reflags = REG_NOSUB | REG_NEWLINE; if (ignore_case) reflags |= REG_ICASE; if ((ret = regcomp(&regex, argv[optind], reflags)) != 0) { ---patch------- Thanks, Matt, it works great.
* More portability updates. Now compiles cleanly vs glibc, libc5, and uclibcEric Andersen2000-07-0914-12/+34
| | | | | | (except for mkfs_minix and fsck_minix -- and it doesn't yet link vs uclibc due to missing stuff in the library). -Erik
* include getopt.hEric Andersen2000-07-092-2/+2
| | | | -Erik
* Fix a bug in get_line_from_file. If the length of the line is (GROWBY * n) +Eric Andersen2000-07-091-1/+1
| | | | | | GROWBY - 1, then it writes the null character just after the buffer. Yipe. Fix thanks to Matt Kraai <kraai@alumni.carnegiemellon.edu> Thanks Matt! -Erik
* The build depends were too strict. I depended on on debhelper (>= 2.0.80)Eric Andersen2000-07-091-1/+1
| | | | | | while debhelper 1.1.24 is available for slink. Just forget the dependancy -- it isn't needed. -Erik
* Argh. More cross libc cleanup. Should be ok now...Eric Andersen2000-07-085-49/+66
| | | | -Erik
* More cleanup on umountEric Andersen2000-07-082-10/+34
| | | | -Erik
* Update files to reduce dependance on kernel version...Eric Andersen2000-07-0823-87/+184
| | | | -Erik
* Add in tinynetEric Andersen2000-07-081-0/+1
| | | | -Erik
* Doc updates to remove sfdisk.Eric Andersen2000-07-082-118/+3
| | | | -Erik
* Better description of the BB_FEATURE_USE_DEVPS_PATCH option.Eric Andersen2000-07-071-6/+12
| | | | -Erik
* Add in my fix for 2.4.x kernels so /proc/mounts will not have uselessEric Andersen2000-07-072-0/+66
| | | | | | deg entries which break mount, df, and friends. Renamed WillThisGoIntoTheKernel to avoid any confision. -Erik
* Removed sfdisk from BusyBox. It was buggy, fat, and we really couldn'tEric Andersen2000-07-075-3006/+4
| | | | | | maintain it very well, so including it was not very appropriate. Those wanting an fdisk are invited to grab a copy from util-linux. -Erik
* Added in Matt Kraai.Eric Andersen2000-07-071-1/+3
| | | | -Erik
* Fix a dependancy bug for the docs.Eric Andersen2000-07-071-3/+2
| | | | -Erik
* Naming fixEric Andersen2000-07-072-6/+6
| | | | -Erik
* Recognize Matt's poweroff fix.Eric Andersen2000-07-071-3/+6
| | | | -Erik
* Fix for bug #1003 -- BusyBox should now poweroff when asked toEric Andersen2000-07-072-2/+2
| | | | | do so... Fix thanks to Matt Kraai <kraai@alumni.carnegiemellon.edu> -Erik
* Web page update from Matt Kraai <kraai@alumni.carnegiemellon.edu>Eric Andersen2000-07-071-2/+2
| | | | -Erik
* This patch finishes the cleanup of all the commands. It also cleans upEric Andersen2000-07-071-1683/+1042
| | | | | the remaining chapters -- Matt Kraai <kraai@alumni.carnegiemellon.edu> -Erik
* Yet another busybox documentation update from Matt Kraai ↵Eric Andersen2000-07-071-662/+415
| | | | | | <kraai@alumni.carnegiemellon.edu> -Erik
* Update 'make release' to remove all the .#filename filesEric Andersen2000-07-061-0/+5
| | | | | the CVS leaves lying about... -Erik
* Turned some stuff into features that really are features, not apps.Eric Andersen2000-07-067-23/+28
| | | | -Erik
* Fix doc building so the dependancies work properly.Eric Andersen2000-07-061-28/+29
| | | | -Erik
* * Fixed tar creation support when reading from stdin ('tar -cf - . ')Eric Andersen2000-07-063-0/+6
| | | | | thanks to Daniel Quinlan <quinlan@transmeta.com> -Erik