* 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.
+2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
+
+ * 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.
+
2006-11-16 Jim Meyering <jim@meyering.net>
* tests/tail-2/append-only: If chattr +a fails, exit 77 (to tell
safe-read same
save-cwd savedir savewd settime sha1 sig2str ssize_t stat-macros
stat-time stdbool stdlib-safer stpcpy strcase strftime
- strpbrk strtoimax strtoumax strverscmp timespec tzset
+ strpbrk strtoimax strtoumax strverscmp sys_stat timespec tzset
unicodeio unistd-safer unlink-busy unlinkdir unlocked-io
uptime userspec utimecmp utimens vasprintf verify version-etc-fsf
wcwidth winsz-ioctl winsz-termios xalloc xgetcwd xgethostname
rename-dest-slash.c
rename.c
rmdir.c
+root-dev-ino.c
+root-dev-ino.h
rpmatch.c
safe-read.c
safe-read.h
rename-dest-slash.c
rename.c
rmdir.c
+root-dev-ino.c
+root-dev-ino.h
rpmatch.c
safe-read.c
safe-read.h
rename.m4
rmdir-errno.m4
rmdir.m4
+root-dev-ino.m4
rpmatch.m4
safe-read.m4
safe-write.m4
rename.m4
rmdir-errno.m4
rmdir.m4
+root-dev-ino.m4
rpmatch.m4
safe-read.m4
safe-write.m4
/* 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 \
do \
{ \
if (dired) \
- obstack_grow ((obs), &dired_pos, sizeof (dired_pos)); \
+ obstack_grow (obs, &dired_pos, sizeof (dired_pos)); \
} \
while (0)
static bool first = true;
static bool prev_pair_equal = false;
-#define EQUAL_BLOCKS(b1, b2) (memcmp ((b1), (b2), bytes_per_block) == 0)
+#define EQUAL_BLOCKS(b1, b2) (memcmp (b1, b2, bytes_per_block) == 0)
if (abbreviate_duplicate_blocks
&& !first && n_bytes == bytes_per_block
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 ();
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