[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: Kio_file & Rollback
From:       Steffen Hansen <stefh () mip ! sdu ! dk>
Date:       1999-07-23 13:20:05
[Download RAW message or body]

On Fri, 23 Jul 1999, Matt Koss wrote:

> 
> I want to implement rollback in kio_file.
> This means, that when the transfer is interrupted, slave will take some bytes
> from the end of the file and put them away.
> Later, when resumed, this will make sure that there is not any trailing garbage.
> 
> But what's the easiest thing to achieve it ?
> 
> Is there some simple method for cutting some data from the end of the local
> file ?
> Or do I have to do copying ?

"man truncate"

greetings,
-- 
Steffen Hansen                            
email: stefh@mip.sdu.dk, stefh@imada.sdu.dk, hansen@kde.org 
URL:   http://www.mip.sdu.dk/~stefh       

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic