ports/sysutils/tree/files/patch-tree.c
Patrick Li 993d91cc2c Chase checksum and bump PORTREVISION - author fix command line parsing
and symlink bug

PR:		35811
Submitted by:	maintainer
2002-03-14 07:39:54 +00:00

13 lines
634 B
C

$FreeBSD$
--- tree.c.orig Mon Jan 29 22:38:30 2001
+++ tree.c Mon Dec 24 08:09:39 2001
@@ -417,7 +417,7 @@
if (uflag && (gflag || sflag || Dflag)) fprintf(outfile,"%s",sp);
if (gflag) fprintf(outfile,"%-8.8s",gidtoname((*dir)->gid));
if (gflag && (sflag || Dflag)) fprintf(outfile,"%s",sp);
- if (sflag) fprintf(outfile,"%9ld",(*dir)->size);
+ if (sflag) fprintf(outfile,"%9ld",(long)(*dir)->size);
if (sflag && Dflag) fprintf(outfile,"%s",sp);
if (Dflag) fprintf(outfile,"%s",do_date((*dir)->mtime));
if (pflag || sflag || uflag || gflag || Dflag) fprintf(outfile,"]%s%s",sp,sp);