]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(DOT_OR_DOTDOT): Move definition from this file...
authorJim Meyering <jim@meyering.net>
Mon, 30 Nov 1998 03:00:51 +0000 (03:00 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 30 Nov 1998 03:00:51 +0000 (03:00 +0000)
src/remove.c

index a3567ad1bf8323b4b40857b00aed6347453b6378..c911efac0807d024a4bbe48c2526f19ebc11c3ff 100644 (file)
@@ -70,10 +70,6 @@ int rpl_lstat PARAMS((const char *, struct stat *));
 # define S_ISLNK(Mode) 0
 #endif
 
-#define DOT_OR_DOTDOT(Basename) \
-  (Basename[0] == '.' && (Basename[1] == '\0' \
-                         || (Basename[1] == '.' && Basename[2] == '\0')))
-
 #if defined strdupa
 # define ASSIGN_STRDUPA(DEST, S)               \
   do { DEST = strdupa(S); } while (0)