summaryrefslogtreecommitdiff
path: root/src/ls.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-11-16 19:51:23 +0100
committerJim Meyering <jim@meyering.net>2006-11-16 19:51:23 +0100
commit1a0333565f1a89d87b36e7a5c83bac9c145a9916 (patch)
treedff547390d17bf667611e211d6a385ba732d730a /src/ls.c
parenta73fdeb2ce0a1574ec84d7dd7f670217088a818c (diff)
downloadcoreutils-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/ls.c')
-rw-r--r--src/ls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ls.c b/src/ls.c
index c17a501ff..03164b167 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -863,11 +863,11 @@ static size_t dired_pos;
/* Write S to STREAM and increment DIRED_POS by S_LEN. */
#define DIRED_FPUTS(s, stream, s_len) \
- do {fputs ((s), (stream)); dired_pos += s_len;} while (0)
+ do {fputs (s, stream); dired_pos += s_len;} while (0)
/* Like DIRED_FPUTS, but for use when S is a literal string. */
#define DIRED_FPUTS_LITERAL(s, stream) \
- do {fputs ((s), (stream)); dired_pos += sizeof((s)) - 1;} while (0)
+ do {fputs (s, stream); dired_pos += sizeof (s) - 1;} while (0)
#define DIRED_INDENT() \
do \
@@ -892,7 +892,7 @@ static struct obstack subdired_obstack;
do \
{ \
if (dired) \
- obstack_grow ((obs), &dired_pos, sizeof (dired_pos)); \
+ obstack_grow (obs, &dired_pos, sizeof (dired_pos)); \
} \
while (0)