* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: server.c,v 1.556.8.16 2010/07/11 00:12:18 each Exp $ */
+/* $Id: server.c,v 1.556.8.17 2010/07/11 23:46:35 tbox Exp $ */
/*! \file */
CHECK(configure_view(view, config, vconfig,
&cachelist, bindkeys,
ns_g_mctx, &aclconfctx, ISC_TRUE));
-
+
if (vconfig != NULL) {
/*
* Are we preserving config for dynamically added
obj = cfg_tuple_get(parms, "filepart");
if (obj && cfg_obj_isstring(obj))
filepart = cfg_obj_asstring(obj);
-
+
if (filepart != NULL && *filepart != '\0') {
/* No hidden fles or full paths */
if (*filepart == '.' ||
if (ifp != NULL && result == ISC_R_SUCCESS) {
char *found = NULL, *p;
size_t n;
-
+
/* Create a temporary file */
CHECK(isc_string_printf(buf, 1023, "%s.%d", filename,
getpid()));
/* Just spool the remainder of the file out */
while ((n = fread(buf, 1, 1024, ifp)) > 0)
fwrite(buf, 1, n, ofp);
-
+
/* Move temporary into place */
CHECK(isc_file_rename(tmpname, filename));
}
/*
- * Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: zoneconf.c,v 1.161.4.1 2010/07/11 00:12:18 each Exp $ */
+/* $Id: zoneconf.c,v 1.161.4.2 2010/07/11 23:46:35 tbox Exp $ */
/*% */
/*
- * Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2007, 2009, 2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: namedconf.h,v 1.15.120.1 2010/07/11 00:12:19 each Exp $ */
+/* $Id: namedconf.h,v 1.15.120.2 2010/07/11 23:46:36 tbox Exp $ */
#ifndef ISCCFG_NAMEDCONF_H
#define ISCCFG_NAMEDCONF_H 1
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: namedconf.c,v 1.113.4.8 2010/07/11 05:44:05 each Exp $ */
+/* $Id: namedconf.c,v 1.113.4.9 2010/07/11 23:46:36 tbox Exp $ */
/*! \file */
*/
static isc_result_t
parse_optional_qstr(cfg_parser_t *pctx, const cfg_type_t *type,
- cfg_obj_t **ret)
+ cfg_obj_t **ret)
{
isc_result_t result;
UNUSED(type);