Date: Wed, 23 Jul 2003 10:20:16 -0700 (PDT) From: Peter Pentchev <roam@ringlet.net> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/54784: find -ls wastes space Message-ID: <200307231720.h6NHKGMQ037670@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/54784; it has been noted by GNATS. From: Peter Pentchev <roam@ringlet.net> To: Andy Farkas <andyf@speednet.com.au> Cc: bug-followup@freebsd.org Subject: Re: bin/54784: find -ls wastes space Date: Wed, 23 Jul 2003 20:13:47 +0300 On Thu, Jul 24, 2003 at 03:07:05AM +1000, Andy Farkas wrote: [snip] > Also, 5.1-CURRENT is different like this: > > - (void)printf("%6lu %4qd ", (u_long) sb->st_ino, sb->st_blocks); > + (void)printf("%6lu %4"PRId64" ", (u_long) sb->st_ino, sb->st_blocks); > > What the fsck does "PRId64" mean! A newly-added POSIX standard specifier for a 64-bit decimal number, I believe - those can vary widely across systems, depending on the platform's 32- or 64-bitness, signedness, etc. G'luck, Peter -- Peter Pentchev roam@ringlet.net roam@sbnd.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence is false.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307231720.h6NHKGMQ037670>