Implicit Declaration of function?
japrice at gmail.com
Sun Dec 15 22:54:08 CET 2013
(On my phone... Forgive my top-replying... And the accidental private reply)
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' or
On Dec 15, 2013 4:48 AM, "Poul-Henning Kamp" <phk at phk.freebsd.dk> wrote:
> In message <CAChvjRD-K652MUp2rCm0Kt1J-ggKxQ=
> RuNeyeBw5rbeXYszA4w at mail.gmail.com>
> , 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
> phk at FreeBSD.ORG | TCP/IP since RFC 956
> FreeBSD committer | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc