aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* minor fixes for fbset bloatAaron Lehmann2002-08-131-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | <mjn3> printf("\tgeometry %u %u %u %u %u\n", v->xres, v->yres, <mjn3> v->xres_virtual, v->yres_virtual, v->bits_per_pixel); <mjn3> printf("\ttimings %u %u %u %u %u %u %u\n", v->pixclock, v->left_margin, <mjn3> v->right_margin, v->upper_margin, v->lower_margin, v->hsync_l <mjn3> en, <mjn3> v->vsync_len); <mjn3> printf("\taccel %s\n", (v->accel_flags > 0 ? "true" : "false")); <mjn3> printf("\trgba %u/%u,%u/%u,%u/%u,%u/%u\n", v->red.length, <mjn3> v->red.offset, v->green.length, v->green.offset, v->blue.leng <mjn3> th, <mjn3> v->blue.offset, v->transp.length, v->transp.offset); <mjn3> printf("endmode\n\n"); <mjn3> whay have multiple printf calls when one would do? <mjn3> and this: <mjn3> static struct cmdoptions_t { <mjn3> char *name; <mjn3> unsigned char param_count; <mjn3> unsigned char code; <mjn3> } g_cmdoptions[] = { <mjn3> { <mjn3> "-fb", 1, CMD_FB}, { <mjn3> (repeated entries) <mjn3> why isn't this constant? what about struct packing? inline the helper functions that are only referenced once.
* Added Familiar Linux to the projects listRobert Griebl2002-08-091-0/+1
|
* Patch from Rusell Nelson to document the -C switch for syslogdRobert Griebl2002-08-071-0/+1
|
* Added a help text for the -C option to syslogdRobert Griebl2002-08-071-1/+9
|
* Somehow I applied an old patch for the last commit - this one works now:Robert Griebl2002-08-061-4/+4
| | | | - Added \CregexC support to sed (sed testsuite reported no errors, btw)
* Added the \CregexpC syntax as an alternative for /regexp/ (like GNU sed)Robert Griebl2002-08-061-1/+5
|
* Fix silly typo. addgroup was using /etc/shadow for /etc/gshadow.Manuel Novoa III2002-08-061-2/+2
|
* Move #define MAXLINE so this compiles without circ buffers.Manuel Novoa III2002-08-061-3/+2
|
* Oops. Code things so it actually works this time around...Eric Andersen2002-08-051-22/+15
| | | | -Erik
* Joel Coltoff <joel@wmi.com> noticed that following a recentEric Andersen2002-08-051-2/+2
| | | | | | | change in uClibc that changed opening the /dev/log socket as SOCK_STREAM to SOCK_DGRAM, busybox syslogd no longer worked since it needed a matching change. This fixes it so it works once again.
* - updated a few copyright/left file headersRobert Griebl2002-08-054-6/+66
| | | | - documented most of my 0.61 changes in the ChangeLog
* Fixed a bug in xarg: string data was strcat'ed to a malloc'ed buffer - andRobert Griebl2002-08-031-8/+6
| | | | | malloc does not clear memory by default (somehow this worked on x86, but not on arm)
* Remove ckfree, and replace all references with free. Remove freefunc,Aaron Lehmann2002-08-021-59/+41
| | | | | which is also equivilent to free. Remove some if(x)free(x) redundancies.
* Joseph Chiu <josephc@idealab.com> found an off-by-one bug. oops!Eric Andersen2002-08-011-1/+1
|
* Applied a patch from Philip Blundell <pb@nexus.co.uk>:Robert Griebl2002-07-311-5/+7
| | | | Added support for ":x" as an alias for ":wq" to vi
* A couple of small bugfixes from Marshall M. Midden <m4@brecis.com>Eric Andersen2002-07-311-3/+6
|
* Be more portable with 'find' for those that prefer programmingEric Andersen2002-07-312-7/+7
| | | | on *BSD, etc. Formatting fixes, etc.
* Fixed a timing bug which occured when bb ash is run in a rxvt on theRobert Griebl2002-07-301-1/+2
| | | | | | HP iPAQ. Sometimes we get a SIGWINCH and want to print the prompt, although the prompt is not yet initialised (0) .. so just don't print a prompt as long as the prompt string is 0
* Added the -I (isofmt) options to date, which comes in handy for scriptsRobert Griebl2002-07-301-7/+55
| | | | (this is a confiureable option)
* Fixed a bug that I had introduced with the new "options" handling.Robert Griebl2002-07-291-7/+8
|
* Kill a silly warningEric Andersen2002-07-291-0/+2
|
* Patch from Tim Riker to allow tty* in inittab if the ttyEric Andersen2002-07-292-46/+16
| | | | actually exists -- serial console is not the issue...
* modprobe now also uses "options" from /etc/modules.confRobert Griebl2002-07-261-55/+99
|
* Fix for bug #1255 -- support for mount -t <type>Robert Griebl2002-07-251-8/+14
|
* Add support for /etc/filesystem when searching for an "auto" filesystemRobert Griebl2002-07-241-16/+52
| | | | This is bug #1246
* Commited patch from bug #1182Robert Griebl2002-07-241-7/+35
| | | | | Although ssrat@mailbag.com says this is not GNU behaviour, it really *is* (man nslookup)
* Patch for bug #1183: Added a -xdev option to find (configurable)Robert Griebl2002-07-242-0/+44
|
* Fix indentation. Support killall -q, for pcmcia-csEric Andersen2002-07-231-36/+52
| | | | -Erik
* Added tar -cz support (creating gzipped tar files without a gzip pipe)Robert Griebl2002-07-232-26/+95
|
* Fixed two compiler warningsRobert Griebl2002-07-212-5/+5
|
* Initial checkin of a very primitive hwclock replacementRobert Griebl2002-07-215-0/+248
|
* Applied syslogd fix submitted by Bart Visscher:Robert Griebl2002-07-191-1/+3
| | | | | | I am using BB 0.60.2 in a floppy distro, and the syslog (and logger) is unable to log the "<" char. This shows up in ppp logfiles. [...] #logger "<pcomp>" results in "comp>" arriving at the log.
* - Forgot to cvs add bb_asprintf.c (from vodz' patch #50)Robert Griebl2002-07-192-3/+91
| | | | | | | | | | - Applied Joel Coltoff's xconnect patch: On both my host system and with mipsel-linux for my embedded systems the function getservbyname() gives the port number already in host order. In fact, this is how it was used by rdate in version 0.60.3. The snapshot I have of the development tree from July 12, 2002 takes the port number and stuffs it into htons() before it uses it. This causes bugs in rdate, telnet and wget. This patch fixes that.
* Applied vodz' patches #49 and #50 (with a small correction in runshell.c)Robert Griebl2002-07-1918-79/+64
| | | | | | | | | #49: I found one memory overflow and memory leak in "ln" applet. Last patch reduced also 54 bytes. ;) #50: I found bug in loginutils/Makefile.in. New patch have also new function to libbb and aplied this to applets and other cosmetic changes.
* Added a compile time option to suppress the "Using fallback.." messageRobert Griebl2002-07-182-0/+5
| | | | if no busybox.conf file is existant.
* Fix for the totally broken adduser applet (parts/ideas from vodz and tito)Robert Griebl2002-07-161-18/+10
|
* Don't treat a non-existant/-readable config file as an empty config, butRobert Griebl2002-07-161-1/+2
| | | | use the compiled in _BB_SUID_* flags (same as for parse errors)
* Doh!Eric Andersen2002-07-141-1/+1
|
* Better clarify the CVS tree situationEric Andersen2002-07-131-16/+18
| | | | -Erik
* Try to be more clear about the current two-CVS-treesEric Andersen2002-07-131-10/+13
| | | | | situation. -Erik
* Accept the --passive-ftp cmd.line option. We always use passive ftp mode,Robert Griebl2002-07-121-8/+14
| | | | so it doesn't hurt (adds compatibility though)
* Fixup warnings and undefined operations that show up in gcc-3.1Eric Andersen2002-07-1111-16/+26
| | | | -Erik
* Brad Campbell <brad@seme.com.au> notes thatEric Andersen2002-07-111-1/+2
| | | | | xconnect.c needs #include <netinet/in.h> to compile if CONFIG_FEATURE_IPV6 is not defined
* Some minor bits of scrubbingEric Andersen2002-07-082-12/+16
|
* Patch from Stewart Brodie <stewart.brodie@pace.co.uk> to fix ash:Eric Andersen2002-07-041-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When alias support is not configured, ash believes that command parameters that look like dd's "if=/dev/zero" are requests to set a temporary environment variable whilst dd is running, even though it appears after the command name. This is caused by the re-use of the checkalias global variable to indicate when both alias checking and environment variable checking. The failure to reset this flag is due to the reset action being performed only inside the feature check CHECK_ASH_ALIAS. Hence ash works as expected when aliases are configured in, and fails when not. Example script using 'date' with different settings of TZ: # TZ=Europe/London # export TZ # date Thu May 30 17:18:49 BST 2002 # TZ=America/New_York date Thu May 30 12:19:10 EDT 2002 # date Thu May 30 17:19:12 BST 2002 # date TZ=America/New_York Thu May 30 12:19:30 EDT 2002 <----- wrong, should be BST time (or error!) # date Thu May 30 17:19:35 BST 2002 Attached is a patch against revision 1.52 of ash.c which moves the checks so that checkalias is updated regardless of whether CONFIG_ASH_ALIAS is set. With this patch applied, the command shown above which should generate an error does generate an error. I have tested this patch with the 'dd' command too and that now works correctly.
* This is last_patch48 from vodz. More cleanups, kills a bitEric Andersen2002-07-031-19/+21
| | | | of dead code, fixes one blatent bug.
* Scrub pwd.h and grp.h handling so we don't have to play anyEric Andersen2002-07-0331-42/+42
| | | | | silly games. -Erik
* tito <farmatito@tiscali.it> noticed that delgroup was actuallyEric Andersen2002-07-031-1/+1
| | | | setting CONFIG_DELUSER. Oops.
* A patch from Bart Visscher <magick@linux-fan.com> to add anEric Andersen2002-07-034-117/+93
| | | | | | | | | xconnect helper routine which does: -address and port resolving -tries to connect to all resolved addresses until connected -uses getaddrinfo, so works for IPv6 too This patch also ports rdate, telnet, and wget to use the new xconnect function. Thanks Bart!
* This patch from Bart Visscher <magick@linux-fan.com> addsEric Andersen2002-07-0315-16/+1225
| | | | | | | | | | | | | | | IPV6 support to busybox. This patch does the following: * Add IPv6 support to libbb * Enable IPv6 interface address display * Add IPv6 config option * Adds ping6, an adaptation of the ping applet for IPv6 * Adds support routines for ping6: - xgethostbyname2 - create_icmp6_socket * Adds ifconfig support for IPv6 * Add support IPv6 to netstat * Add IPv6 support to route Thanks Bart!