aboutsummaryrefslogtreecommitdiff
path: root/coreutils/expr.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2003-11-21Use safe readbug12-2/+2
git-svn-id: svn://busybox.net/trunk/busybox@7983 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-21Fix warningbug11-0/+1
git-svn-id: svn://busybox.net/trunk/busybox@7982 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-21Make use of libbb functions bb_xopen, bb_full_read, used #define'sbug11-20/+13
instead of static consts, avoid xmalloc. git-svn-id: svn://busybox.net/trunk/busybox@7981 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-20Remove unused functionbug13-32/+0
git-svn-id: svn://busybox.net/trunk/busybox@7975 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-20Dont over-read fd, use function pointer for hash function.bug12-30/+44
git-svn-id: svn://busybox.net/trunk/busybox@7974 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-20Fix tar-handles-nested-exclude testcasebug12-0/+13
git-svn-id: svn://busybox.net/trunk/busybox@7961 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-20Update status of tests which should passbug13-3/+0
git-svn-id: svn://busybox.net/trunk/busybox@7960 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-20remove controversial testsbug12-15/+0
git-svn-id: svn://busybox.net/trunk/busybox@7959 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-20Check at least one context is specifiedbug11-0/+3
git-svn-id: svn://busybox.net/trunk/busybox@7958 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-20Check there are files to add the archive before removing a specifiedbug11-5/+4
tar file. git-svn-id: svn://busybox.net/trunk/busybox@7957 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-20Dont attempt to unlink directoriesbug11-1/+1
git-svn-id: svn://busybox.net/trunk/busybox@7956 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-20Superficial changesbug11-19/+17
git-svn-id: svn://busybox.net/trunk/busybox@7955 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-20Fix up the -s option, and make usage consitent with behaviour,bug11-7/+6
patch by Steven Scholz git-svn-id: svn://busybox.net/trunk/busybox@7954 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-20Include stdint.hbug11-0/+1
git-svn-id: svn://busybox.net/trunk/busybox@7953 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-18woops, we needed that functionbug11-18/+35
git-svn-id: svn://busybox.net/trunk/busybox@7946 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-18COMPRESS, not UNCOMPRESSbug11-1/+1
git-svn-id: svn://busybox.net/trunk/busybox@7945 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-18Update usage for tar -Zbug11-1/+7
git-svn-id: svn://busybox.net/trunk/busybox@7944 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-18Update md5sum, sha1sum options, patch by Steven Scholzbug11-10/+20
git-svn-id: svn://busybox.net/trunk/busybox@7943 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-18tar -Z, uncompress supportbug15-11/+37
git-svn-id: svn://busybox.net/trunk/busybox@7942 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-18Dont close original file handle, we may need it later.bug11-3/+4
git-svn-id: svn://busybox.net/trunk/busybox@7941 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-18Make unlink old files default behaviour and add a new option -k tobug11-19/+23
prevent overwritting existing files git-svn-id: svn://busybox.net/trunk/busybox@7940 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-18Only use getopt and associated flags if checking is enabledbug11-44/+36
git-svn-id: svn://busybox.net/trunk/busybox@7937 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-18Replaced by md5_sha1_sum.cbug11-492/+0
git-svn-id: svn://busybox.net/trunk/busybox@7936 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-18Replaced by md5_sha1_sum.cbug11-1102/+0
git-svn-id: svn://busybox.net/trunk/busybox@7935 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-17Dont free filename, its needed in the extracted files list.bug11-2/+1
git-svn-id: svn://busybox.net/trunk/busybox@7931 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-17This was made obsolete by config-udeb-linux-i386bug11-415/+0
git-svn-id: svn://busybox.net/trunk/busybox@7930 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-17Remove net-udeb flavour, we dotn use itbug13-1161/+0
git-svn-id: svn://busybox.net/trunk/busybox@7929 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-17Use the PROG variable instead of 'busybox' in the release targetbug11-5/+5
git-svn-id: svn://busybox.net/trunk/busybox@7928 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-15Fix a bug where cpio wouldnt work unless -u was specifiedbug11-10/+8
git-svn-id: svn://busybox.net/trunk/busybox@7918 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-15Move from read_gz to the pipe()+fork() method.bug116-284/+156
open_transformer(), common code for pipe+fork. Function pointer for read() no longer needed. Allow inflate to be initialised with a specified buffer size to avoid over-reading. Reset static variables in inflate_get_next_window to fix a bug where only the first file in a .zip would be be extracted. git-svn-id: svn://busybox.net/trunk/busybox@7917 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-15Fix memory leaksbug11-0/+3
git-svn-id: svn://busybox.net/trunk/busybox@7916 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-14Fix a "broken pipe" problem. vodz, last_patch_116-2bug11-5/+1
git-svn-id: svn://busybox.net/trunk/busybox@7915 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-14Keep trying to find a good header, if we exit it will cause .tar.gzbug11-1/+1
files to compute incorrect crc and length for gzip git-svn-id: svn://busybox.net/trunk/busybox@7914 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-14Catch unsupported featuresbug11-7/+15
git-svn-id: svn://busybox.net/trunk/busybox@7913 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-14NEW APPLET: pipe_progress, used by debian installerbug14-0/+64
git-svn-id: svn://busybox.net/trunk/busybox@7912 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-14Fix build error with tar -jbug11-1/+1
git-svn-id: svn://busybox.net/trunk/busybox@7910 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-14Remove some tar_gz stuff that get dragged inbug11-3/+4
git-svn-id: svn://busybox.net/trunk/busybox@7909 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-14Remove debugging noise.bug11-1/+0
git-svn-id: svn://busybox.net/trunk/busybox@7908 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-14Read in blocks rather than one char at a time, greatly improves speedbug11-4/+23
git-svn-id: svn://busybox.net/trunk/busybox@7907 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-14Oskar Liljeblad writes:andersen2-1/+3
Here's a fix for the hard-coded device name in fbset. git-svn-id: svn://busybox.net/trunk/busybox@7906 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-14Michael Smith writes:andersen1-2/+2
I noticed a problem with ifconfig in busybox 0.60.5. The matching code seems to exist in busybox CVS as well, so I'll paste in the patch that fixed it. I was running: # ifconfig wan0 1.2.3.4 pointopoint 1.2.3.5 netmask 255.255.255.255 I was seeing the inet addr and P-t-P addr both being set to 1.2.3.5 (the pointopoint address). wan0 Link encap:Point-Point Protocol inet addr:1.2.3.5 P-t-P:1.2.3.5 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MTU:1500 Metric:1 ... The patch below seems to fix it. git-svn-id: svn://busybox.net/trunk/busybox@7904 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-14Ulrich Marx writes:andersen1-0/+2
hello i had some trouble with the filedescriptor in udhcp. Two things happened on my device: 1.) broken or not connected cable (no dhcp-server) 2.) daemonizing (starting with option -b) i got a filedescriptor fd=0 from function raw_socket, after daemonizing (daemon call) the fd is closed. Client can't recieve data's anymore. i fixed this problem (like pidfile handling): git-svn-id: svn://busybox.net/trunk/busybox@7903 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-14Steven Seeger writes:andersen1-1/+2
Hey guys. I've found a bug in modprobe where it generates bad strings and makes sytem calls with them. The following patch seems to have fixed the problem. It is rather inherited elsewhere, as there seems to be incorrect entries in the list which results in more dependencies than really exist for a given call to mod_process. But, this patch prevents the bad text from going to the screen. You will notice there are cases where lcmd goes unmodified before calling system. Please consider the following patch. Thanks. -Steve git-svn-id: svn://busybox.net/trunk/busybox@7902 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-14Vladimir N. Oleynik (vodz) writes:andersen1-4/+1
Hi Glenn. I analysed BSS size gzip applet and found may be mistake: updcrc() checking if (crc_table_empty) but not resetted this var. This do make slow gzip applet ;-) --w vodz git-svn-id: svn://busybox.net/trunk/busybox@7901 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-14Marc Kleine-Budde noticed a missing semicolonandersen1-1/+1
git-svn-id: svn://busybox.net/trunk/busybox@7900 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-10Merge common parts of sha1sum and md5sum, which is everything except thebug16-11/+1063
algorithms. Move algorithms to hash_fd and make them available via a common function. git-svn-id: svn://busybox.net/trunk/busybox@7863 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-08Add some basic cvs usage infoandersen1-1/+51
git-svn-id: svn://busybox.net/trunk/busybox@7852 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-08Rob Landley writes:andersen1-3/+0
Remove three entries in defconfig that config no longer has. Rob git-svn-id: svn://busybox.net/trunk/busybox@7851 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-07Patch from Steven Scholz to send the output from 'time'andersen1-2/+2
to stderr, rather than stdout, so that things like ~ # time bunzip2 -c /tmp/test.bz2 > /dev/null real 0m 29.44s user 0m 29.30s sys 0m 0.12s operate as expected. git-svn-id: svn://busybox.net/trunk/busybox@7849 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-11-07This appears to be the correct fix to make CONFIG_FEATURE_DEB_TAR_BZ2andersen1-3/+2
support compile. Glenn, you may want to verify this. -Erik git-svn-id: svn://busybox.net/trunk/busybox@7848 69ca8d6d-28ef-0310-b511-8ec308f3f277