summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-11-26(stdbool.h): Fix typo in previous change.Paul Eggert
2005-11-26(stdbool.h): Just copy stdbool_.h; no need to sed any more.Paul Eggert
2005-11-26no longer needed.Paul Eggert
(gl_STDBOOL_H): New macro, from gnulib. (AC_HEADER_STDBOOL): Sync with gnulib.
2005-11-26Simplify greatly, under the assumption that thesePaul Eggert
days most people use C99-compatible compilers to debug, so it's not worth worrying about catering to older compilers for that. This works around some porting problems with HP-UX compilers. (false, true) [defined __BEOS__]: Don't #undef; no longer needed. (_Bool): typedef to bool if C++ or BeOS, and #define to signed char otherwise.
2005-11-26(gettime) [!defined OK_TO_USE_1S_CLOCK]:Paul Eggert
Report an error at compile-time if only a 1-second nominal clock resolution is found.
2005-11-24*** empty log message ***Jim Meyering
2005-11-24(EXTRA_DIST): Add acl to the list.Jim Meyering
2005-11-24Add `$0: ' prefix to diagnostics.Jim Meyering
2005-11-24*** empty log message ***Jim Meyering
2005-11-24*** empty log message ***Jim Meyering
2005-11-24Add this:Jim Meyering
^lib/buffer-lcm\.c$
2005-11-24Improve performance a bit with src/copy.c.Paul Eggert
2005-11-24Improve performance a bit by optimizing awayPaul Eggert
unnecessary system calls and going to a block size of at least 8192 (on normal hosts, anyway). This improved performance 5% on my Debian stable host (2.4.27 kernel, x86, copying from root ext3 file system to itself). Include "buffer-lcm.h". (copy_reg): Omit last argument. All callers changed. Use xmalloc to allocate rather than trusting alloca (which is unwise with large block sizes). Declare locals more locally, if possible. Use uintptr_t words instead of int words, for a bit more speed when looking for null blocks on 64-bit hosts. Optimize away reads of zero bytes on regular files. In the typical case, insist on 8 KiB buffers, at least. Avoid unnecessary extra call to fstat when checking for sparse files. Avoid now-unnecessary cast to off_t, and "0L". Avoid unnecessary test of *new_dst when checking for same owner and group.
2005-11-24Add buffer-lcm.Paul Eggert
2005-11-24(libcoreutils_a_SOURCES): Add buffer-lcm.c, buffer-lcm.h.Paul Eggert
2005-11-24Initial versionPaul Eggert
2005-11-24Initial version, from diffutilsPaul Eggert
2005-11-23tweak grammar in commentsJim Meyering
2005-11-23*** empty log message ***Jim Meyering
2005-11-23(fdopendir): Don't change errno when returning non-NULL.Jim Meyering
2005-11-23(rm): Don't assume C99 for-loop syntax.Paul Eggert
2005-11-22whoops. Add back decl/definition of n_lengths.Jim Meyering
2005-11-22*** empty log message ***Jim Meyering
2005-11-22(AD_push): Remove debugging cruft.Jim Meyering
2005-11-22tweak commentsJim Meyering
2005-11-22*** empty log message ***Jim Meyering
2005-11-22.Jim Meyering
2005-11-22*** empty log message ***Jim Meyering
2005-11-22Add lib/euidaccess-stat.c.Jim Meyering
2005-11-22.Jim Meyering
2005-11-22Rewrite. Now, this module is reentrant on systemsJim Meyering
that provide openat (Solaris), and on systems like Linux+procfs where our openat emulation code is reentrant. This also fixes a few low-probability leaks and eliminates some code that could, in very unusual circumstances, cause rm() (via a callee) to exit.
2005-11-22*** empty log message ***Jim Meyering
2005-11-22Put copyright dates all on one line so theJim Meyering
emacs function that updates them works properly.
2005-11-22*** empty log message ***Jim Meyering
2005-11-22(rm): Change expected diagnostic, `cannot open directory' to `cannot remove',Jim Meyering
to align with new version of rm.
2005-11-22*** empty log message ***Jim Meyering
2005-11-22Ensure that rm now continues removing entries even after certain types of ↵Jim Meyering
failure.
2005-11-22*** empty log message ***Jim Meyering
2005-11-22Rewrite. Now, this module is reentrant on systemsJim Meyering
that provide openat (Solaris), and on systems like Linux+procfs where our openat emulation code is reentrant. This also fixes a few low-probability leaks and eliminates some code that could, in very unusual circumstances, cause rm() (via a callee) to exit.
2005-11-22*** empty log message ***Jim Meyering
2005-11-22(openat_permissive): Declare.Jim Meyering
(openat_ro): Define.
2005-11-22(EXPECTED_ERRNO): New macro.Jim Meyering
(openat_permissive): New function -- used in remove.c rewrite. (all functions): Set errno just before returning, only if there was an actual failure. Use EXPECTED_ERRNO rather than comparing against only ENOTDIR.
2005-11-21add ^lib/euidaccess-stat\.c$Jim Meyering
2005-11-20*** empty log message ***Jim Meyering
2005-11-20Remove spurious space-before-TAB.Jim Meyering
2005-11-20*** empty log message ***Jim Meyering
2005-11-20(gl_EUIDACCESS_STAT): New file/macro.Jim Meyering
2005-11-20*** empty log message ***Jim Meyering
2005-11-20.Jim Meyering
2005-11-20*** empty log message ***Jim Meyering