emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#15325: closed (How does gzip reads/writes data fro


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#15325: closed (How does gzip reads/writes data from/to the file.)
Date: Tue, 10 Sep 2013 18:16:03 +0000

Your message dated Tue, 10 Sep 2013 12:15:07 -0600
with message-id <address@hidden>
and subject line Re: bug#15325: How does gzip reads/writes data from/to the 
file.
has caused the debbugs.gnu.org bug report #15325,
regarding How does gzip reads/writes data from/to the file.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
15325: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15325
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: How does gzip reads/writes data from/to the file. Date: Tue, 10 Sep 2013 13:54:39 -0400
Hello,

I am trying to figure out what functions does gzip uses to read/write the data to/from the files. I saw that for error cases gzip was using fprintf (stderr.. but saw no fread/fscanf functions anywhere in the code.

Can anyone point out the functions used by gzip to read/write to a file and in which code file are they.

Thanks 

--- End Message ---
--- Begin Message --- Subject: Re: bug#15325: How does gzip reads/writes data from/to the file. Date: Tue, 10 Sep 2013 12:15:07 -0600 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8
tag 15325 notabug
thanks

On 09/10/2013 11:54 AM, ddun wrote:
> Hello,
> 
> I am trying to figure out what functions does gzip uses to read/write the
> data to/from the files. I saw that for error cases gzip was using *fprintf
> (stderr.. *but saw no fread/fscanf functions anywhere in the code.
> *
> *
> Can anyone point out the functions used by gzip to read/write to a file and
> in which code file are they.

Look for the lower-level read()/write() interface (Unix unbuffered file
I/O), not the higher-level fread() (C buffered file I/O).

I'm closing this as not a bug, so that it doesn't clog the bug tracker;
but feel free to continue to respond as you have other questions.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]