diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-11-16 19:51:23 +0100 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-11-16 19:51:23 +0100 |
commit | 1a0333565f1a89d87b36e7a5c83bac9c145a9916 (patch) | |
tree | dff547390d17bf667611e211d6a385ba732d730a /src/system.h | |
parent | a73fdeb2ce0a1574ec84d7dd7f670217088a818c (diff) | |
download | coreutils-1a0333565f1a89d87b36e7a5c83bac9c145a9916.tar.xz |
* bootstrap.conf (gnulib_modules): Add sys_stat, since we use it directly too.
* lib/.cvsignore, lib/.gitignore: Add root-dev-ino.c, root-dev-ino.h.
* m4/.cvsignore, m4/.gitignore: Add root-dev-ino.m4.
* src/ls.c (DIRED_FPUTS_LITERAL, PUSH_CURRENT_DIRED_POS):
Omit unnecessary parenthesization of args.
* src/od.c (EQUAL_BLOCKS): Likewise.
* src/system.h (STREQ, ASSIGN_STRDUPA): Likewise.
Diffstat (limited to 'src/system.h')
-rw-r--r-- | src/system.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/system.h b/src/system.h index edb3edecd..9cc144c76 100644 --- a/src/system.h +++ b/src/system.h @@ -293,7 +293,7 @@ select_plural (uintmax_t n) return (n <= ULONG_MAX ? n : n % PLURAL_REDUCER + PLURAL_REDUCER); } -#define STREQ(a, b) (strcmp ((a), (b)) == 0) +#define STREQ(a, b) (strcmp (a, b) == 0) #if !HAVE_DECL_FREE void free (); @@ -506,7 +506,7 @@ enum const char *s_ = (S); \ size_t len_ = strlen (s_) + 1; \ char *tmp_dest_ = alloca (len_); \ - DEST = memcpy (tmp_dest_, (s_), len_); \ + DEST = memcpy (tmp_dest_, s_, len_); \ } \ while (0) #endif |