*/
/*
* Test program for listing files during regression testing
+ * Links have their permissions and time bashed since they cannot
+ * be set by Bacula.
*
* Kern Sibbald, MM
*
static void print_ls_output(char *fname, char *link, int type, struct stat *statp)
{
- char buf[1000];
+ char buf[2000];
char ec1[30];
char *p, *f;
int n;
p += n;
n = sprintf(p, "%-4d %-4d", (int)statp->st_uid, (int)statp->st_gid);
p += n;
- n = sprintf(p, "%7.7s ", edit_uint64(statp->st_size, ec1));
+ n = sprintf(p, "%10.10s ", edit_uint64(statp->st_size, ec1));
p += n;
if (S_ISCHR(statp->st_mode) || S_ISBLK(statp->st_mode)) {
n = sprintf(p, "%4x ", (int)statp->st_rdev);