In message <[email protected]>, Mart in Blix Grydeland writes:
>Attached is a patch to add custom field ordering to varnishstat. This way >you can select (like before) individual fields to be shown using the -f >switch, but fields will with patch also be displayed in the order you >specify. > >Any comments are appreciated. I think I would prefer if we could do this in libvarnishapi instead of in varnishstat, it seems generally useful at libvarnishapi level to me. How does (should/will) this work with dynamic stats counters ? +struct stat stat; Naming a struct "stat" is often asking for more trouble than it is worth. "struct stat" is what stat(2) and fstat(2) returns and because of various levels of compatibility junk (32/64 bit typically) it can be seriously magicked by compilers. -- 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-dev mailing list [email protected] http://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev
