55db8153da
Changes to squid-2.6.STABLE16 (5 Sep 2007) - Test for sys/capability.h linux include file to avoid failing on linux systems missing libcap - Release private objects on cache rebuild - Segfault in clientBuildReplyHeader when http->entry == NULL - Bug #2072: digest_pw_auth fails when using plaintext passwords - Bug #2073: assertion failed: client_side.c:4175: "buf != NULL || !conn->body.request on POST - Adjust default pconn timeouts to avoid shutting down connection while child sends request - Bug #1980: cache_peer monitortimeout not working - Bug #1882: Parent responses are not cached if sibling returns 504 - More squid.conf reordering to get the dependencies between options sorted proper Changes to squid-2.6.STABLE15 (31 Aug 2007) - The select() I/O loop got broken by the /dev/poll addition (2.6.STABLE14) - Bug #2017: Fails to work around broken servers sending just the HTTP headers - Bug #2023: Compile error with old GCC 2.x or other ANSI-C compilers before C99 - squid.conf.default updated and reorganised in more sensible groups - correct and document the syslog access_log format - Armenian error pages translation - digest_ldap_helper usage help updated - Bug #1560: ftpSendPasv: getsockname(-1,..): (9) Bad file descriptor - Improve delay pools in low traffic environment by checking timeouts at a steady 1 second interval even when there is not much activity - Don't request authentication on transparently intercepted connections - Cleanup linux capabilities for tproxy - Bug #2003: 'via' config directive doesn't affect response headers - Bug #1902: Adds Numeric Hit and invalid request counters to IP Cache - Add missing $|=1 to squid_db_auth - Bug #2050: Persistent connection dropped if cache has no Content-Length - Verify the URL on memory cache hits - Bug #2057: NTLM stop work in messengers after upgrade to 2.6.STABLE14 - Bug #1972: Squid sets peers to down state when they are in fact working. - potential segmentation fault in storeLocateVary() - Bug #2066: chdir after chroot - Windows port: Fix compiler warnings when building Squid as application (not Windows service mode) - Spelling correction of received
16 lines
550 B
Text
16 lines
550 B
Text
$NetBSD: patch-av,v 1.1 2007/09/07 10:39:36 taca Exp $
|
|
|
|
--- src/cf_gen.c.orig Thu Sep 6 06:50:15 2007
|
|
+++ src/cf_gen.c
|
|
@@ -177,9 +177,10 @@ main(int argc, char *argv[])
|
|
while ((NULL != fgets(buff, MAX_LINE, fp))) {
|
|
const char *type = strtok(buff, WS);
|
|
const char *dep;
|
|
+ Type *t;
|
|
if (!type || type[0] == '#')
|
|
continue;
|
|
- Type *t = (Type *) xcalloc(1, sizeof(*t));
|
|
+ t = (Type *) xcalloc(1, sizeof(*t));
|
|
t->name = xstrdup(type);
|
|
while ((dep = strtok(NULL, WS)) != NULL) {
|
|
TypeDep *d = (TypeDep *) xcalloc(1, sizeof(*dep));
|