Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Sep 2002 08:00:44 +0900
From:      "Akinori MUSHA" <knu@iDaemons.org>
To:        "David E. O'Brien" <obrien@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/gnu/usr.bin/grep Makefile grep.1 grep.c
Message-ID:  <86wupk5ihv.wl@archon.local.idaemons.org>
In-Reply-To: <86y9a05ip4.wl@archon.local.idaemons.org>
References:  <200209160427.g8G4RUom036315@freefall.freebsd.org> <86ofayjsdr.wl@archon.local.idaemons.org> <86y9a05ip4.wl@archon.local.idaemons.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At Wed, 18 Sep 2002 07:56:23 +0900,
I wrote:
>  2. Unlike gzread(), BZ2_bzread() does not work against a non-bzip2ed
>     stream. (I guess BZ2_bzread() should be fixed in future because
>     it claims to be compatible with gzread())

Ah, I've just realized that this was what your original comment
means. =)

> -	    bytesread = BZ2_bzread (bzbufdesc, buffer + bufsalloc, readsize);
> -	    /* gzread() will return "non-error" when given input that isn't
> -	       its type of compression.  So we need to mimic that behavor
> -	       for the bzgrep case.  */

-- 
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"When I leave I don't know what I'm hoping to find
              When I leave I don't know what I'm leaving behind.."

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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