nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] [pick -to] apparently failing for long 'To:' header

2017-05-06 08:54:34
Tom wrote:

$ pick -to mytkhcsh
pick: no messages match specification

That's due to this hard-coded limit in picksbr.c:

    #define LBSIZE  1024
    #define ESIZE   1024
    static char linebuf[LBSIZE + 1];
    static char decoded_linebuf[LBSIZE + 1];

We should replace that with dynamic allocation, so that vm
becomes the limiting factor.  Anyone?

In the meantime, we could increase those constants.  I don't think
that they determine the size of any stack variables, just static
and heap, so we could increase them a lot.

David

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>