aboutsummaryrefslogtreecommitdiff
path: root/ls.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Buglet: 'tabstops' is unused if BB_FEATURE_AUTOWIDTH is not defined.markw2001-02-011-6/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1736 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a stupid typo -- bug found by Larry Doolittle.andersen2001-01-301-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1717 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix ls behavior for broken or very narrow terminals. Fix my_*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 git-svn-id: svn://busybox.net/trunk/busybox@1715 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix header file usage -- there were many unnecessary header files included inandersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@1695 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix my braindamage -- remove termios and sighandling since they are notandersen2001-01-261-1/+1
| | | | | | | | needed at all. My bad. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1682 69ca8d6d-28ef-0310-b511-8ec308f3f277
* I am an idiot. Looking over my patch, ls doesn't need to do anythingandersen2001-01-261-51/+1
| | | | | | | | | more then the ioctl to get the win size. None of the termios handling crap is needed. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1681 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make cin be staticandersen2001-01-261-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1680 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make ls understand termios.andersen2001-01-261-1/+60
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1677 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more bugs fixed -- found doing regression testingandersen2001-01-241-2/+6
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1656 69ca8d6d-28ef-0310-b511-8ec308f3f277
* #define -> static const int. Also got rid of some big static buffers.markw2001-01-231-35/+40
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1642 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add HUMAN_READABLE define for -m and -h support in du, df, and lsrjune2001-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 git-svn-id: svn://busybox.net/trunk/busybox@1635 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Eliminate calls of the form "fprintf(stdout,". Thanks for the idea tokraai2001-01-181-23/+23
| | | | | | | Vladimir N. Oleynik. git-svn-id: svn://busybox.net/trunk/busybox@1616 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change calls to error_msg.* and strerror to use perror_msg.*.kraai2000-12-181-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1466 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix from Matt Kraai -- a better way to NULL terminate strings for theandersen2000-12-131-2/+0
| | | | | | | | my_* passwd and group routines. I should have thought of doing it this way... git-svn-id: svn://busybox.net/trunk/busybox@1443 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed names of functions in utility.c and all affected files, to makemarkw2000-12-071-4/+4
| | | | | | | compliant with the style guide. Everybody rebuild your tags file! git-svn-id: svn://busybox.net/trunk/busybox@1398 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stop using TRUE and FALSE for exit status.kraai2000-12-011-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1360 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Matt Kraai to fix an infinate loop with ls -aRandersen2000-11-291-6/+32
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1345 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed user and group name listing.kraai2000-11-181-22/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1334 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This was redundantandersen2000-10-291-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1269 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make features independent.kraai2000-10-281-5/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1265 69ca8d6d-28ef-0310-b511-8ec308f3f277
* We also need to declare info if the USERNAMES feature is enabled.kraai2000-10-281-2/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1264 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Consolidate stat(2) and lstat(2) calls and error handling.kraai2000-10-131-34/+25
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1189 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Exit with failure status if we are unable to list any files orkraai2000-10-131-1/+8
| | | | | | | directories. Patch thanks to Kent Robotti <robotti@metconnect.com>. git-svn-id: svn://busybox.net/trunk/busybox@1188 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply a patch from Matt Kraai to fix buffer overrun and convert toandersen2000-10-121-19/+15
| | | | | | | | using synamically allocated storage. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1187 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply a patch from Matt Kraai: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 git-svn-id: svn://busybox.net/trunk/busybox@1172 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Renamed "internal.h" to the more sensible "busybox.h".andersen2000-09-251-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1119 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add support for the -L option to ls.kraai2000-09-221-0/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1093 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Large file >2Gib support.andersen2000-09-211-0/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1082 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New ls sorting patch, as written by Sterling Huxley, and then updatedandersen2000-09-071-472/+642
| | | | | | | | | by kent robotti. I then updated it to use my_getpwuid and my_getgrgid (per busybox policy). -Erik git-svn-id: svn://busybox.net/trunk/busybox@1017 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed a warning about a label not being usedproski2000-08-221-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@981 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add optional ls file sorting, thanks to a patch fromandersen2000-08-111-0/+86
| | | | | | | | Sterling Huxley <sterling@europa.com> -Erik git-svn-id: svn://busybox.net/trunk/busybox@953 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some #include updates.andersen2000-08-101-1/+0
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@946 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Extract usage information into a separate file.kraai2000-07-161-57/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Comment on kernel stuffandersen2000-07-101-4/+0
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@807 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update files to reduce dependance on kernel version...andersen2000-07-081-4/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@779 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove MAXNAMLEN and use BUFSIZ instead.andersen2000-07-061-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@743 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added support for ignoring '-g' per GNU ls, thanks to David Vrabelandersen2000-07-031-0/+2
| | | | | | | | | <dvrabel@arcom.co.uk>. Seems some ftp clients expect the '-g' option to exist. -Erik git-svn-id: svn://busybox.net/trunk/busybox@728 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * Fixed 'swapon -a' and 'swapoff -a', which were broken.andersen2000-06-071-7/+44
| | | | | | | | | * Fixed 'mount -a' so it works as expected. * Implemented 'ls -R' (enabled by enabling BB_FEATURE_LS_RECURSIVE) -Erik git-svn-id: svn://busybox.net/trunk/busybox@625 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPerik2000-05-121-1/+4
| | | | | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik git-svn-id: svn://busybox.net/trunk/busybox@532 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Latest and greatest. Some effort at libc5 (aiming towards newlib)erik2000-04-281-1/+1
| | | | | | | | compatability. -Erik git-svn-id: svn://busybox.net/trunk/busybox@499 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More doc updates for BusyBox, with fixes to apps for bugs revealederik2000-04-131-9/+26
| | | | | | | | while trying to write docs . :-) -Erik git-svn-id: svn://busybox.net/trunk/busybox@451 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The new tar for busybox is now done, and works just fineerik2000-03-241-0/+5
| | | | | | | | for extracting files. Creation of tarballs is next... -Erik git-svn-id: svn://busybox.net/trunk/busybox@421 69ca8d6d-28ef-0310-b511-8ec308f3f277
* My latest ramblings.erik2000-03-231-5/+0
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@419 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updateserik2000-02-111-7/+21
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@368 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some formatting updates (ran the code through indent)erik2000-02-081-129/+168
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@357 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A few minor updates. ;-)erik2000-02-071-1/+1
| | | | | | | | | Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik git-svn-id: svn://busybox.net/trunk/busybox@351 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed ls formatting for 8 char user names.erik2000-01-271-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@343 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * sed now supports addresses (numeric or regexp, with negation) anderik1999-12-291-11/+15
| | | | | | | | | | | has an append command, thanks to Marco Pantaleoni <panta@prosa.it> * Fixed dmesg. It wasn't parsing its options (-n or -s) properly. * Some cosmetic fixes to ls output formatting to make it behave more like GNU ls. -Erik git-svn-id: svn://busybox.net/trunk/busybox@274 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stufandersen1999-11-231-10/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@116 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stufandersen1999-11-191-28/+23
| | | | git-svn-id: svn://busybox.net/trunk/busybox@110 69ca8d6d-28ef-0310-b511-8ec308f3f277