diff options
author | Jim Meyering <jim@meyering.net> | 1997-11-03 04:22:57 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-11-03 04:22:57 +0000 |
commit | 1b3376c9dac2897bd85db895c4659572695dd9ea (patch) | |
tree | 4f65344b84c15bfa80181f96ab546be0bc865403 /lib/stpcpy.c | |
parent | 6327a7ad45af79e725e22be53bb5d99080d4c196 (diff) | |
download | coreutils-1b3376c9dac2897bd85db895c4659572695dd9ea.tar.xz |
Put cycle-detecting code inside an
#ifdef ENABLE_CYCLE_CHECK, for systems lacking d_ino.
[D_INO_IN_DIRENT]: Define ENABLE_CYCLE_CHECK.
(ASSIGN_STRDUPA): Clean up.
(right_justify): Use memcpy return value directly.
Suggestions from Ulrich Drepper.
(remove_cwd_entries) [! defined HAVE_WORKING_READDIR]: Impose overhead
of working around non-POSIX readdir implementation only on systems
that need it.
(remove_cwd_entries): Temporarily save a copy of each entry name in
an obstack rather than on the stack via alloca, then free it in the
likely event that we don't save the entry in the hash table.
Diffstat (limited to 'lib/stpcpy.c')
0 files changed, 0 insertions, 0 deletions