aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix dietlibc test conditionbug12002-08-151-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5273 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Try to be a bit more dietlibc friendlyandersen2002-08-131-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5263 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Enable support for the old tar header format, enable via menu'sbug12002-08-132-5/+38
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5260 69ca8d6d-28ef-0310-b511-8ec308f3f277
* minor fixes for fbset bloataaronl2002-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. git-svn-id: svn://busybox.net/trunk/busybox@5259 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added Familiar Linux to the projects listsandman2002-08-091-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5240 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Rusell Nelson to document the -C switch for syslogdsandman2002-08-071-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5182 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added a help text for the -C option to syslogdsandman2002-08-071-1/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5181 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Somehow I applied an old patch for the last commit - this one works now:sandman2002-08-061-4/+4
| | | | | | | - Added \CregexC support to sed (sed testsuite reported no errors, btw) git-svn-id: svn://busybox.net/trunk/busybox@5165 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added the \CregexpC syntax as an alternative for /regexp/ (like GNU sed)sandman2002-08-061-1/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5164 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix silly typo. addgroup was using /etc/shadow for /etc/gshadow.mjn32002-08-061-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5163 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move #define MAXLINE so this compiles without circ buffers.mjn32002-08-061-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5162 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Oops. Code things so it actually works this time around...andersen2002-08-051-22/+15
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@5152 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Joel Coltoff <joel@wmi.com> noticed that following a recentandersen2002-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. git-svn-id: svn://busybox.net/trunk/busybox@5151 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - updated a few copyright/left file headerssandman2002-08-054-6/+66
| | | | | | | - documented most of my 0.61 changes in the ChangeLog git-svn-id: svn://busybox.net/trunk/busybox@5150 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed a bug in xarg: string data was strcat'ed to a malloc'ed buffer - andsandman2002-08-031-8/+6
| | | | | | | | malloc does not clear memory by default (somehow this worked on x86, but not on arm) git-svn-id: svn://busybox.net/trunk/busybox@5148 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove ckfree, and replace all references with free. Remove freefunc,aaronl2002-08-021-59/+41
| | | | | | | | which is also equivilent to free. Remove some if(x)free(x) redundancies. git-svn-id: svn://busybox.net/trunk/busybox@5146 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Joseph Chiu <josephc@idealab.com> found an off-by-one bug. oops!andersen2002-08-011-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5142 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied a patch from Philip Blundell <pb@nexus.co.uk>:sandman2002-07-311-5/+7
| | | | | | | Added support for ":x" as an alias for ":wq" to vi git-svn-id: svn://busybox.net/trunk/busybox@5141 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A couple of small bugfixes from Marshall M. Midden <m4@brecis.com>andersen2002-07-311-3/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5132 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Be more portable with 'find' for those that prefer programmingandersen2002-07-312-7/+7
| | | | | | | on *BSD, etc. Formatting fixes, etc. git-svn-id: svn://busybox.net/trunk/busybox@5131 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed a timing bug which occured when bb ash is run in a rxvt on thesandman2002-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 git-svn-id: svn://busybox.net/trunk/busybox@5124 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added the -I (isofmt) options to date, which comes in handy for scriptssandman2002-07-301-7/+55
| | | | | | | (this is a confiureable option) git-svn-id: svn://busybox.net/trunk/busybox@5123 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed a bug that I had introduced with the new "options" handling.sandman2002-07-291-7/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5115 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Kill a silly warningandersen2002-07-291-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5114 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Tim Riker to allow tty* in inittab if the ttyandersen2002-07-292-46/+16
| | | | | | | actually exists -- serial console is not the issue... git-svn-id: svn://busybox.net/trunk/busybox@5112 69ca8d6d-28ef-0310-b511-8ec308f3f277
* modprobe now also uses "options" from /etc/modules.confsandman2002-07-261-55/+99
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5106 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for bug #1255 -- support for mount -t <type>sandman2002-07-251-8/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5100 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add support for /etc/filesystem when searching for an "auto" filesystemsandman2002-07-241-16/+52
| | | | | | | This is bug #1246 git-svn-id: svn://busybox.net/trunk/busybox@5085 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Commited patch from bug #1182sandman2002-07-241-7/+35
| | | | | | | | Although ssrat@mailbag.com says this is not GNU behaviour, it really *is* (man nslookup) git-svn-id: svn://busybox.net/trunk/busybox@5084 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch for bug #1183: Added a -xdev option to find (configurable)sandman2002-07-242-0/+44
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5083 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix indentation. Support killall -q, for pcmcia-csandersen2002-07-231-36/+52
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@5080 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added tar -cz support (creating gzipped tar files without a gzip pipe)sandman2002-07-232-26/+95
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5077 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed two compiler warningssandman2002-07-212-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5073 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Initial checkin of a very primitive hwclock replacementsandman2002-07-215-0/+248
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5072 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied syslogd fix submitted by Bart Visscher:sandman2002-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. git-svn-id: svn://busybox.net/trunk/busybox@5071 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - Forgot to cvs add bb_asprintf.c (from vodz' patch #50)sandman2002-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. git-svn-id: svn://busybox.net/trunk/busybox@5070 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied vodz' patches #49 and #50 (with a small correction in runshell.c)sandman2002-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. git-svn-id: svn://busybox.net/trunk/busybox@5066 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added a compile time option to suppress the "Using fallback.." messagesandman2002-07-182-0/+5
| | | | | | | if no busybox.conf file is existant. git-svn-id: svn://busybox.net/trunk/busybox@5065 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for the totally broken adduser applet (parts/ideas from vodz and tito)sandman2002-07-161-18/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5063 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't treat a non-existant/-readable config file as an empty config, butsandman2002-07-161-1/+2
| | | | | | | use the compiled in _BB_SUID_* flags (same as for parse errors) git-svn-id: svn://busybox.net/trunk/busybox@5062 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Doh!andersen2002-07-141-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5050 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Better clarify the CVS tree situationandersen2002-07-131-16/+18
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@5047 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Try to be more clear about the current two-CVS-treesandersen2002-07-131-10/+13
| | | | | | | | situation. -Erik git-svn-id: svn://busybox.net/trunk/busybox@5046 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Accept the --passive-ftp cmd.line option. We always use passive ftp mode,sandman2002-07-121-8/+14
| | | | | | | so it doesn't hurt (adds compatibility though) git-svn-id: svn://busybox.net/trunk/busybox@5044 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup warnings and undefined operations that show up in gcc-3.1andersen2002-07-1111-16/+26
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@5042 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Brad Campbell <brad@seme.com.au> notes thatandersen2002-07-111-1/+2
| | | | | | | | xconnect.c needs #include <netinet/in.h> to compile if CONFIG_FEATURE_IPV6 is not defined git-svn-id: svn://busybox.net/trunk/busybox@5041 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some minor bits of scrubbingandersen2002-07-082-12/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5030 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Stewart Brodie <stewart.brodie@pace.co.uk> to fix ash: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. git-svn-id: svn://busybox.net/trunk/busybox@5013 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This is last_patch48 from vodz. More cleanups, kills a bitandersen2002-07-031-19/+21
| | | | | | | of dead code, fixes one blatent bug. git-svn-id: svn://busybox.net/trunk/busybox@5012 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Scrub pwd.h and grp.h handling so we don't have to play anyandersen2002-07-0331-42/+42
| | | | | | | | silly games. -Erik git-svn-id: svn://busybox.net/trunk/busybox@5011 69ca8d6d-28ef-0310-b511-8ec308f3f277