On Thu, 2010-12-16 at 15:39 +0100, Nikola Pajkovsky wrote:
Moreover, crash_data_t and dump_dir were looking as a semi-generic containers up to now.
This patch adds a new concept, "list of attachments" to the container (why to only one of them, btw?).
I think such change needs to be discussed before it can go into git. The explanation could start with "what problem does this change try to solve?".
Jiri asks me to implement machinery to add an attachment via gui/cli.
Looks like we already have it: it's the CD_FLAG_BIN bit.
Every crash dump element which has that bit is a (possibly big and/or binary) file to be attached - as opposed to "some text".
What problems do you find when you try to use that bit as an indicator that this element to be attached?