| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2003-11-11 | no longer used -- replaced by fts*.[ch] | Jim Meyering | 1 | -852/+0 | |
| 2003-07-09 | Fix the bug that would make `du /' omit the `/' on the last line. | Jim Meyering | 1 | -2/+3 | |
| E.g., `du --exclude '[^/]*' -x /' would print only "4\t\n" for me. (ftw_dir): Don't clobber the leading `/'. Reported by Chris Lesniewski as http://bugs.debian.org/200542. | |||||
| 2003-05-12 | (ftw_startup): Always call free_cwd after restore_cwd. | Jim Meyering | 1 | -0/+1 | |
| 2003-05-05 | (struct dummy): Ensure that at least the number of | Jim Meyering | 1 | -0/+8 | |
| initializers matches the number of members in the corresponding enum. | |||||
| 2003-05-05 | Avoid array overrun. | Jim Meyering | 1 | -2/+7 | |
| (nftw_arr): Update to reflect complete list of members. (ftw_arr): Likewise | |||||
| 2003-03-19 | DJGPP doesn't have S_ISLNK, so provide a replacement. | Jim Meyering | 1 | -0/+16 | |
| (S_IFMT): Define, if necessary. [STAT_MACROS_BROKEN]: Undefine S_ISLNK. (S_ISLNK): Define, if necessary. | |||||
| 2003-03-17 | (FTW_STAT): Rename from `STAT', to avoid conflict | Jim Meyering | 1 | -7/+8 | |
| with STAT definition from <sys/dir.h> on AIX 5.1. | |||||
| 2003-03-09 | Include "save-cwd.h". | Jim Meyering | 1 | -10/+17 | |
| (ftw_startup): Avoid use of getcwd, if possible. Instead, use fopen/fchdir via save_cwd/restore_cwd. | |||||
| 2003-03-06 | Fix a bug that causes du to dump core on 64-bit systems. | Jim Meyering | 1 | -3/+3 | |
| (ftw_startup): Declare `func' parameter to be of type NFTW_FUNC_T, not void* which may be smaller on 64-bit systems. Remove now-unnecessary cast. (FTW_NAME): Cast func argument to type `NFTW_FUNC_T'. | |||||
| 2003-02-28 | (ftw_startup): Return -1 if alloca fails. | Jim Meyering | 1 | -0/+2 | |
| 2003-02-21 | Include <sys/types.h> before <dirent.h>. | Jim Meyering | 1 | -0/+2 | |
| This is required for Apple Darwin 6.3 (MacOS 10.2.3). | |||||
| 2003-02-12 | tweak comment | Jim Meyering | 1 | -1/+1 | |
| 2003-02-08 | (ftw_startup): Don't shadow outer declaration of save_err. | Jim Meyering | 1 | -14/+11 | |
| Merge inconsequential changes from libc. | |||||
| 2003-02-08 | (ftw_startup): When using FTW_CHDIR, always remember | Jim Meyering | 1 | -2/+2 | |
| the current directory, not just when DIR contains a slash. | |||||
| 2003-02-07 | Merge inconsequential changes from libc. | Jim Meyering | 1 | -7/+12 | |
| Include limits.h earlier. Move PATH_MAX definition `down' a little; add comment. Rename local, saved_errno to save_err. | |||||
| 2003-02-05 | (ftw_startup): When using FTW_DEPTH, call `func', the | Jim Meyering | 1 | -1/+9 | |
| user-supplied callback, once for the current directory before calling ftw_dir, in case that part of the hierarchy should be pruned. `func' does that by setting `data->skip'. | |||||
| 2003-02-05 | Include <limits.h>. | Jim Meyering | 1 | -6/+9 | |
| (PATH_MAX): Define to 1024, if not already defined. (process_entry): Allocate enough space to hold the resulting file name. Don't presume that 2*dirbufsize is enough. (ftw_startup): Always use PATH_MAX to compute buffer size, now that it is guaranteed to be defined. | |||||
| 2003-02-05 | (process_entry): When using FTW_DEPTH, call `func', | Jim Meyering | 1 | -2/+11 | |
| the user-supplied callback, once before any of its entries, in case that part of the hierarchy should be pruned. `func' does that by setting `data->skip'. | |||||
| 2003-02-02 | (lstat) [LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat. | Jim Meyering | 1 | -0/+9 | |
| 2003-01-25 | [_LIBC] (ISSLASH, FILESYSTEM_PREFIX_LEN): Define. | Jim Meyering | 1 | -12/+52 | |
| (base_name): New function. (ftw_startup): Don't strip trailing slashes. Use base_name to find the offset of the basename. | |||||
| 2003-01-25 | (object_compare): Compare inode numbers before device numbers. | Jim Meyering | 1 | -2/+2 | |
| The former is much more likely to differ for any two given file objects. | |||||
| 2003-01-23 | Add autoconf-recommended block of alloca-related code. | Jim Meyering | 1 | -2/+20 | |
| [!_LIBC] (__getcwd): Define to xgetcwd and declare xgetcwd. | |||||
| 2003-01-22 | (find_object): Don't use c99-style struct initializer. | Jim Meyering | 1 | -1/+3 | |
| 2003-01-22 | (process_entry): Handle FTW_DCHP. | Jim Meyering | 1 | -0/+10 | |
| (ftw_dir): Handle FTW_DCH. | |||||
| 2003-01-22 | Include autoconf-recommended block of dirent/NAMELEN | Jim Meyering | 1 | -14/+39 | |
| related definitions and includes. Use NAMELEN throughout, rather than _D_EXACT_NAMLEN. [_LIBC]: Define NAMELEN to _D_EXACT_NAMLEN. (stpcpy): Declare, if necessary. (mempcpy): Define, if necessary. [!_LIBC] (__stpcpy, __mempcpy): Define. [!_LIBC] (LXSTAT, XSTAT): Define. | |||||
| 2003-01-14 | Merge in Ulrich's and my changes from libc. | Jim Meyering | 1 | -16/+13 | |
| 2003-01-12 | tweak comments | Jim Meyering | 1 | -4/+3 | |
| 2003-01-12 | Also work on systems that have `struct direct', using autoconf's ↵ | Jim Meyering | 1 | -1/+15 | |
| AC_HEADER_DIRENT. | |||||
| 2003-01-12 | (ftw_startup): Rename local-shadowing local to pacify gcc. | Jim Meyering | 1 | -2/+2 | |
| 2003-01-12 | New file, from glibc/io. | Jim Meyering | 1 | -0/+673 | |
