[Dovecot] FTS Plugin design

tomas at tuxteam.de tomas at tuxteam.de
Thu Apr 23 07:47:26 EEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Apr 22, 2009 at 03:51:45PM +0100, Rui Carneiro wrote:

[...]

> Cons:
> - Some programs to parse special formats (p.e. catppt and pdftotext) do not
> accept input from stdin (we need to create temporary files).

[from the peanut gallery here]

Note that some formats might require to seek to some point in the file [1]
(typically the end), so reading from stdin is awkward (it would require
stdin to be seekable, so either the app or the caller would have to put
the whole file somewhere anyway).

[1] Notably PDF has some index tables at EOF - 1k if I remember
correctly.

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFJ7/LeBcgs9XrR2kYRAqG+AJ48Lg3W65h6E0LAda/Q0O8RE9s15ACfSrOS
t2AUOrB+A0CXQYZAHFI/Qks=
=Dtcc
-----END PGP SIGNATURE-----


More information about the dovecot mailing list