mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Merge remote-tracking branch 'remotes/mjt/tags/pull-trivial-patches-2015-11-06' into staging
trivial patches for 2015-11-06 # gpg: Signature made Fri 06 Nov 2015 12:42:43 GMT using RSA key ID A4C3D7DB # gpg: Good signature from "Michael Tokarev <mjt@tls.msk.ru>" # gpg: aka "Michael Tokarev <mjt@corpit.ru>" # gpg: aka "Michael Tokarev <mjt@debian.org>" * remotes/mjt/tags/pull-trivial-patches-2015-11-06: (24 commits) tap-bsd: use user-specified tap device if it already exists qemu-sockets: do not test path with access() before unlinking taget-ppc: Fix read access to IBAT registers higher than IBAT3 exec: avoid unnecessary cacheline bounce on ram_list.mru_block target-alpha: fix uninitialized variable ivshmem-server: fix possible OVERRUN pci-assign: do not test path with access() before opening qom/object: fix 2 comment typos configure: remove help string for 'vnc-tls' option usb: Use g_new() & friends where that makes obvious sense qxl: Use g_new() & friends where that makes obvious sense ui: Use g_new() & friends where that makes obvious sense bt: fix use of uninitialized variable seqlen hw/dma/pxa2xx: Remove superfluous memset linux-user/syscall: Replace g_malloc0 + memcpy with g_memdup tests/i44fx-test: No need for zeroing memory before memset hw/input/tsc210x: Remove superfluous memset xen: fix invalid assertion tests: ignore test-qga fix bad indentation in pcie_cap_slot_write_config() ... Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
/*-darwin-user
|
||||
/*-linux-user
|
||||
/*-bsd-user
|
||||
/ivshmem-client
|
||||
/ivshmem-server
|
||||
/libdis*
|
||||
/libuser
|
||||
/linux-headers/asm
|
||||
|
||||
@@ -1348,7 +1348,6 @@ disabled with --disable-FEATURE, default is enabled if available:
|
||||
vte vte support for the gtk UI
|
||||
curses curses UI
|
||||
vnc VNC UI support
|
||||
vnc-tls TLS encryption for VNC server
|
||||
vnc-sasl SASL encryption for VNC server
|
||||
vnc-jpeg JPEG lossy compression for VNC server
|
||||
vnc-png PNG compression for VNC server
|
||||
|
||||
@@ -168,7 +168,9 @@ ivshmem_server_handle_new_conn(IvshmemServer *server)
|
||||
}
|
||||
if (i == G_MAXUINT16) {
|
||||
IVSHMEM_SERVER_DEBUG(server, "cannot allocate new client id\n");
|
||||
goto fail;
|
||||
close(newfd);
|
||||
g_free(peer);
|
||||
return -1;
|
||||
}
|
||||
peer->id = server->cur_id++;
|
||||
|
||||
|
||||
@@ -903,7 +903,7 @@ static RAMBlock *qemu_get_ram_block(ram_addr_t addr)
|
||||
|
||||
block = atomic_rcu_read(&ram_list.mru_block);
|
||||
if (block && addr - block->offset < block->max_length) {
|
||||
goto found;
|
||||
return block;
|
||||
}
|
||||
QLIST_FOREACH_RCU(block, &ram_list.blocks, next) {
|
||||
if (addr - block->offset < block->max_length) {
|
||||
|
||||
@@ -956,6 +956,13 @@ static int gdb_handle_packet(GDBState *s, const char *line_buf)
|
||||
if (*p == ',')
|
||||
p++;
|
||||
len = strtoull(p, NULL, 16);
|
||||
|
||||
/* memtohex() doubles the required space */
|
||||
if (len > MAX_PACKET_LENGTH / 2) {
|
||||
put_packet (s, "E22");
|
||||
break;
|
||||
}
|
||||
|
||||
if (target_memory_rw_debug(s->g_cpu, addr, mem_buf, len, false) != 0) {
|
||||
put_packet (s, "E14");
|
||||
} else {
|
||||
@@ -970,6 +977,12 @@ static int gdb_handle_packet(GDBState *s, const char *line_buf)
|
||||
len = strtoull(p, (char **)&p, 16);
|
||||
if (*p == ':')
|
||||
p++;
|
||||
|
||||
/* hextomem() reads 2*len bytes */
|
||||
if (len > strlen(p) / 2) {
|
||||
put_packet (s, "E22");
|
||||
break;
|
||||
}
|
||||
hextomem(mem_buf, p, len);
|
||||
if (target_memory_rw_debug(s->g_cpu, addr, mem_buf, len,
|
||||
true) != 0) {
|
||||
@@ -1107,7 +1120,8 @@ static int gdb_handle_packet(GDBState *s, const char *line_buf)
|
||||
cpu = find_cpu(thread);
|
||||
if (cpu != NULL) {
|
||||
cpu_synchronize_state(cpu);
|
||||
len = snprintf((char *)mem_buf, sizeof(mem_buf),
|
||||
/* memtohex() doubles the required space */
|
||||
len = snprintf((char *)mem_buf, sizeof(buf) / 2,
|
||||
"CPU#%d [%s]", cpu->cpu_index,
|
||||
cpu->halted ? "halted " : "running");
|
||||
memtohex(buf, mem_buf, len);
|
||||
@@ -1136,8 +1150,8 @@ static int gdb_handle_packet(GDBState *s, const char *line_buf)
|
||||
put_packet(s, "E01");
|
||||
break;
|
||||
}
|
||||
hextomem(mem_buf, p + 5, len);
|
||||
len = len / 2;
|
||||
hextomem(mem_buf, p + 5, len);
|
||||
mem_buf[len++] = 0;
|
||||
qemu_chr_be_write(s->mon_chr, mem_buf, len);
|
||||
put_packet(s, "OK");
|
||||
|
||||
@@ -1163,9 +1163,7 @@ void *acpi_data_push(GArray *table_data, unsigned size)
|
||||
|
||||
unsigned acpi_data_len(GArray *table)
|
||||
{
|
||||
#if GLIB_CHECK_VERSION(2, 22, 0)
|
||||
assert(g_array_get_element_size(table) == 1);
|
||||
#endif
|
||||
return table->len;
|
||||
}
|
||||
|
||||
|
||||
+20
-9
@@ -150,12 +150,14 @@ static ssize_t sdp_svc_search(struct bt_l2cap_sdp_state_s *sdp,
|
||||
if (seqlen < 3 || len < seqlen)
|
||||
return -SDP_INVALID_SYNTAX;
|
||||
len -= seqlen;
|
||||
|
||||
while (seqlen)
|
||||
if (sdp_svc_match(sdp, &req, &seqlen))
|
||||
return -SDP_INVALID_SYNTAX;
|
||||
} else if (sdp_svc_match(sdp, &req, &seqlen))
|
||||
return -SDP_INVALID_SYNTAX;
|
||||
} else {
|
||||
if (sdp_svc_match(sdp, &req, &len)) {
|
||||
return -SDP_INVALID_SYNTAX;
|
||||
}
|
||||
}
|
||||
|
||||
if (len < 3)
|
||||
return -SDP_INVALID_SYNTAX;
|
||||
@@ -278,8 +280,11 @@ static ssize_t sdp_attr_get(struct bt_l2cap_sdp_state_s *sdp,
|
||||
while (seqlen)
|
||||
if (sdp_attr_match(record, &req, &seqlen))
|
||||
return -SDP_INVALID_SYNTAX;
|
||||
} else if (sdp_attr_match(record, &req, &seqlen))
|
||||
return -SDP_INVALID_SYNTAX;
|
||||
} else {
|
||||
if (sdp_attr_match(record, &req, &len)) {
|
||||
return -SDP_INVALID_SYNTAX;
|
||||
}
|
||||
}
|
||||
|
||||
if (len < 1)
|
||||
return -SDP_INVALID_SYNTAX;
|
||||
@@ -393,8 +398,11 @@ static ssize_t sdp_svc_search_attr_get(struct bt_l2cap_sdp_state_s *sdp,
|
||||
while (seqlen)
|
||||
if (sdp_svc_match(sdp, &req, &seqlen))
|
||||
return -SDP_INVALID_SYNTAX;
|
||||
} else if (sdp_svc_match(sdp, &req, &seqlen))
|
||||
return -SDP_INVALID_SYNTAX;
|
||||
} else {
|
||||
if (sdp_svc_match(sdp, &req, &len)) {
|
||||
return -SDP_INVALID_SYNTAX;
|
||||
}
|
||||
}
|
||||
|
||||
if (len < 3)
|
||||
return -SDP_INVALID_SYNTAX;
|
||||
@@ -413,8 +421,11 @@ static ssize_t sdp_svc_search_attr_get(struct bt_l2cap_sdp_state_s *sdp,
|
||||
while (seqlen)
|
||||
if (sdp_svc_attr_match(sdp, &req, &seqlen))
|
||||
return -SDP_INVALID_SYNTAX;
|
||||
} else if (sdp_svc_attr_match(sdp, &req, &seqlen))
|
||||
return -SDP_INVALID_SYNTAX;
|
||||
} else {
|
||||
if (sdp_svc_attr_match(sdp, &req, &len)) {
|
||||
return -SDP_INVALID_SYNTAX;
|
||||
}
|
||||
}
|
||||
|
||||
if (len < 1)
|
||||
return -SDP_INVALID_SYNTAX;
|
||||
|
||||
+1
-1
@@ -2156,7 +2156,7 @@ static int qxl_post_load(void *opaque, int version)
|
||||
qxl_create_guest_primary(d, 1, QXL_SYNC);
|
||||
|
||||
/* replay surface-create and cursor-set commands */
|
||||
cmds = g_malloc0(sizeof(QXLCommandExt) * (d->ssd.num_surfaces + 1));
|
||||
cmds = g_new0(QXLCommandExt, d->ssd.num_surfaces + 1);
|
||||
for (in = 0, out = 0; in < d->ssd.num_surfaces; in++) {
|
||||
if (d->guest_surfaces.cmds[in] == 0) {
|
||||
continue;
|
||||
|
||||
+12
-14
@@ -944,57 +944,55 @@ static void tcx_initfn(Object *obj)
|
||||
SysBusDevice *sbd = SYS_BUS_DEVICE(obj);
|
||||
TCXState *s = TCX(obj);
|
||||
|
||||
memory_region_init_ram(&s->rom, OBJECT(s), "tcx.prom", FCODE_MAX_ROM_SIZE,
|
||||
memory_region_init_ram(&s->rom, obj, "tcx.prom", FCODE_MAX_ROM_SIZE,
|
||||
&error_fatal);
|
||||
memory_region_set_readonly(&s->rom, true);
|
||||
sysbus_init_mmio(sbd, &s->rom);
|
||||
|
||||
/* 2/STIP : Stippler */
|
||||
memory_region_init_io(&s->stip, OBJECT(s), &tcx_stip_ops, s, "tcx.stip",
|
||||
memory_region_init_io(&s->stip, obj, &tcx_stip_ops, s, "tcx.stip",
|
||||
TCX_STIP_NREGS);
|
||||
sysbus_init_mmio(sbd, &s->stip);
|
||||
|
||||
/* 3/BLIT : Blitter */
|
||||
memory_region_init_io(&s->blit, OBJECT(s), &tcx_blit_ops, s, "tcx.blit",
|
||||
memory_region_init_io(&s->blit, obj, &tcx_blit_ops, s, "tcx.blit",
|
||||
TCX_BLIT_NREGS);
|
||||
sysbus_init_mmio(sbd, &s->blit);
|
||||
|
||||
/* 5/RSTIP : Raw Stippler */
|
||||
memory_region_init_io(&s->rstip, OBJECT(s), &tcx_rstip_ops, s, "tcx.rstip",
|
||||
memory_region_init_io(&s->rstip, obj, &tcx_rstip_ops, s, "tcx.rstip",
|
||||
TCX_RSTIP_NREGS);
|
||||
sysbus_init_mmio(sbd, &s->rstip);
|
||||
|
||||
/* 6/RBLIT : Raw Blitter */
|
||||
memory_region_init_io(&s->rblit, OBJECT(s), &tcx_rblit_ops, s, "tcx.rblit",
|
||||
memory_region_init_io(&s->rblit, obj, &tcx_rblit_ops, s, "tcx.rblit",
|
||||
TCX_RBLIT_NREGS);
|
||||
sysbus_init_mmio(sbd, &s->rblit);
|
||||
|
||||
/* 7/TEC : ??? */
|
||||
memory_region_init_io(&s->tec, OBJECT(s), &tcx_dummy_ops, s,
|
||||
"tcx.tec", TCX_TEC_NREGS);
|
||||
memory_region_init_io(&s->tec, obj, &tcx_dummy_ops, s, "tcx.tec",
|
||||
TCX_TEC_NREGS);
|
||||
sysbus_init_mmio(sbd, &s->tec);
|
||||
|
||||
/* 8/CMAP : DAC */
|
||||
memory_region_init_io(&s->dac, OBJECT(s), &tcx_dac_ops, s,
|
||||
"tcx.dac", TCX_DAC_NREGS);
|
||||
memory_region_init_io(&s->dac, obj, &tcx_dac_ops, s, "tcx.dac",
|
||||
TCX_DAC_NREGS);
|
||||
sysbus_init_mmio(sbd, &s->dac);
|
||||
|
||||
/* 9/THC : Cursor */
|
||||
memory_region_init_io(&s->thc, OBJECT(s), &tcx_thc_ops, s, "tcx.thc",
|
||||
memory_region_init_io(&s->thc, obj, &tcx_thc_ops, s, "tcx.thc",
|
||||
TCX_THC_NREGS);
|
||||
sysbus_init_mmio(sbd, &s->thc);
|
||||
|
||||
/* 11/DHC : ??? */
|
||||
memory_region_init_io(&s->dhc, OBJECT(s), &tcx_dummy_ops, s, "tcx.dhc",
|
||||
memory_region_init_io(&s->dhc, obj, &tcx_dummy_ops, s, "tcx.dhc",
|
||||
TCX_DHC_NREGS);
|
||||
sysbus_init_mmio(sbd, &s->dhc);
|
||||
|
||||
/* 12/ALT : ??? */
|
||||
memory_region_init_io(&s->alt, OBJECT(s), &tcx_dummy_ops, s, "tcx.alt",
|
||||
memory_region_init_io(&s->alt, obj, &tcx_dummy_ops, s, "tcx.alt",
|
||||
TCX_ALT_NREGS);
|
||||
sysbus_init_mmio(sbd, &s->alt);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static void tcx_realizefn(DeviceState *dev, Error **errp)
|
||||
|
||||
+1
-2
@@ -459,9 +459,8 @@ static int pxa2xx_dma_init(SysBusDevice *sbd)
|
||||
return -1;
|
||||
}
|
||||
|
||||
s->chan = g_malloc0(sizeof(PXA2xxDMAChannel) * s->channels);
|
||||
s->chan = g_new0(PXA2xxDMAChannel, s->channels);
|
||||
|
||||
memset(s->chan, 0, sizeof(PXA2xxDMAChannel) * s->channels);
|
||||
for (i = 0; i < s->channels; i ++)
|
||||
s->chan[i].state = DCSR_STOPINTR;
|
||||
|
||||
|
||||
@@ -45,14 +45,10 @@ void *pci_assign_dev_load_option_rom(PCIDevice *dev, struct Object *owner,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (access(rom_file, F_OK)) {
|
||||
error_report("pci-assign: Insufficient privileges for %s", rom_file);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Write "1" to the ROM file to enable it */
|
||||
fp = fopen(rom_file, "r+");
|
||||
if (fp == NULL) {
|
||||
error_report("pci-assign: Cannot open %s: %s", rom_file, strerror(errno));
|
||||
return NULL;
|
||||
}
|
||||
val = 1;
|
||||
|
||||
+2
-6
@@ -1086,9 +1086,7 @@ uWireSlave *tsc2102_init(qemu_irq pint)
|
||||
{
|
||||
TSC210xState *s;
|
||||
|
||||
s = (TSC210xState *)
|
||||
g_malloc0(sizeof(TSC210xState));
|
||||
memset(s, 0, sizeof(TSC210xState));
|
||||
s = g_new0(TSC210xState, 1);
|
||||
s->x = 160;
|
||||
s->y = 160;
|
||||
s->pressure = 0;
|
||||
@@ -1135,9 +1133,7 @@ uWireSlave *tsc2301_init(qemu_irq penirq, qemu_irq kbirq, qemu_irq dav)
|
||||
{
|
||||
TSC210xState *s;
|
||||
|
||||
s = (TSC210xState *)
|
||||
g_malloc0(sizeof(TSC210xState));
|
||||
memset(s, 0, sizeof(TSC210xState));
|
||||
s = g_new0(TSC210xState, 1);
|
||||
s->x = 400;
|
||||
s->y = 240;
|
||||
s->pressure = 0;
|
||||
|
||||
+6
-6
@@ -426,13 +426,13 @@ void pcie_cap_slot_write_config(PCIDevice *dev,
|
||||
*/
|
||||
if ((sltsta & PCI_EXP_SLTSTA_PDS) && (val & PCI_EXP_SLTCTL_PCC) &&
|
||||
((val & PCI_EXP_SLTCTL_PIC_OFF) == PCI_EXP_SLTCTL_PIC_OFF)) {
|
||||
PCIBus *sec_bus = pci_bridge_get_sec_bus(PCI_BRIDGE(dev));
|
||||
pci_for_each_device(sec_bus, pci_bus_num(sec_bus),
|
||||
pcie_unplug_device, NULL);
|
||||
PCIBus *sec_bus = pci_bridge_get_sec_bus(PCI_BRIDGE(dev));
|
||||
pci_for_each_device(sec_bus, pci_bus_num(sec_bus),
|
||||
pcie_unplug_device, NULL);
|
||||
|
||||
pci_word_test_and_clear_mask(exp_cap + PCI_EXP_SLTSTA,
|
||||
PCI_EXP_SLTSTA_PDS);
|
||||
pci_word_test_and_set_mask(exp_cap + PCI_EXP_SLTSTA,
|
||||
pci_word_test_and_clear_mask(exp_cap + PCI_EXP_SLTSTA,
|
||||
PCI_EXP_SLTSTA_PDS);
|
||||
pci_word_test_and_set_mask(exp_cap + PCI_EXP_SLTSTA,
|
||||
PCI_EXP_SLTSTA_PDC);
|
||||
}
|
||||
|
||||
|
||||
@@ -166,7 +166,7 @@ static void emulated_push_event(EmulatedState *card, EmulEvent *event)
|
||||
|
||||
static void emulated_push_type(EmulatedState *card, uint32_t type)
|
||||
{
|
||||
EmulEvent *event = (EmulEvent *)g_malloc(sizeof(EmulEvent));
|
||||
EmulEvent *event = g_new(EmulEvent, 1);
|
||||
|
||||
assert(event);
|
||||
event->p.gen.type = type;
|
||||
@@ -175,7 +175,7 @@ static void emulated_push_type(EmulatedState *card, uint32_t type)
|
||||
|
||||
static void emulated_push_error(EmulatedState *card, uint64_t code)
|
||||
{
|
||||
EmulEvent *event = (EmulEvent *)g_malloc(sizeof(EmulEvent));
|
||||
EmulEvent *event = g_new(EmulEvent, 1);
|
||||
|
||||
assert(event);
|
||||
event->p.error.type = EMUL_ERROR;
|
||||
|
||||
+1
-2
@@ -359,8 +359,7 @@ static void usb_mtp_object_readdir(MTPState *s, MTPObject *o)
|
||||
}
|
||||
while ((entry = readdir(dir)) != NULL) {
|
||||
if ((o->nchildren % 32) == 0) {
|
||||
o->children = g_realloc(o->children,
|
||||
(o->nchildren + 32) * sizeof(MTPObject *));
|
||||
o->children = g_renew(MTPObject *, o->children, o->nchildren + 32);
|
||||
}
|
||||
o->children[o->nchildren] =
|
||||
usb_mtp_object_alloc(s, s->next_handle++, o, entry->d_name);
|
||||
|
||||
+1
-1
@@ -2188,7 +2188,7 @@ static void xhci_kick_ep(XHCIState *xhci, unsigned int slotid,
|
||||
xfer->trbs = NULL;
|
||||
}
|
||||
if (!xfer->trbs) {
|
||||
xfer->trbs = g_malloc(sizeof(XHCITRB) * length);
|
||||
xfer->trbs = g_new(XHCITRB, length);
|
||||
xfer->trb_alloced = length;
|
||||
}
|
||||
xfer->trb_count = length;
|
||||
|
||||
+3
-3
@@ -322,7 +322,7 @@ static void packet_id_queue_add(struct PacketIdQueue *q, uint64_t id)
|
||||
|
||||
DPRINTF("adding packet id %"PRIu64" to %s queue\n", id, q->name);
|
||||
|
||||
e = g_malloc0(sizeof(struct PacketIdQueueEntry));
|
||||
e = g_new0(struct PacketIdQueueEntry, 1);
|
||||
e->id = id;
|
||||
QTAILQ_INSERT_TAIL(&q->head, e, next);
|
||||
q->size++;
|
||||
@@ -468,7 +468,7 @@ static void bufp_alloc(USBRedirDevice *dev, uint8_t *data, uint16_t len,
|
||||
dev->endpoint[EP2I(ep)].bufpq_dropping_packets = 0;
|
||||
}
|
||||
|
||||
bufp = g_malloc(sizeof(struct buf_packet));
|
||||
bufp = g_new(struct buf_packet, 1);
|
||||
bufp->data = data;
|
||||
bufp->len = len;
|
||||
bufp->offset = 0;
|
||||
@@ -2234,7 +2234,7 @@ static int usbredir_get_bufpq(QEMUFile *f, void *priv, size_t unused)
|
||||
|
||||
endp->bufpq_size = qemu_get_be32(f);
|
||||
for (i = 0; i < endp->bufpq_size; i++) {
|
||||
bufp = g_malloc(sizeof(struct buf_packet));
|
||||
bufp = g_new(struct buf_packet, 1);
|
||||
bufp->len = qemu_get_be32(f);
|
||||
bufp->status = qemu_get_be32(f);
|
||||
bufp->offset = 0;
|
||||
|
||||
@@ -1937,7 +1937,7 @@ static int xen_pt_config_reg_init(XenPCIPassthroughState *s,
|
||||
break;
|
||||
case 4: rc = xen_host_pci_get_long(&s->real_device, offset, &val);
|
||||
break;
|
||||
default: assert(1);
|
||||
default: abort();
|
||||
}
|
||||
if (rc) {
|
||||
/* Serious issues when we cannot read the host values! */
|
||||
@@ -1982,7 +1982,7 @@ static int xen_pt_config_reg_init(XenPCIPassthroughState *s,
|
||||
break;
|
||||
case 4: pci_set_long(s->dev.config + offset, val);
|
||||
break;
|
||||
default: assert(1);
|
||||
default: abort();
|
||||
}
|
||||
/* set register value pointer to the data. */
|
||||
reg_entry->ptr.byte = s->dev.config + offset;
|
||||
|
||||
@@ -510,16 +510,16 @@ struct TypeInfo
|
||||
|
||||
/**
|
||||
* OBJECT_CLASS_CHECK:
|
||||
* @class: The C type to use for the return value.
|
||||
* @obj: A derivative of @type to cast.
|
||||
* @name: the QOM typename of @class.
|
||||
* @class_type: The C type to use for the return value.
|
||||
* @class: A derivative class of @class_type to cast.
|
||||
* @name: the QOM typename of @class_type.
|
||||
*
|
||||
* A type safe version of @object_class_dynamic_cast_assert. This macro is
|
||||
* typically wrapped by each type to perform type safe casts of a class to a
|
||||
* specific class type.
|
||||
*/
|
||||
#define OBJECT_CLASS_CHECK(class, obj, name) \
|
||||
((class *)object_class_dynamic_cast_assert(OBJECT_CLASS(obj), (name), \
|
||||
#define OBJECT_CLASS_CHECK(class_type, class, name) \
|
||||
((class_type *)object_class_dynamic_cast_assert(OBJECT_CLASS(class), (name), \
|
||||
__FILE__, __LINE__, __func__))
|
||||
|
||||
/**
|
||||
|
||||
@@ -5325,8 +5325,7 @@ static abi_long do_open_by_handle_at(abi_long mount_fd, abi_long handle,
|
||||
return -TARGET_EFAULT;
|
||||
}
|
||||
|
||||
fh = g_malloc0(total_size);
|
||||
memcpy(fh, target_fh, total_size);
|
||||
fh = g_memdup(target_fh, total_size);
|
||||
fh->handle_bytes = size;
|
||||
fh->handle_type = tswap32(target_fh->handle_type);
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user