Displaying 20 results from an estimated 26 matches for "378,11".
Did you mean:
376,11
2011 Jun 04
1
[PATCH] [SHELL] Fix klibc DEBUG compilation v2
...#39;
Skip setlinebuf and use fclose/fopen inside SMALL.
Signed-off-by: maximilian attems <max at stro.at>
---
src/show.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/show.c b/src/show.c
index 14dbef3..81e54ac 100644
--- a/src/show.c
+++ b/src/show.c
@@ -378,7 +378,11 @@ opentrace(void)
scopy("./trace", s);
#endif /* not_this_way */
if (tracefile) {
+#ifndef SMALL
if (!freopen(s, "a", tracefile)) {
+#else
+ if (!(!fclose(tracefile) && (tracefile = fopen(s, "a")))) {
+#endif /* SMALL */
fprintf(stderr,...
2011 Jul 08
1
[PATCH] [SHELL] Fix klibc DEBUG compilation v3
...sted with debug in klibc and against glibc in dash repo.
Signed-off-by: maximilian attems <max at stro.at>
---
src/show.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/show.c b/src/show.c
index 14dbef3..4a049e9 100644
--- a/src/show.c
+++ b/src/show.c
@@ -378,7 +378,11 @@ opentrace(void)
scopy("./trace", s);
#endif /* not_this_way */
if (tracefile) {
+#ifndef __KLIBC__
if (!freopen(s, "a", tracefile)) {
+#else
+ if (!(!fclose(tracefile) && (tracefile = fopen(s, "a")))) {
+#endif /* __KLIBC__ */
fprintf(...
2012 Jul 02
0
[klibc:master] [SHELL] Fix klibc DEBUG compilation
...bert at gondor.apana.org.au>
Signed-off-by: maximilian attems <max at stro.at>
---
usr/dash/show.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/usr/dash/show.c b/usr/dash/show.c
index 14dbef3..4a049e9 100644
--- a/usr/dash/show.c
+++ b/usr/dash/show.c
@@ -378,7 +378,11 @@ opentrace(void)
scopy("./trace", s);
#endif /* not_this_way */
if (tracefile) {
+#ifndef __KLIBC__
if (!freopen(s, "a", tracefile)) {
+#else
+ if (!(!fclose(tracefile) && (tracefile = fopen(s, "a")))) {
+#endif /* __KLIBC__ */
fprintf(...
2004 Sep 10
0
getting framesize in client
...* (decode_position - decode_position_last) / (written_time - written_time_last) : file_info_.sample_rate * file_info_.channels * file_info_.bits_per_sample;
+ decode_position_last = decode_position;
+ written_time_last = written_time;
+ }
}
else {
file_info_.eof = true;
@@ -378,11 +398,20 @@
unsigned target_sample = (unsigned)(distance * (double)file_info_.total_samples);
if(FLAC__file_decoder_seek_absolute(decoder_, (FLAC__uint64)target_sample)) {
flac_ip.output->flush(file_info_.seek_to_in_sec * 1000);
+ bh_index_last_w = bh_index_last_o = file_info_....
2009 Jul 07
0
[PATCH] contrib/cygwin/ssh-host-config: Improve support for automated updates
...p /usr/sbin/sshd \
- -a "-D" -y tcpip ${cygwin_env} \
+ if cygrunsrv -I sshd -d "CYGWIN sshd" -p /usr/sbin/sshd \
+ -a "-D" -y tcpip "${cygwin_env[@]}" \
-u "${run_service_as}" -w "${password}"
then
echo
@@ -378,11 +385,13 @@ if [ "$PROGDIR" = "/etc/postinstall" ]
then
csih_auto_answer="no"
csih_disable_color
+ opt_force=yes
fi
if [ -n "${SSH_HOST_CONFIG_AUTO_ANSWER_NO}" ]
then
csih_auto_answer="no"
csih_disable_color
+ opt_force=yes
fi...
2016 Jun 01
2
[PATCH v2] rescue: add --autosysroot option RHBZ#1183493
--autosysroot option uses suggestions to user on how to mount filesystems
and change root suggested by --suggest option in virt-rescue.
Commands are passed on kernel command line in format
guestfs_command=command;. Command ends with a semicolon and there can be
multiple commands specified. These are executed just before bash starts.
On successfull run user is presented directly with bash in
2014 Sep 03
0
[PATCH 2/3] virtio_ring: assume sgs are always well-formed.
...rminated!)
- * @num: the number of scatterlists writable by other side
+ * @sg: scatterlist (must be well-formed and terminated!)
+ * @num: the number of entries in @sg writable by other side
* @data: the token identifying the buffer.
* @gfp: how to do memory allocations (if necessary).
*
@@ -378,11 +348,11 @@ EXPORT_SYMBOL_GPL(virtqueue_add_outbuf);
* Returns zero or a negative error (ie. ENOSPC, ENOMEM, EIO).
*/
int virtqueue_add_inbuf(struct virtqueue *vq,
- struct scatterlist sg[], unsigned int num,
+ struct scatterlist *sg, unsigned int num,
void *data,
gfp_t gfp)
{
-...
2016 Jun 01
0
[PATCH v2] rescue: add --autosysroot option RHBZ#1183493
...gs);
+ argc = newcount;
+ }
+ } else {
+ if (autosysroot) {
+ fprintf (stderr, _("%s: warning: --autosysroot used without --suggest.\n"),
+ guestfs_int_program_name);
+ }
}
/* These are really constants, but they have to be variables for the
@@ -313,6 +378,11 @@ main (int argc, char *argv[])
}
}
+ /* Now it's time to set suggestions. */
+ if (autosysroot) {
+ use_suggestions (cmds);
+ }
+
/* Set other features. */
if (memsize > 0)
if (guestfs_set_memsize (g, memsize) == -1)
@@ -367,14 +437,34 @@ compare_keys_len (con...
2016 Jun 09
2
Re: [PATCH v2] rescue: add --autosysroot option RHBZ#1183493
...else {
> + if (autosysroot) {
> + fprintf (stderr, _("%s: warning: --autosysroot used without --suggest.\n"),
> + guestfs_int_program_name);
> + }
> }
>
> /* These are really constants, but they have to be variables for the
> @@ -313,6 +378,11 @@ main (int argc, char *argv[])
> }
> }
>
> + /* Now it's time to set suggestions. */
> + if (autosysroot) {
> + use_suggestions (cmds);
> + }
> +
> /* Set other features. */
> if (memsize > 0)
> if (guestfs_set_memsize (g, mems...
2016 Jun 16
0
Re: [PATCH v2] rescue: add --autosysroot option RHBZ#1183493
...ot) {
>> + fprintf (stderr, _("%s: warning: --autosysroot used without --suggest.\n"),
>> + guestfs_int_program_name);
>> + }
>> }
>>
>> /* These are really constants, but they have to be variables for the
>> @@ -313,6 +378,11 @@ main (int argc, char *argv[])
>> }
>> }
>>
>> + /* Now it's time to set suggestions. */
>> + if (autosysroot) {
>> + use_suggestions (cmds);
>> + }
>> +
>> /* Set other features. */
>> if (memsize >...
2004 Sep 10
2
getting framesize in client
...o != bh_index_last_o && bh_index_last_w != bh_index_o) {
+ bh_index_last_o = bh_index_o;
+ flac_ip.set_info(file_info_.title, file_info_.length_in_msec, bitrate_history[bh_index_o], file_info_.sample_rate, file_info_.channels);
+ }
}
else {
file_info_.eof = true;
@@ -378,6 +406,7 @@
unsigned target_sample = (unsigned)(distance * (double)file_info_.total_samples);
if(FLAC__file_decoder_seek_absolute(decoder_, (FLAC__uint64)target_sample)) {
flac_ip.output->flush(file_info_.seek_to_in_sec * 1000);
+ bh_index_last_w = bh_index_last_o = file_info_.se...
2009 May 20
0
[PATCHv2-RFC 2/2] qemu-kvm: use common code for assigned msix
...gion_num].size;
+ ret = kvm_register_phys_mem(kvm_context, e_phys,
+ region->u.r_virtbase,
+ TARGET_PAGE_ALIGN(e_size), 0);
if (ret != 0) {
fprintf(stderr, "%s: Error: create new mapping failed\n", __func__);
@@ -378,11 +368,16 @@ static int assigned_dev_register_regions(PCIRegion *io_regions,
/* handle memory io regions */
if (cur_region->type & IORESOURCE_MEM) {
+ uint32_t size = i == msix_bar_nr(&pci_dev->dev)
+ ? msix_bar_size(&pci_dev->dev)...
2009 May 20
0
[PATCHv2-RFC 2/2] qemu-kvm: use common code for assigned msix
...gion_num].size;
+ ret = kvm_register_phys_mem(kvm_context, e_phys,
+ region->u.r_virtbase,
+ TARGET_PAGE_ALIGN(e_size), 0);
if (ret != 0) {
fprintf(stderr, "%s: Error: create new mapping failed\n", __func__);
@@ -378,11 +368,16 @@ static int assigned_dev_register_regions(PCIRegion *io_regions,
/* handle memory io regions */
if (cur_region->type & IORESOURCE_MEM) {
+ uint32_t size = i == msix_bar_nr(&pci_dev->dev)
+ ? msix_bar_size(&pci_dev->dev)...
2009 May 11
0
[PATCH 2/2] qemu-kvm: use common code for assigned msix
...gion_num].size;
+ ret = kvm_register_phys_mem(kvm_context, e_phys,
+ region->u.r_virtbase,
+ TARGET_PAGE_ALIGN(e_size), 0);
if (ret != 0) {
fprintf(stderr, "%s: Error: create new mapping failed\n", __func__);
@@ -378,11 +368,16 @@ static int assigned_dev_register_regions(PCIRegion *io_regions,
/* handle memory io regions */
if (cur_region->type & IORESOURCE_MEM) {
+ uint32_t size = i == msix_bar_nr(&pci_dev->dev)
+ ? pci_dev->msix_bar_size : cur_reg...
2009 May 11
0
[PATCH 2/2] qemu-kvm: use common code for assigned msix
...gion_num].size;
+ ret = kvm_register_phys_mem(kvm_context, e_phys,
+ region->u.r_virtbase,
+ TARGET_PAGE_ALIGN(e_size), 0);
if (ret != 0) {
fprintf(stderr, "%s: Error: create new mapping failed\n", __func__);
@@ -378,11 +368,16 @@ static int assigned_dev_register_regions(PCIRegion *io_regions,
/* handle memory io regions */
if (cur_region->type & IORESOURCE_MEM) {
+ uint32_t size = i == msix_bar_nr(&pci_dev->dev)
+ ? pci_dev->msix_bar_size : cur_reg...
2014 Sep 03
8
[PATCH 0/3] virtio: simplify virtio_ring.
I resurrected these patches after prompting from Andy Lutomirski's
recent patches. I put them on the back-burner because vring_bench
had a 15% slowdown on my laptop: pktgen testing revealed a speedup,
if anything, so I've cleaned them up.
Rusty Russell (3):
virtio_net: pass well-formed sgs to virtqueue_add_*()
virtio_ring: assume sgs are always well-formed.
virtio_ring: unify
2014 Sep 03
8
[PATCH 0/3] virtio: simplify virtio_ring.
I resurrected these patches after prompting from Andy Lutomirski's
recent patches. I put them on the back-burner because vring_bench
had a 15% slowdown on my laptop: pktgen testing revealed a speedup,
if anything, so I've cleaned them up.
Rusty Russell (3):
virtio_net: pass well-formed sgs to virtqueue_add_*()
virtio_ring: assume sgs are always well-formed.
virtio_ring: unify
2007 Apr 18
8
[patch 0/8] Basic infrastructure patches for a paravirtualized kernel
Hi Andrew,
This series of patches lays the basic ground work for the
paravirtualized kernel patches coming later on. I think this lot is
ready for the rough-and-tumble world of the -mm tree.
The main change from the last posting is that all the page-table
related patches have been moved out, and will be posted separately.
Also, the off-by-one in reserving the top of address space has been
2007 Apr 18
8
[patch 0/8] Basic infrastructure patches for a paravirtualized kernel
Hi Andrew,
This series of patches lays the basic ground work for the
paravirtualized kernel patches coming later on. I think this lot is
ready for the rough-and-tumble world of the -mm tree.
The main change from the last posting is that all the page-table
related patches have been moved out, and will be posted separately.
Also, the off-by-one in reserving the top of address space has been
2007 Apr 18
15
[PATCH 0 of 13] Basic infrastructure patches for a paravirtualized kernel
[ REPOST: Apologies to anyone who has seen this before. It
didn't make it onto any of the lists it should have. -J ]
Hi Andrew,
This series of patches lays the basic ground work for the
paravirtualized kernel patches coming later on. I think this lot is
ready for the rough-and-tumble world of the -mm tree.
For the most part, these patches do nothing or very little. The
patches should