(On my phone... Forgive my top-replying... And the accidental private reply)

Thank you.

One final question: do I need to be concerned with the 'char *' declaration
for the VRT_GetHdr call? Would it be better to do a 'char buf[40]' or
similar?
On Dec 15, 2013 4:48 AM, "Poul-Henning Kamp" <[email protected]> wrote:

> In message <CAChvjRD-K652MUp2rCm0Kt1J-ggKxQ=
> [email protected]>
> , Jason Price writes:
>
> >1) Do I need to free any of my temp variables here?  Or does varnish clean
> >them up for me?  (in my case t, digestepoch, digestdate, and tm)
>
> Only if you allocate the memory from malloc() or similar.
>
> As far as I can see, all your variables are local to your function
> so they live on the stack so they are automatically destroyed.
>
> >2) seriously: WTF with _XOpenSource needing to be set to use strptime??
>
> Ask whoever writes your OS.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> [email protected]         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to