help-hurd
[Top][All Lists]
Advanced

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

Re: Gunzip and bunzip2 stores


From: Marcus Brinkmann
Subject: Re: Gunzip and bunzip2 stores
Date: Thu, 12 Sep 2002 17:29:58 +0200
User-agent: Mutt/1.4i

On Thu, Sep 12, 2002 at 04:44:36PM +0200, Ludovic Courtès wrote:
> Ok, so the store runs handling should rather be in each class and
> store_set_size () would just call the set_size () method and nothing more.

I have not thought yet about how runs should be handled for this.
 
> Regarding the function name, the reason for choosing store_set_size () is
> because it is close to file_set_size, the analogous function in the Hurd fs
> interface.

Good point.

> OTOH, it would be called only for truncating files (enlarging files
> can be done by calling store_write)

Oha, you should read up what truncate() does again.

> and also POSIX have truncate and
> ftruncate.

set_size is a good name, probably better than the confusing truncate from
POSIX.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    marcus@gnu.org
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/




reply via email to

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