pan-devel
[Top][All Lists]
Advanced

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

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


From: Gabi Davar
Subject: Re: [Pan-devel] Getting Started with Pan Development
Date: Fri, 15 Apr 2005 03:41:17 +0200
User-agent: Opera M2/7.54 (Win32, build 3869)

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
http://lists.nongnu.org/mailman/listinfo/pan-devel



--
-gabi




reply via email to

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