diff options
| author | Wayne Davison <wayned@samba.org> | 2004-04-09 18:36:01 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@samba.org> | 2004-04-09 18:36:01 +0000 |
| commit | 47ba39bef6d69f9bf8107da9c97bdffc3e02476b (patch) | |
| tree | 4215fbf07a4f28f1f69625123e8567b86556ff4e /tls.c | |
| parent | 71f70514890a7751ea0712c329c5ac20fdfe5feb (diff) | |
| download | android_external_rsync-47ba39bef6d69f9bf8107da9c97bdffc3e02476b.tar.gz android_external_rsync-47ba39bef6d69f9bf8107da9c97bdffc3e02476b.tar.bz2 android_external_rsync-47ba39bef6d69f9bf8107da9c97bdffc3e02476b.zip | |
Added some test code to assist in the remote debugging of the build
farm's Solaris machines.
Diffstat (limited to 'tls.c')
| -rw-r--r-- | tls.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -114,9 +114,13 @@ static void list_file (const char *fname) /* 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. */ +#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, |
