diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-03-09 19:21:20 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-03-09 19:21:20 +0000 |
commit | b3c509e6ae86a38064d86f9fb0536a64b317be1c (patch) | |
tree | 05b066be0cf6dc098f109ee2f6319e68ae48fa23 | |
parent | 1c6661af1b63e21ecb731d4f6d91d2e17aaf591c (diff) | |
download | coreutils-b3c509e6ae86a38064d86f9fb0536a64b317be1c.tar.xz |
* lib/fts.c: Include intprops.h.
(TYPE_SIGNED): Remove.
-rw-r--r-- | lib/fts.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1,6 +1,6 @@ /* Traverse a file hierarchy. - Copyright (C) 2004 Free Software Foundation, Inc. + Copyright (C) 2004, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -67,6 +67,7 @@ static char sccsid[] = "@(#)fts.c 8.6 (Berkeley) 8/14/94"; #include <errno.h> #include "dirfd.h" #include "fts_.h" +#include "intprops.h" #include <stdlib.h> #include <string.h> #include <unistd.h> @@ -167,9 +168,6 @@ static int fts_safe_changedir __P((FTS *, FTSENT *, int, const char *)) # define O_DIRECTORY 0 #endif -/* The extra casts work around common compiler bugs. */ -#define TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) - #define ISDOT(a) (a[0] == '.' && (!a[1] || (a[1] == '.' && !a[2]))) #define CLR(opt) (sp->fts_options &= ~(opt)) |