aboutsummaryrefslogtreecommitdiff
path: root/coreutils/ls.c
AgeCommit message (Collapse)Author
2001-03-09A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen
namespace polluting things that really should be static.
2001-03-07Some minor cleanups to df.c. Also, with Erik's blessing, changed name ofMark Whitley
'format' function to 'make_human_readable_str'.
2001-03-07Fix up ls.c to ensure human readable works properly in all casesEric Andersen
2001-03-06I made these little simplifications a while back, bug forgot toEric Andersen
check this stuff in. -Erik
2001-02-20Oops. Put time.h after busybox.h, so we can check for BB_FEATURE_LS_TIMESTAMPSEric Andersen
-Erik
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
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
2001-02-15Fixed 'ls -s' so it actually displays block sizes again.Eric Andersen
-Erik
2001-02-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
2001-02-01Buglet: 'tabstops' is unused if BB_FEATURE_AUTOWIDTH is not defined.Mark Whitley
2001-01-30Fix a stupid typo -- bug found by Larry Doolittle.Eric Andersen
2001-01-30Fix ls behavior for broken or very narrow terminals. Fix my_*Eric Andersen
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
2001-01-27Fix header file usage -- there were many unnecessary header files included inEric Andersen
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
2001-01-26Fix my braindamage -- remove termios and sighandling since they are notEric Andersen
needed at all. My bad. -Erik
2001-01-26I am an idiot. Looking over my patch, ls doesn't need to do anythingEric Andersen
more then the ioctl to get the win size. None of the termios handling crap is needed. -Erik
2001-01-26Make cin be staticEric Andersen
2001-01-26Make ls understand termios.Eric Andersen
-Erik
2001-01-24more bugs fixed -- found doing regression testingEric Andersen
-Erik
2001-01-23#define -> static const int. Also got rid of some big static buffers.Mark Whitley
2001-01-22Add HUMAN_READABLE define for -m and -h support in du, df, and lsRichard June
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
2001-01-18Eliminate calls of the form "fprintf(stdout,". Thanks for the idea toMatt Kraai
Vladimir N. Oleynik.
2000-12-18Change calls to error_msg.* and strerror to use perror_msg.*.Matt Kraai
2000-12-13Fix from Matt Kraai -- a better way to NULL terminate strings for theEric Andersen
my_* passwd and group routines. I should have thought of doing it this way...
2000-12-07Changed names of functions in utility.c and all affected files, to makeMark Whitley
compliant with the style guide. Everybody rebuild your tags file!
2000-12-01Stop using TRUE and FALSE for exit status.Matt Kraai
2000-11-29Patch from Matt Kraai to fix an infinate loop with ls -aREric Andersen
2000-11-18Fixed user and group name listing.Matt Kraai
2000-10-29This was redundantEric Andersen
2000-10-28Make features independent.Matt Kraai
2000-10-28We also need to declare info if the USERNAMES feature is enabled.Matt Kraai
2000-10-13Consolidate stat(2) and lstat(2) calls and error handling.Matt Kraai
2000-10-13Exit with failure status if we are unable to list any files orMatt Kraai
directories. Patch thanks to Kent Robotti <robotti@metconnect.com>.
2000-10-12Apply a patch from Matt Kraai to fix buffer overrun and convert toEric Andersen
using synamically allocated storage. -Erik
2000-10-09Apply a patch from Matt Kraai:Eric Andersen
"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
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-09-22Add support for the -L option to ls.Matt Kraai
2000-09-21Large file >2Gib support.Eric Andersen
2000-09-07New ls sorting patch, as written by Sterling Huxley, and then updatedEric Andersen
by kent robotti. I then updated it to use my_getpwuid and my_getgrgid (per busybox policy). -Erik
2000-08-22Fixed a warning about a label not being usedPavel Roskin
2000-08-11Add optional ls file sorting, thanks to a patch fromEric Andersen
Sterling Huxley <sterling@europa.com> -Erik
2000-08-10Some #include updates.Eric Andersen
-Erik
2000-07-16Extract usage information into a separate file.Matt Kraai
2000-07-10Comment on kernel stuffEric Andersen
-Erik
2000-07-08Update files to reduce dependance on kernel version...Eric Andersen
-Erik
2000-07-06Remove MAXNAMLEN and use BUFSIZ instead.Eric Andersen
-Erik
2000-07-03Added support for ignoring '-g' per GNU ls, thanks to David VrabelEric Andersen
<dvrabel@arcom.co.uk>. Seems some ftp clients expect the '-g' option to exist. -Erik
2000-06-07* Fixed 'swapon -a' and 'swapoff -a', which were broken.Eric Andersen
* Fixed 'mount -a' so it works as expected. * Implemented 'ls -R' (enabled by enabling BB_FEATURE_LS_RECURSIVE) -Erik
2000-05-12Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen
which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
2000-04-28Latest and greatest. Some effort at libc5 (aiming towards newlib)Erik Andersen
compatability. -Erik
2000-04-13More doc updates for BusyBox, with fixes to apps for bugs revealedErik Andersen
while trying to write docs . :-) -Erik
2000-03-24The new tar for busybox is now done, and works just fineErik Andersen
for extracting files. Creation of tarballs is next... -Erik