aboutsummaryrefslogtreecommitdiff
path: root/coreutils
AgeCommit message (Collapse)Author
2004-03-27s/fileno\(stdin\)/STDIN_FILENO/gEric Andersen
s/fileno\(stdout\)/STDOUT_FILENO/g
2004-03-23Brian Pomerantz writes:Eric Andersen
I've noticed a bug in the "autowidth" feature more, and is probably in others. The call to the function get_terminal_width_height() passes in a file descriptor but that file descriptor is never used, instead the ioctl() is called with 0. In more_main() the call to get_terminal_width_height() passes 0 as the file descriptor instead of fileno(cin). This isn't a problem when you more a file (e.g. "more /etc/passwd") but when you pipe a file to it (e.g. "cat /etc/passwd | more") the size of the terminal cannot be determined because file descriptor 0 is not a terminal. The fix is simple, I've attached a patch for more.c and get_terminal_width_height.c. BAPper
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-03-12Hideki IWAMOTO writes:Eric Andersen
Current `tr' implementation has a problem, if `plain char' is signed. [current cvs version] >echo a | _install/usr/bin/tr '\0' '\377' Segmentation fault (core dumped) [patched version] >echo a | _install/usr/bin/tr '\0' '\377' a
2004-03-10When displaying the size in 1kB blocks round up if an odd number ofGlenn L McGrath
blocks
2004-03-10Patch by Seth W. Klein, the -l switch was reversedGlenn L McGrath
2004-03-08Fix broken sort order flags.Manuel Novoa III
2004-03-06Fix/eliminate use of atolEric Andersen
2004-03-06Patch from Matt Kraai to fix debian bug number 231994.Glenn L McGrath
There was an extra blank line preceding the first directory.
2004-03-05Close bracket in description from Peter Willis's eject appletGlenn L McGrath
2004-02-22Return 1 upon failureGlenn L McGrath
2004-02-21Use return instead of exit, use == instead of & ==, left justify labels,Glenn L McGrath
adjustment of whitespace.
2004-02-17Add the -r option, patch from Rob with some help from myself.Glenn L McGrath
2004-02-17Woops, im getting ahead of myself, we dont have the -r (refernece)Glenn L McGrath
option yet
2004-02-17define option names to be clearer, simplify nested if statements, removeGlenn L McGrath
un-needed if statement, minor indenting change
2004-02-05Vladimir N. Oleynik writes:Eric Andersen
Hi, Glenn. Current CVS "ls" applet have small problem: some options ignoring. Last patch attached ;-) --w vodz
2004-02-04Jean Wolter writes:Eric Andersen
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
2004-02-01Use bb_xstrdup() instead of strdup().Manuel Novoa III
2004-01-30Avoid symbol naming conflict with libmEric Andersen
2004-01-27New applet, seq. No options, just the basics.Glenn L McGrath
2004-01-27Align using spaces to furthurest character and then one tab, now theyGlenn L McGrath
should always be aligned.
2004-01-26Pascal Brisset writes:Eric Andersen
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
2004-01-25Be stricter when converting strings to integers. Should fix the problemManuel Novoa III
reported by Rob.
2004-01-25Add the -r option as a synonym of -RGlenn L McGrath
2004-01-23Enable long options, adds 150 bytes.Glenn L McGrath
2004-01-23Check valid options were givenGlenn L McGrath
2004-01-23Dont change ownership unless we created the directory.Glenn L McGrath
2004-01-23Remove unneeded conditions and logic, fix bug where ownership didntGlenn L McGrath
change. Dont use bb_make_directory it doesnt have the features, and its ugly to work around it.
2004-01-18Fix a bug where `ls -le` would print the time twice.Glenn L McGrath
2004-01-18Use bb_getopt_ulflags, save 200-300 bytesGlenn L McGrath
2004-01-08Patch from Bastian Blank to fix debian bug #226722, test case: Glenn L McGrath
mkdir foo touch foo/bar ln -s bar foo/baz
2003-12-31Batch from Bastian Blank to fix debian bug #216435;Glenn L McGrath
When linking a non existing file busybox ln will report the target missind and not the source:
2003-12-08Bring usage upto date, patch by Steven ScholzGlenn L McGrath
2003-11-27Fix a bug, ignore the source path when installing to a directory.Glenn L McGrath
We may be installing symlinks, so use lstat/lchown. Make use of bb_getopt_ulflags and cp_mv_stat2, save 100 bytes.
2003-11-21As we no longer use function pointers for read in common archiving codeGlenn L McGrath
archive_xread can be replaced with bb_full_read, and archive_copy_file with bb_copyfd* bb_copyfd is split into two functions bb_copyfd_size and bb_copyfd_eof, they share a common backend.
2003-11-20Fix up the -s option, and make usage consitent with behaviour,Glenn L McGrath
patch by Steven Scholz
2003-11-18woops, we needed that functionGlenn L McGrath
2003-11-18Only use getopt and associated flags if checking is enabledGlenn L McGrath
2003-11-18Replaced by md5_sha1_sum.cGlenn L McGrath
2003-11-18Replaced by md5_sha1_sum.cGlenn L McGrath
2003-11-10Merge common parts of sha1sum and md5sum, which is everything except theGlenn L McGrath
algorithms. Move algorithms to hash_fd and make them available via a common function.
2003-11-07As vodz pointed out, setting unset_env to NULL is sufficientEric Andersen
2003-11-06Rewrite, 800+ bytes smaller and more robust.Glenn L McGrath
2003-11-04Fix oversight with CONFIG_FEATURE_AUTOWIDTH handlingEric Andersen
2003-11-03Set unset_env pointing to a NULL item, to prevent us from walkingEric Andersen
off the end of the list and segfaulting. -Erik
2003-10-31Move the tail -c option from FANCY_TAIL to the default tail, this makesGlenn L McGrath
the default tail options conform to SUSv3, with the non-SUS option all in FANCY_TAIL
2003-10-31Remove config options for sort -u and sort -r, they are always enabledGlenn L McGrath
2003-10-29Accept the -c option and do nothingGlenn L McGrath
2003-10-22Disable any buffering to stdoutEric Andersen
2003-10-22Andreas Mohr writes:Eric Andersen
the busybox menuconfig triggered my "inacceptable number of spelling mistakes" upper level, so I decided to make a patch ;-) I also improved some wording to describe some things in a better way. Many thanks for an incredible piece of software! Andreas Mohr, random OSS developer