Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2008 11:48:31 GMT
From:      Geoff The <geoff2k@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/125260: archivers/pbzip2: PRIu64 macro not being expanded correctly and leaking into -v output
Message-ID:  <200807041148.m64BmVZV027192@www.freebsd.org>
Resent-Message-ID: <200807041150.m64Bo2B2064939@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125260
>Category:       ports
>Synopsis:       archivers/pbzip2: PRIu64 macro not being expanded correctly and leaking into -v output
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 04 11:50:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Geoff The
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
FreeBSD shigure.the 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Mon Apr  7 13:43:08 EDT 2008     geoff@shigure.the:/export/pool1/migration/obj/usr/src/sys/SHIGURE20080407a  i386
>Description:
The PRIu64 macros being used to output byte sizes are not being expanded correctly.  E.g.

% /usr/local/bin/pbzip2 -rv AUTHORS 
Parallel BZIP2 v1.0.2 - by: Jeff Gilchrist [http://compression.ca]
[July 25, 2007]             (uses libbzip2 by Julian Seward)

         # CPUs: 2
 BWT Block Size: 900k
File Block Size: 900k
-------------------------------------------
         File #: 1 of 1
     Input Name: AUTHORS
    Output Name: AUTHORS.bz2

     Input Size: PRIu64 bytes
Compressing data...
    Output Size: PRIu64 bytes
-------------------------------------------

     Wall Clock: 0.052543 seconds

>How-To-Repeat:

>Fix:
Locally, I've replaced all instances of PRIu64 with llu, but this is platform-specific.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807041148.m64BmVZV027192>