r719 - trunk/varnish-cache/bin/varnishd
Poul-Henning Kamp
phk at phk.freebsd.dk
Mon Aug 7 17:18:59 CEST 2006
In message <20060807150835.67E2D1EC5DA at projects.linpro.no>, des at projects.linpro
.no writes:
>Author: des
>Date: 2006-08-07 17:08:35 +0200 (Mon, 07 Aug 2006)
>New Revision: 719
>
>Modified:
> trunk/varnish-cache/bin/varnishd/shmlog.c
>Log:
>Remove redundant definition of __assert().
Redundant relative to what ?
The default __assert() does not include errno
>-/*--------------------------------------------------------------------*/
>-
>-void
>-__assert(const char *func, const char *file, int line, const char *failedexpr)
>-{
>- (void)fprintf(stderr,
>- "\r\nAssertion failed: (%s)\n"
>- " function %s, file %s, line %d.\n"
>- " errno %d = \"%s\"\n",
>- failedexpr, func, file, line, errno, strerror(errno));
>- abort();
>- /* NOTREACHED */
>-}
>
>_______________________________________________
>varnish-commit mailing list
>varnish-commit at projects.linpro.no
>http://projects.linpro.no/mailman/listinfo/varnish-commit
>
--
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.
More information about the varnish-commit
mailing list