summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2003-03-07*** empty log message ***Jim Meyering
2003-03-07(same_name): Remove unnecessary inclusion of config.h.Jim Meyering
It also happened to lead to infinite recursion in getcwd.c. (PARAMS): Remove definition and use.
2003-03-06#undef getcwd before including system headers.Jim Meyering
This avoid a build failure on IRIX 6.5. Reported by Nelson Beebe.
2003-03-06*** empty log message ***Jim Meyering
2003-03-06[!HAVE_DECL_GETCWD]: Declare getcwd.Jim Meyering
2003-03-06*** empty log message ***Jim Meyering
2003-03-06Fix a bug that causes du to dump core on 64-bit systems.Jim Meyering
(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-03-05*** empty log message ***Jim Meyering
2003-03-05(ARRAY_SIZE): Define it.Jim Meyering
2003-03-05commentsJim Meyering
2003-03-05commentsJim Meyering
2003-03-04.Jim Meyering
2003-03-04*** empty log message ***Jim Meyering
2003-03-04(CLEANUP_CWD): Call error here, now that restore_cwd no longer does it.Jim Meyering
2003-03-04(restore_cwd): Update prototype.Jim Meyering
2003-03-04(restore_cwd): Remove two parameters.Jim Meyering
Simplify. Don't call error upon failure. Let callers do that. (save_cwd): Mention that Irix 5.3 has the same problem as SunOS4 when auditing is enabled. But don't bother updating the #if.
2003-03-04.Jim Meyering
2003-03-04*** empty log message ***Jim Meyering
2003-03-04Improve comment.Jim Meyering
2003-03-04*** empty log message ***Jim Meyering
2003-03-04*** empty log message ***Jim Meyering
2003-03-02*** empty log message ***Jim Meyering
2003-03-02.Jim Meyering
2003-02-28(ftw_startup): Return -1 if alloca fails.Jim Meyering
2003-02-28*** empty log message ***Jim Meyering
2003-02-28(fts_children): If opening `.' fails, set the fts_childJim Meyering
member to NULL before returning. From NetBSD.
2003-02-28*** empty log message ***Jim Meyering
2003-02-28(fts_children): If fchdir fails, close file descriptorJim Meyering
before returning. From NetBSD.
2003-02-27*** empty log message ***Jim Meyering
2003-02-27(physmem_total, physmem_available): Add comments.Jim Meyering
2003-02-27*** empty log message ***Jim Meyering
2003-02-27Merge in portability changes from gcc/libibertyJim Meyering
to support AIX, Tru64, and Windows. See the ChangeLog there for credits and details.
2003-02-24filter through cppiJim Meyering
2003-02-24[__USE_FILE_OFFSET64]: Remove #error directive.Jim Meyering
2003-02-24Include <search.h>.Jim Meyering
(struct known_object): Define. (object_compare, add_object, find_object): New functions, like those in ftw.c. (fts_open): Initialize new member. (fts_close): Free memory allocated for new member. (fts_stat): Detect a cycle in O(logN) time per directory processed.
2003-02-24*** empty log message ***Jim Meyering
2003-02-24[HAVE_CONFIG_H]: Include <config.h>.Jim Meyering
Conditionalize inclusion of <sys/param.h>. Conditionalize inclusion of <include/sys/stat.h> vs <sys/stat.h>. Include autoconf-recommended block of dirent/NAMELEN-related definitions and includes. Use NAMLEN throughout, rather than _D_EXACT_NAMLEN. [_LIBC] (close, closedir, fchdir, open, opendir): Define. [_LIBC] (readdir, tdestroy, tfind, tsearch): Define. Remove `__' prefix from all uses of the above. This will help to merge *BSD changes. [!_LIBC] (internal_function): Define. [! _LIBC && ! LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define lstat. (__set_errno): Define if not already defined.
2003-02-24[struct FTS] (fts_dir_signatures): New, opaque member.Jim Meyering
2003-02-24(fts_open): If fts_alloc returns NULL, don't dereference it.Jim Meyering
(fts_read): If fts_safe_changedir fails because it is not able to chdir into a subdirectory, then inform the caller.
2003-02-24virgin copy from glibcJim Meyering
2003-02-24*** empty log message ***Jim Meyering
2003-02-24dohJim Meyering
2003-02-24*** empty log message ***Jim Meyering
2003-02-24*** empty log message ***Jim Meyering
2003-02-21*** empty log message ***Jim Meyering
2003-02-21Undefine HAVE_MMAP_STACK, thus disablingJim Meyering
this code on all systems.
2003-02-21*** empty log message ***Jim Meyering
2003-02-21Merge in some changes from GNU libc.Jim Meyering
(md5_uintptr): Define.
2003-02-21(run_on_mmaped_stack): Allocate 256MB, not 1GBJim Meyering
2003-02-21*** empty log message ***Jim Meyering