Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
71f7051
)
Added some test code to assist in the remote debugging of the build
author
Wayne Davison
<wayned@samba.org>
Fri, 9 Apr 2004 18:36:01 +0000
(18:36 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 9 Apr 2004 18:36:01 +0000
(18:36 +0000)
farm's Solaris machines.
tls.c
patch
|
blob
|
blame
|
history
diff --git
a/tls.c
b/tls.c
index
3af402f
..
971d9ba
100644
(file)
--- a/
tls.c
+++ b/
tls.c
@@
-114,9
+114,13
@@
static void list_file (const char *fname)
/* TODO: Perhaps escape special characters in fname? */
printf("%s ", permbuf);
/* TODO: Perhaps escape special characters in fname? */
printf("%s ", permbuf);
+#if MAJOR_IN_MKDEV
+ printf("! "); /* XXX trying to debug Solaris build-farm weirdness */
+#else
if (IS_DEVICE(buf.st_mode))
printf("%6d,%5d", major(buf.st_rdev), minor(buf.st_rdev));
else /* NB: use double for size because it might not fit in a long. */
if (IS_DEVICE(buf.st_mode))
printf("%6d,%5d", major(buf.st_rdev), minor(buf.st_rdev));
else /* NB: use double for size because it might not fit in a long. */
+#endif
printf("%12.0f", (double)buf.st_size);
printf(" %6ld.%-6ld %6ld %s %s%s\n",
(long)buf.st_uid, (long)buf.st_gid, (long)buf.st_nlink,
printf("%12.0f", (double)buf.st_size);
printf(" %6ld.%-6ld %6ld %s %s%s\n",
(long)buf.st_uid, (long)buf.st_gid, (long)buf.st_nlink,