aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Final update for the release.andersen2000-07-111-0/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@820 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Forgot to commit these cleanups it seems.andersen2000-07-1116-22/+8
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@819 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More changelog updatesandersen2000-07-111-3/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@818 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added changelog entries for grep/sed/regex changes.markw2000-07-111-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@817 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some changelog updates.andersen2000-07-111-1/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@816 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Re-enable ln -n in the help.andersen2000-07-112-4/+0
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@815 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another patch from Matt Kraai <kraai@alumni.carnegiemellon.edu>: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 git-svn-id: svn://busybox.net/trunk/busybox@814 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added 'dumpkmap' to allow people to dump a binary keymap, which can then beandersen2000-07-1111-14/+248
| | | | | | | | loaded in by 'loadkmap' -- submitted by Arne Bernin <arne@matrix.loopback.org> -Erik git-svn-id: svn://busybox.net/trunk/busybox@813 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from Matt Kraai which does the following:markw2000-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 git-svn-id: svn://busybox.net/trunk/busybox@812 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix dead link.kraai2000-07-111-1/+1
| | | | | | | -Matt git-svn-id: svn://busybox.net/trunk/busybox@811 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed NFS so it supports 2.4.x kernels and NFSv3. Should close bug #1009.andersen2000-07-108-1799/+1240
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@810 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Removed all trace of hand-tooled regexp routines. Bye bye, baby.markw2000-07-103-823/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@809 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added a rule to make tags files for vi(m).markw2000-07-101-0/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@808 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Comment on kernel stuffandersen2000-07-107-14/+6
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@807 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Brand, new sed that uses libc regex routines.markw2000-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. git-svn-id: svn://busybox.net/trunk/busybox@806 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More linux kernel header file removal.andersen2000-07-104-8/+388
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@805 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove yet more kernel header dependancies.andersen2000-07-1015-20/+16
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@804 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove unused variable.andersen2000-07-102-2/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@803 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove the problematic CTRLCHAR macro.andersen2000-07-102-20/+16
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@802 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Put the GROWBY variable inside the get_line_from_file function, as that is themarkw2000-07-101-1/+2
| | | | | | | | only function where it's used and it's always good to keep the namespace clean. :-) git-svn-id: svn://busybox.net/trunk/busybox@801 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Removed unnecessary #include "regexp.h" line from find.c as per Matt Kraai'smarkw2000-07-102-2/+0
| | | | | | | suggestion on the mailing list. git-svn-id: svn://busybox.net/trunk/busybox@800 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Function name cleanup.andersen2000-07-103-123/+135
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@799 69ca8d6d-28ef-0310-b511-8ec308f3f277
* From Matt Kraai <kraai@alumni.carnegiemellon.edu>: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 git-svn-id: svn://busybox.net/trunk/busybox@798 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Matt Kraai <kraai@alumni.carnegiemellon.edu>: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 git-svn-id: svn://busybox.net/trunk/busybox@797 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from Matt Kraai as per his email:markw2000-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. git-svn-id: svn://busybox.net/trunk/busybox@796 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More portability updates. Now compiles cleanly vs glibc, libc5, and uclibcandersen2000-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 git-svn-id: svn://busybox.net/trunk/busybox@795 69ca8d6d-28ef-0310-b511-8ec308f3f277
* include getopt.handersen2000-07-092-2/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@793 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a bug in get_line_from_file. If the length of the line is (GROWBY * n) +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 git-svn-id: svn://busybox.net/trunk/busybox@786 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The build depends were too strict. I depended on on debhelper (>= 2.0.80)andersen2000-07-091-1/+1
| | | | | | | | | while debhelper 1.1.24 is available for slink. Just forget the dependancy -- it isn't needed. -Erik git-svn-id: svn://busybox.net/trunk/busybox@782 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Argh. More cross libc cleanup. Should be ok now...andersen2000-07-085-49/+66
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@781 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More cleanup on umountandersen2000-07-082-10/+34
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@780 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update files to reduce dependance on kernel version...andersen2000-07-0823-87/+184
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@779 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in tinynetandersen2000-07-081-0/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@778 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Doc updates to remove sfdisk.andersen2000-07-082-118/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@777 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Better description of the BB_FEATURE_USE_DEVPS_PATCH option.andersen2000-07-071-6/+12
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@776 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in my fix for 2.4.x kernels so /proc/mounts will not have uselessandersen2000-07-072-0/+66
| | | | | | | | | deg entries which break mount, df, and friends. Renamed WillThisGoIntoTheKernel to avoid any confision. -Erik git-svn-id: svn://busybox.net/trunk/busybox@775 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Removed sfdisk from BusyBox. It was buggy, fat, and we really couldn'tandersen2000-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 git-svn-id: svn://busybox.net/trunk/busybox@774 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added in Matt Kraai.andersen2000-07-071-1/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@773 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a dependancy bug for the docs.andersen2000-07-071-3/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@772 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Naming fixandersen2000-07-072-6/+6
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@770 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Recognize Matt's poweroff fix.andersen2000-07-071-3/+6
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@769 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for bug #1003 -- BusyBox should now poweroff when asked toandersen2000-07-072-2/+2
| | | | | | | | do so... Fix thanks to Matt Kraai <kraai@alumni.carnegiemellon.edu> -Erik git-svn-id: svn://busybox.net/trunk/busybox@768 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Web page update from Matt Kraai <kraai@alumni.carnegiemellon.edu>andersen2000-07-071-2/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch finishes the cleanup of all the commands. It also cleans upandersen2000-07-071-1683/+1042
| | | | | | | | the remaining chapters -- Matt Kraai <kraai@alumni.carnegiemellon.edu> -Erik git-svn-id: svn://busybox.net/trunk/busybox@766 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yet another busybox documentation update from Matt Kraai ↵andersen2000-07-071-662/+415
| | | | | | | | | <kraai@alumni.carnegiemellon.edu> -Erik git-svn-id: svn://busybox.net/trunk/busybox@765 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update 'make release' to remove all the .#filename filesandersen2000-07-061-0/+5
| | | | | | | | the CVS leaves lying about... -Erik git-svn-id: svn://busybox.net/trunk/busybox@763 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Turned some stuff into features that really are features, not apps.andersen2000-07-067-23/+28
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@762 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix doc building so the dependancies work properly.andersen2000-07-061-28/+29
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@761 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * Fixed tar creation support when reading from stdin ('tar -cf - . ')andersen2000-07-063-0/+6
| | | | | | | | thanks to Daniel Quinlan <quinlan@transmeta.com> -Erik git-svn-id: svn://busybox.net/trunk/busybox@760 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed backspace and delete so they work properly again -- brokenandersen2000-07-063-4/+7
| | | | | | | | since 0.44. -Erik git-svn-id: svn://busybox.net/trunk/busybox@759 69ca8d6d-28ef-0310-b511-8ec308f3f277