aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Jean Wolter writes:andersen2004-02-041-1/+1
| | | | | | | | | | | | | | | | | | Hello, when calling seq with seq 1 1 it generates an "endless" list of numbers until the counter wraps and reaches 1 again. The follwoing small patch should introduce the expected behavior (output of 1 and termination): regards, Jean git-svn-id: svn://busybox.net/trunk/busybox@8399 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rob Landley writes:andersen2004-02-041-0/+17
| | | | | | | | | | | While building glibc with busybox as part of the development environment, I found a bug in glibc's regexec can throw sed into an endless loop. This fixes it. Should I put an #ifdef around it or something? (Note, this patch also contains the "this is not gnu sed 4.0" hack I posted earlier, which is also needed to build glibc...) git-svn-id: svn://busybox.net/trunk/busybox@8398 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The variable 'complementaly' used to be allocated with calloc, which zeroed itandersen2004-02-041-0/+2
| | | | | | | | | | | | out during the allocation process. When vodz changed it to be allocated on the stack, he forgot to explicitly zero it, leaving its value filled with whatever used to be sitting on the stack. It would garbage values, depending on the garbage that happened to be sitting on the stack when the function was called. The result was that applets using bb_getopt_ulflags() were showing unpredictable behavior (such as segfaults), which naturally broke many things. git-svn-id: svn://busybox.net/trunk/busybox@8397 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bug fix from Tito.bug12004-02-041-3/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8395 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vodz last_patch_125_2, this patch have: bug12004-02-042-15/+66
| | | | | | | | | | - synced with dash 0.4.21 - better handle trap "cmds..." SIGINT (strange, i make bad hack for ash and cmdedit, but this work only with this...) - may be haven`t problem with Ctrl-D git-svn-id: svn://busybox.net/trunk/busybox@8394 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrite parse_config_file(). Among the old version's problems:mjn32004-02-011-175/+220
| | | | | | | | | | | | | | No checking for lines that were too long. No checking that fgets returning NULL was actually due to EOF. Various whitespace handling inconsistencies. Bloat (switches and multiple identical function calls). Failure to check for trailing characters in some cases. Dynamicly allocated memory was not free()d on error. Given that this controls suid/sgid behavior, the sloppy coding was really inexcusable. :-( git-svn-id: svn://busybox.net/trunk/busybox@8390 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use bb_xstrdup() instead of strdup().mjn32004-02-011-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8388 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix http proxy use, bytes were swappedbug12004-01-311-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8385 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Mention changes to the daily snapshotsandersen2004-01-311-0/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8384 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update docs for releaseandersen2004-01-313-433/+814
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8383 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bump version for releaseandersen2004-01-311-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8382 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use standard C99 typesandersen2004-01-3019-117/+117
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8379 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use proper C99 typesandersen2004-01-301-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8378 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup use of 'u_int' to instead use 'unsigned int'andersen2004-01-302-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8377 69ca8d6d-28ef-0310-b511-8ec308f3f277
* s/u_int/uint/gandersen2004-01-304-48/+48
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8376 69ca8d6d-28ef-0310-b511-8ec308f3f277
* s/u_int/unsigned int/gandersen2004-01-301-4/+4
| | | | | | | s/u_short/unsigned short/g git-svn-id: svn://busybox.net/trunk/busybox@8375 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use proper C99 typesandersen2004-01-302-43/+45
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8374 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use proper C99 types throughout. So not use silly typedefs.andersen2004-01-301-47/+44
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8373 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Avoid symbol naming conflict with libmandersen2004-01-301-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8372 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Support new uClibc stdio core.mjn32004-01-301-4/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8369 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply a couple of optimizationsandersen2004-01-291-3/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8363 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Teach busybox ps to get the correct uid when displaying stuffandersen2004-01-271-3/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8355 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New applet, seq. No options, just the basics.bug12004-01-275-1/+64
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8354 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Align using spaces to furthurest character and then one tab, now theybug12004-01-271-60/+59
| | | | | | | should always be aligned. git-svn-id: svn://busybox.net/trunk/busybox@8351 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A few little updates, mostly cosmeticandersen2004-01-262-23/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8350 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Sigh. TRENDware has released source -- only for busybox and udhcp.andersen2004-01-262-1/+1
| | | | | | | | So despite their not providing kernel source, they have compiled with the requirements for busybox at least... git-svn-id: svn://busybox.net/trunk/busybox@8349 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Pascal Brisset writes:andersen2004-01-262-3/+3
| | | | | | | | | | | | | uuencode fails to encode binary data because it right-shifts bytes as signed chars and keeps the duplicated sign bits. The original base64_encode() from wget/http.c is broken as well, but it is only used to encode ascii data. -- Pascal git-svn-id: svn://busybox.net/trunk/busybox@8348 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Be stricter when converting strings to integers. Should fix the problemmjn32004-01-251-9/+11
| | | | | | | reported by Rob. git-svn-id: svn://busybox.net/trunk/busybox@8347 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix compile error when tab completion disabledbug12004-01-251-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8346 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add the -r option as a synonym of -Rbug12004-01-251-1/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8345 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add the -h, --dereference option for archive creation.bug12004-01-251-5/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8344 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Enable long options, adds 150 bytes.bug12004-01-231-1/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8339 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Correct check for only one of K or S optionsbug12004-01-231-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8338 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Check valid options were givenbug12004-01-231-0/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8337 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont change ownership unless we created the directory.bug12004-01-231-4/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8336 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove unneeded conditions and logic, fix bug where ownership didntbug12004-01-231-33/+34
| | | | | | | | | change. Dont use bb_make_directory it doesnt have the features, and its ugly to work around it. git-svn-id: svn://busybox.net/trunk/busybox@8335 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch_124 from Vodz, fix an ash bug when alt-1 was pressed, debianbug12004-01-221-12/+11
| | | | | | | bug #228915 git-svn-id: svn://busybox.net/trunk/busybox@8334 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Check one and only one of start, stop are given.bug12004-01-221-17/+17
| | | | | | | | Remove some global variables. #define some getopt values. git-svn-id: svn://busybox.net/trunk/busybox@8333 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vodz, last_patch_123, patch have new version getopt_ulflags.bug12004-01-221-28/+20
| | | | | | | | | - size reduced 34 bytes - don`t use dynamic memory allocation - small indent correction. git-svn-id: svn://busybox.net/trunk/busybox@8332 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Atsushi Nemoto, recent MIPS kernel headersbug12004-01-211-0/+4
| | | | | | | | does not provide PAGE_SHIFT for userland (because now mips-linux kernel supports PAGESIZE other than 4K). git-svn-id: svn://busybox.net/trunk/busybox@8324 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch by Richard Kojedzinszky, when using END at end of lines it wasbug12004-01-211-3/+5
| | | | | | | skipping to next line, cw command was leaving one char in buffer git-svn-id: svn://busybox.net/trunk/busybox@8323 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Redo getconfigent, save 150 bytes, still small memory leak whenbug12004-01-201-80/+75
| | | | | | | parsing invalid entries. git-svn-id: svn://busybox.net/trunk/busybox@8316 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Tito, reduce size, merge functions that are only used once.bug12004-01-201-93/+90
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8315 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stephane Billiart writes:andersen2004-01-181-1/+1
| | | | | | | | | | | | | bb_lookup_port now takes 3 parameters but rdate has not been modified accordingly and fails to compile in the current CVS version. The modification below fixes the problem. Now, RFC868 allows both UDP and TCP implementations of the time protocol so this may not work if someone defines a udp time service other than 37 but who would do that? git-svn-id: svn://busybox.net/trunk/busybox@8314 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up a couple of bugs i introduced in yesterdays cleanup.bug12004-01-181-18/+32
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8313 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a bug where `ls -le` would print the time twice.bug12004-01-181-13/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8312 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use bb_getopt_ulflags, save 200-300 bytesbug12004-01-181-89/+131
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8311 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Leif Lindholm (slightly modified by me), to fix httpbug12004-01-171-1/+4
| | | | | | | | | | redirection. Example of incorrect behaviour was the following url, busybox wget didnt get redirected to the busybox url as it should. http://freshmeat.net/redir/busybox/953/url_homepage/www.busybox.net git-svn-id: svn://busybox.net/trunk/busybox@8310 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Modify bb_lookup_port to allow the protocol to be specified, allowingbug12004-01-178-32/+23
| | | | | | | /etc/services support for inetd, netcat and tftp. git-svn-id: svn://busybox.net/trunk/busybox@8307 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Arthur Othieno, clarify common options between dpkg and dpkg-debbug12004-01-171-20/+23
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8306 69ca8d6d-28ef-0310-b511-8ec308f3f277