text
stringlengths
0
14.1k
self.epub_f.close()
self._finalized = True
" isc
rockettpw/jumplinks Blueprints/schema-update-v4.sql 289 "CREATE TABLE <table-name>_nf (
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
`request_uri` VARCHAR(255) NOT NULL,
`referrer` VARCHAR(255) DEFAULT '',
`user_agent` VARCHAR(255) DEFAULT '',
`created_at` TIMESTAMP,
PRIMARY KEY (id)
) ENGINE = MyISAM DEFAULT CHARSET=utf8;" isc
pscedu/slash2-stable zfs-fuse/src/lib/libzfs/libzfs_pool.c 94615 "/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the ""License"").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets ""[]"" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
*/
#include <sys/types.h>
#include <ctype.h>
#include <errno.h>
#include <devid.h>
#include <fcntl.h>
#include <libintl.h>
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <dlfcn.h>
#include <unistd.h>
#include <sys/efi_partition.h>
#include <sys/vtoc.h>
#include <sys/stat.h>
#include <sys/zfs_ioctl.h>
#include ""zfs_namecheck.h""
#include ""zfs_prop.h""
#include ""libzfs_impl.h""
#include ""zfs_comutil.h""
#include ""format.h""
#include <syslog.h>
/*static int read_efi_label(nvlist_t *config, diskaddr_t *sb);*/
#if defined(__i386) || defined(__amd64)
#define BOOTCMD ""installgrub(1M)""
#else
#define BOOTCMD ""installboot(1M)""
#endif
#define DISK_ROOT ""/dev""
#define RDISK_ROOT ""/dev""
#define BACKUP_SLICE ""s2""
/*
* ====================================================================
* zpool property functions
* ====================================================================
*/
static int
zpool_get_all_props(zpool_handle_t *zhp)
{
zfs_cmd_t zc = { 0 };
libzfs_handle_t *hdl = zhp->zpool_hdl;
(void) strlcpy(zc.zc_name, zhp->zpool_name, sizeof (zc.zc_name));
if (zcmd_alloc_dst_nvlist(hdl, &zc, 0) != 0)
return (-1);
while (ioctl(hdl->libzfs_fd, ZFS_IOC_POOL_GET_PROPS, &zc) != 0) {
if (errno == ENOMEM) {
if (zcmd_expand_dst_nvlist(hdl, &zc) != 0) {
zcmd_free_nvlists(&zc);
return (-1);
}
} else {
zcmd_free_nvlists(&zc);
return (-1);