lib/same.c


Log

Author Commit Date CI Message
Paul Eggert 3c634821 2003-09-10T06:43:26 Remove K&R cruft.
Jim Meyering 437df36c 2003-06-06T21:07:23 Merge from coreutils. (same_name): Declare *_basename locals to be `const'. Consolidate declarations and initializations of *_base* locals.
Jim Meyering e49a8409 2003-01-14T14:38:32 *** empty log message ***
Bruno Haible e5894c7e 2003-01-14T13:51:17 Optimization: Avoid unnecessary stat() calls.
Bruno Haible f9fa25dc 2002-11-05T21:45:29 Include gettext.h instead of <libintl.h> with #ifdefs.
Jim Meyering de4cde2d 2001-05-12T15:48:00 (base_name): Remove; now in dirname.h. (STREQ): Remove. (same_name): Handle the case where the basename ends in trailing '/'.
Jim Meyering 81f3a792 2000-08-07T16:55:57 (same_name): Invoke xalloc_die instead of printing our own message.
Jim Meyering 27d8c463 2000-06-29T11:29:55 Include <string.h> or <strings.h>, as appropriate, for declaration of strcmp.
Jim Meyering de1b0c61 2000-02-27T17:54:25 use double quotes, not single quotes around syntax-error-evoking string
Jim Meyering d9f6701e 2000-02-27T17:39:52 Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..' now that autoconf always defines the HAVE_DECL_ symbols. Arrange for cpp to fail if the configure-time declaration check was not run.
Jim Meyering 682d4570 2000-01-07T07:33:19 add copyright/no-warranty comment
Jim Meyering 1fe04cba 1999-05-23T19:42:59 New file (function extracted from ln.c).