[Top][All Lists]

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

Re: [Pan-devel] Getting Started with Pan Development

From: Greg Breland
Subject: Re: [Pan-devel] Getting Started with Pan Development
Date: Fri, 15 Apr 2005 01:16:12 -0500

Thanks for the pointer, I'll check it out.  I think I can minimize the
amount of work by not letting Pan run the disk space below a certain
level, say 50mb.  I'm sure I won't hard code the level and instead base
it on something more intelligent, but you get the idea.  This should
allow me to just focus on file operations in the task manager bits.

On Thu, 2005-04-14 at 20:41, Gabi Davar wrote:
> Greg,
>  From a quick scan of the PAN code base, I could gather that every file  
> system command returns an appropriate error on failure caused by  
> insuffciant disk space. Since PAN uses the g_io_* functions and g_*  
> wrappers for file handling thats a good place to start.
> Unfortunately, PAN uses the filesystem for many operations, so evey such  
> operation need to be checked for gracious error handling - ea keep its  
> previous state uncorrupted. This looks like lots of work :(
> -gabi
> On Mon, 11 Apr 2005 17:13:49 -0500, Greg Breland <address@hidden>  
> wrote:
> > I want to fix a problem with Pan thats bothered me for a long time but
> > after looking at the source, I realize that I need a little guidance on
> > where to start.  Hopefully someone can give me a couple of hints on what
> > source files contain the code related to what I'm looking for.
> >
> > I want to add detection for full hard disk to Pan.  I'm thinking of
> > something along the lines of if the available space is less than the X
> > bytes then freeze downloading until more space becomes available.
> >
> > If someone could point me to the bits of code I should be looking at I
> > would appreciate it.  task-save.c was my first thought, but it doesn't
> > seem to contain what I'm looking for.
> >
> >
> >
> > _______________________________________________
> > Pan-devel mailing list
> > address@hidden
> >

reply via email to

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