summaryrefslogtreecommitdiff
path: root/lib/same.c
AgeCommit message (Collapse)Author
2005-05-14Update FSF postal mail address.Jim Meyering
2004-11-26(MIN) [defined MIN]: Don't define, since it's already defined.Paul Eggert
2004-08-02(errno): Remove decl; we now assume C89 or better.Paul Eggert
(same_name): Return bool, not int.
2003-08-19Include <stdlib.h> and <string.h> unconditionally,Jim Meyering
as we're now assuming that part of hosted C89. (free) [!HAVE_DECL_FREE]: Remove decl; no longer needed. (same_name): Invoke pathconf on destination, not source, as that's a bit clearer even if they are the same dir.
2003-08-18Include <stdbool.h>, <limits.h>.Jim Meyering
(_POSIX_NAME_MAX): Define if not defined. (MIN): New macro. (same_name): If file names are silently truncated, report that the file names are the same if they are the same after the silent truncation.
2003-01-14(same_name): Declare *_basename locals to be `const'.Jim Meyering
Consolidate declarations and initializations of *_base* locals.
2003-01-14(same_name): Reorder tests so as to avoid calling stat()Jim Meyering
when a string comparison is sufficient.
2002-11-14Don't include libintl.h, and don't define `_' -- they're not used.Jim Meyering
2001-05-12(base_name): Remove; now in dirname.h.Jim Meyering
(STREQ): Remove. (same_name): Handle the case where the basename ends in trailing '/'.
2000-08-07(same_name): Invoke xalloc_die instead of printing our own message.Jim Meyering
2000-06-29Include <string.h> or <strings.h>, as appropriate, for declaration of strcmp.Jim Meyering
2000-02-27use double quotes, not single quotes around syntax-error-evoking stringJim Meyering
2000-02-27Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..'Jim Meyering
now that autoconf always defines the HAVE_DECL_ symbols. Arrange for cpp to fail if the configure-time declaration check was not run.
2000-01-07add copyright/no-warranty commentJim Meyering
1999-05-23New file (function extracted from ln.c).Jim Meyering