aboutsummaryrefslogtreecommitdiff
path: root/ls.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Oops. Put time.h after busybox.h, so we can check for BB_FEATURE_LS_TIMESTAMPSEric Andersen2001-02-201-4/+4
| | | | -Erik
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-1/+1
| | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
* Fixed 'ls -s' so it actually displays block sizes again.Eric Andersen2001-02-151-3/+3
| | | | -Erik
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-1/+1
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Buglet: 'tabstops' is unused if BB_FEATURE_AUTOWIDTH is not defined.Mark Whitley2001-02-011-6/+5
|
* Fix a stupid typo -- bug found by Larry Doolittle.Eric Andersen2001-01-301-1/+1
|
* Fix ls behavior for broken or very narrow terminals. Fix my_*Eric Andersen2001-01-301-17/+25
| | | | | | functions so they comply with the original interface (i.e. don't exit on error, stringify uids and gids when no amtching name found). -Erik
* Fix header file usage -- there were many unnecessary header files included inEric Andersen2001-01-271-0/+1
| | | | | | | busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
* Fix my braindamage -- remove termios and sighandling since they are notEric Andersen2001-01-261-1/+1
| | | | | needed at all. My bad. -Erik
* I am an idiot. Looking over my patch, ls doesn't need to do anythingEric Andersen2001-01-261-51/+1
| | | | | | more then the ioctl to get the win size. None of the termios handling crap is needed. -Erik
* Make cin be staticEric Andersen2001-01-261-1/+1
|
* Make ls understand termios.Eric Andersen2001-01-261-1/+60
| | | | -Erik
* more bugs fixed -- found doing regression testingEric Andersen2001-01-241-2/+6
| | | | -Erik
* #define -> static const int. Also got rid of some big static buffers.Mark Whitley2001-01-231-35/+40
|
* Add HUMAN_READABLE define for -m and -h support in du, df, and lsRichard June2001-01-221-2/+29
| | | | | Add support for -k in du, df, and ls(no define, it's for compatibliity with the GNU utils as bb does -k by default) Fix bug #1084
* Eliminate calls of the form "fprintf(stdout,". Thanks for the idea toMatt Kraai2001-01-181-23/+23
| | | | Vladimir N. Oleynik.
* Change calls to error_msg.* and strerror to use perror_msg.*.Matt Kraai2000-12-181-3/+3
|
* Fix from Matt Kraai -- a better way to NULL terminate strings for theEric Andersen2000-12-131-2/+0
| | | | | my_* passwd and group routines. I should have thought of doing it this way...
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-4/+4
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Stop using TRUE and FALSE for exit status.Matt Kraai2000-12-011-1/+0
|
* Patch from Matt Kraai to fix an infinate loop with ls -aREric Andersen2000-11-291-6/+32
|
* Fixed user and group name listing.Matt Kraai2000-11-181-22/+13
|
* This was redundantEric Andersen2000-10-291-1/+0
|
* Make features independent.Matt Kraai2000-10-281-5/+21
|
* We also need to declare info if the USERNAMES feature is enabled.Matt Kraai2000-10-281-2/+4
|
* Consolidate stat(2) and lstat(2) calls and error handling.Matt Kraai2000-10-131-34/+25
|
* Exit with failure status if we are unable to list any files orMatt Kraai2000-10-131-1/+8
| | | | directories. Patch thanks to Kent Robotti <robotti@metconnect.com>.
* Apply a patch from Matt Kraai to fix buffer overrun and convert toEric Andersen2000-10-121-19/+15
| | | | | using synamically allocated storage. -Erik
* Apply a patch from Matt Kraai:Eric Andersen2000-10-091-1/+11
| | | | | | | "The -L option to ls doesn't behave correctly for files listed explicitly on the command line, only those in directories that are listed. The appended patch fixes this problem. Would someone please commit it?" -Erik
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Add support for the -L option to ls.Matt Kraai2000-09-221-0/+19
|
* Large file >2Gib support.Eric Andersen2000-09-211-0/+8
|
* New ls sorting patch, as written by Sterling Huxley, and then updatedEric Andersen2000-09-071-472/+642
| | | | | | by kent robotti. I then updated it to use my_getpwuid and my_getgrgid (per busybox policy). -Erik
* Fixed a warning about a label not being usedPavel Roskin2000-08-221-4/+4
|
* Add optional ls file sorting, thanks to a patch fromEric Andersen2000-08-111-0/+86
| | | | | Sterling Huxley <sterling@europa.com> -Erik
* Some #include updates.Eric Andersen2000-08-101-1/+0
| | | | -Erik
* Extract usage information into a separate file.Matt Kraai2000-07-161-57/+0
|
* Comment on kernel stuffEric Andersen2000-07-101-4/+0
| | | | -Erik
* Update files to reduce dependance on kernel version...Eric Andersen2000-07-081-4/+4
| | | | -Erik
* Remove MAXNAMLEN and use BUFSIZ instead.Eric Andersen2000-07-061-1/+1
| | | | -Erik
* Added support for ignoring '-g' per GNU ls, thanks to David VrabelEric Andersen2000-07-031-0/+2
| | | | | | <dvrabel@arcom.co.uk>. Seems some ftp clients expect the '-g' option to exist. -Erik
* * Fixed 'swapon -a' and 'swapoff -a', which were broken.Eric Andersen2000-06-071-7/+44
| | | | | | * Fixed 'mount -a' so it works as expected. * Implemented 'ls -R' (enabled by enabling BB_FEATURE_LS_RECURSIVE) -Erik
* Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen2000-05-121-1/+4
| | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
* Latest and greatest. Some effort at libc5 (aiming towards newlib)Erik Andersen2000-04-281-1/+1
| | | | | compatability. -Erik
* More doc updates for BusyBox, with fixes to apps for bugs revealedErik Andersen2000-04-131-9/+26
| | | | | while trying to write docs . :-) -Erik
* The new tar for busybox is now done, and works just fineErik Andersen2000-03-241-0/+5
| | | | | for extracting files. Creation of tarballs is next... -Erik
* My latest ramblings.Erik Andersen2000-03-231-5/+0
| | | | -Erik
* UpdatesErik Andersen2000-02-111-7/+21
| | | | -Erik
* Some formatting updates (ran the code through indent)Erik Andersen2000-02-081-129/+168
| | | | -Erik
* A few minor updates. ;-)Erik Andersen2000-02-071-1/+1
| | | | | | Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik