pdf-devel
[Top][All Lists]
Advanced

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

Re: [pdf-devel] FS module, file size and free space with different inter


From: Scott Fohey
Subject: Re: [pdf-devel] FS module, file size and free space with different interface
Date: Mon, 8 Nov 2010 22:24:57 -0500

>   >    > I would say to change the pdf_fsys_file_get size to
>   >    >
>   >    >  pdf_size_t pdf_fsys_file_get_size (pdf_fsys_file_t file);
>   >    >
>   >
>   >    Ok, should I change that?
>   >
>   > Please.
>   >
>
>   attached. I changed the disk implementation accordingly.
>
> Applied to the trunk. Many thanks.

So, back in Aug of 2008 pdf_fsys_file_get_size was changed to return a
pdf_size_t.

The HTTP filesystem may not know the file size until download is complete.
I think that the interface should change back to return a status, and
put the size into
a pointer if it can be done.

Thoughts?



reply via email to

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