search for: 37,7

Displaying 20 results from an estimated 678 matches for "37,7".

Did you mean: 3,7
2005 Oct 28
1
Error in ?strsplit
...cal(perl))) <environment: namespace:base> So 'split' is coerced, but not 'x'. This is on: Version 2.2.0 Patched (2005-10-27 r36070) A proposed patch is: --- strsplit.Rd 2005-10-06 07:50:36.000000000 -0500 +++ strsplit.rev.Rd 2005-10-28 11:51:08.000000000 -0500 @@ -37,7 +37,7 @@ contains the vector of splits of \code{x[i]}. } \details{ - Arguments \code{x} and \code{split} will be coerced to character, so + Argument \code{split} will be coerced to character, so you will see uses with \code{split = NULL} to mean \code{split = character(0)}, including...
2016 Apr 14
1
Re: [PATCH v2] customize/perl_edit-c.c: Don't use internal APIs.
On Tuesday 12 April 2016 08:41:37 Richard W.M. Jones wrote: > We can now use the Guestfs.c_pointer method to access the underlying > guestfs_h *. So no need to use internal APIs for this. > --- > customize/perl_edit-c.c | 18 ++++++------------ > customize/perl_edit.ml | 10 ++++++++-- > 2 files changed, 14 ins...
2003 Mar 24
1
IMQ
Hello I have a server with a dsl connection on eth1 and local interface eth0. Because of the NAT i cannot direct traffic to IMQ device in PREROUTING chain but have to use INPUT and FORWARD. So i use rules. iptables -t mangle -A INPUT -i eth1 -j IMQ --todev 0 iptables -t mangle -A FORWARD -i eth1 -j IMQ --todev 0 And now the strange thing: FORWARD traffic gets directed nicely to the IMQ, but
2019 Jan 17
1
[hivex PATCH] ruby: improve test functions
...+-- ruby/tests/tc_210_setvalue.rb | 20 ++++++++++---------- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/ruby/tests/tc_120_rlenvalue.rb b/ruby/tests/tc_120_rlenvalue.rb index 6c03f43..6a2fb72 100644 --- a/ruby/tests/tc_120_rlenvalue.rb +++ b/ruby/tests/tc_120_rlenvalue.rb @@ -37,7 +37,7 @@ class TestRLenValue < MiniTest::Unit::TestCase moderate_value_value = h.node_get_value(moderate_value_node, "33Bytes") r = h.value_data_cell_offset(moderate_value_value) - assert_equal(r[:len], 37) - assert_equal(r[:off], 8712) + assert_equal(37, r[:len]...
2019 Sep 06
2
[PATCH 15/18] virtiofs: Make virtio_fs object refcounted
...virtio_fs.c | 52 +++++++++++++++++++++++++++++++++++++-------- > 1 file changed, 43 insertions(+), 9 deletions(-) > > diff --git a/fs/fuse/virtio_fs.c b/fs/fuse/virtio_fs.c > index 01bbf2c0e144..29ec2f5bbbe2 100644 > --- a/fs/fuse/virtio_fs.c > +++ b/fs/fuse/virtio_fs.c > @@ -37,6 +37,7 @@ struct virtio_fs_vq { > > /* A virtio-fs device instance */ > struct virtio_fs { > + struct kref refcount; > struct list_head list; /* on virtio_fs_instances */ > char *tag; > struct virtio_fs_vq *vqs; > @@ -63,6 +64,27 @@ static inline struct fuse_pq...
2019 Sep 06
2
[PATCH 15/18] virtiofs: Make virtio_fs object refcounted
...virtio_fs.c | 52 +++++++++++++++++++++++++++++++++++++-------- > 1 file changed, 43 insertions(+), 9 deletions(-) > > diff --git a/fs/fuse/virtio_fs.c b/fs/fuse/virtio_fs.c > index 01bbf2c0e144..29ec2f5bbbe2 100644 > --- a/fs/fuse/virtio_fs.c > +++ b/fs/fuse/virtio_fs.c > @@ -37,6 +37,7 @@ struct virtio_fs_vq { > > /* A virtio-fs device instance */ > struct virtio_fs { > + struct kref refcount; > struct list_head list; /* on virtio_fs_instances */ > char *tag; > struct virtio_fs_vq *vqs; > @@ -63,6 +64,27 @@ static inline struct fuse_pq...
2007 Apr 18
2
[PATCH RFC] Change softlockup watchdog to ignore stolen time
...DEFINE_PER_CPU(unsigned long, print_timestamp); +static DEFINE_PER_CPU(unsigned long long, touch_timestamp); +static DEFINE_PER_CPU(unsigned long long, print_timestamp); static DEFINE_PER_CPU(struct task_struct *, watchdog_task); + +#define SEC_NS (1000000000ull) static int did_panic = 0; @@ -37,7 +39,7 @@ static struct notifier_block panic_block void touch_softlockup_watchdog(void) { - __raw_get_cpu_var(touch_timestamp) = jiffies; + __raw_get_cpu_var(touch_timestamp) = sched_clock(); } EXPORT_SYMBOL(touch_softlockup_watchdog); @@ -49,6 +51,7 @@ void softlockup_tick(void) { int...
2007 Apr 18
2
[PATCH RFC] Change softlockup watchdog to ignore stolen time
...DEFINE_PER_CPU(unsigned long, print_timestamp); +static DEFINE_PER_CPU(unsigned long long, touch_timestamp); +static DEFINE_PER_CPU(unsigned long long, print_timestamp); static DEFINE_PER_CPU(struct task_struct *, watchdog_task); + +#define SEC_NS (1000000000ull) static int did_panic = 0; @@ -37,7 +39,7 @@ static struct notifier_block panic_block void touch_softlockup_watchdog(void) { - __raw_get_cpu_var(touch_timestamp) = jiffies; + __raw_get_cpu_var(touch_timestamp) = sched_clock(); } EXPORT_SYMBOL(touch_softlockup_watchdog); @@ -49,6 +51,7 @@ void softlockup_tick(void) { int...
2013 Aug 08
3
Bug#718898: cut no longer works with newline as delimiter
...editing of it. Drat! > + bridge=$(brctl show | | awk 'NR==2{print$1}') Which is obviously incorrect. Here is a hopefully correct patch. With only one pipe in the pipeline. --- vif-bridge.orig 2013-08-07 20:01:57.240366430 -0600 +++ vif-bridge 2013-08-07 22:54:12.076993655 -0600 @@ -37,8 +37,7 @@ if [ -z "$bridge" ] then - bridge=$(brctl show | cut -d " -" -f 2 | cut -f 1) + bridge=$(brctl show | awk 'NR==2{print$1}') if [ -z "$bridge" ] then Bob -------------- next part -------------- A non-text attachment was scrubbed... Name...
2018 Feb 02
0
[PATCH] drm: nouveau: use larger buffer in nvif_vmm_map
...rivers/gpu/drm/nouveau/nvif/vmm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvif/vmm.c b/drivers/gpu/drm/nouveau/nvif/vmm.c index 31cdb2d2e1ff..191832be6c65 100644 --- a/drivers/gpu/drm/nouveau/nvif/vmm.c +++ b/drivers/gpu/drm/nouveau/nvif/vmm.c @@ -37,7 +37,7 @@ nvif_vmm_map(struct nvif_vmm *vmm, u64 addr, u64 size, void *argv, u32 argc, struct nvif_mem *mem, u64 offset) { struct nvif_vmm_map_v0 *args; - u8 stack[16]; + u8 stack[48]; int ret; if (sizeof(*args) + argc > sizeof(stack)) { -- 2.9.0
2020 Mar 04
0
[PATCH nbdkit 1/4] tests: Rename test-shutdown.sh to test-delay-shutdown.sh.
...test_delay_SOURCES = test-delay.c diff --git a/tests/test-shutdown.sh b/tests/test-delay-shutdown.sh similarity index 96% rename from tests/test-shutdown.sh rename to tests/test-delay-shutdown.sh index 7d17045a..342c2346 100755 --- a/tests/test-shutdown.sh +++ b/tests/test-delay-shutdown.sh @@ -37,7 +37,7 @@ requires qemu-io --version requires timeout --version sock=`mktemp -u` -files="shutdown.pid $sock" +files="delay-shutdown.pid $sock" cleanup_fn rm -f $files fail=0 @@ -45,7 +45,7 @@ fail=0 # This tests that the delay filter's use of nbdkit_nanosleep is ab...
2020 Apr 15
1
Re: [PATCH nbdkit 2/9] floppy, iso, split, ssh: Use new vector type to store lists of strings.
...that they store either a list of > allocated strings or a list of constant strings. Define either > string_vector or const_string_vector as appropriate and use it to > store these lists. > --- The commit message mentions strings... > +++ b/plugins/floppy/virtual-floppy.h > @@ -37,6 +37,7 @@ > #include <sys/stat.h> > > #include "regions.h" > +#include "vector.h" > > struct partition_entry { > uint8_t bootable; /* 0x00 or 0x80 if bootable */ > @@ -130,6 +131,9 @@ struct dir_entry { > uint32_t...
2009 May 01
0
[PATCH 3/3] OCFS2: speed up dlm_lock_resouce hash_table lookups
...at suse.cz> Signed-off-by: Wengang Wang <wen.gang.wang at oracle.com> -- Index: ocfs2-1.2/fs/ocfs2/dlm/dlmcommon.h =================================================================== --- ocfs2-1.2/fs/ocfs2/dlm/dlmcommon.h (revision 3) +++ ocfs2-1.2/fs/ocfs2/dlm/dlmcommon.h (revision 4) @@ -37,7 +37,7 @@ #define DLM_THREAD_SHUFFLE_INTERVAL 5 // flush everything every 5 passes #define DLM_THREAD_MS 200 // flush at least every 200 ms -#define DLM_HASH_SIZE_DEFAULT (1 << 14) +#define DLM_HASH_SIZE_DEFAULT (1 << 17) #if DLM_HASH_SIZE_DEFAULT < PA...
2002 Jul 16
1
opensshd.in
...@@ HOST_KEY_DSA=$etcdir/ssh_host_dsa_key HOST_KEY_RSA=$etcdir/ssh_host_rsa_key -killproc() { - _procname=$1 - _signal=$2 - ${PS} -u root | ${AWK} '/'"$_procname"'$/ {print $1}' | ${XARGS} ${KILL} -} - checkkeys() { if [ ! -f $HOST_KEY_RSA1 ]; then @@ -46,8 +37,7 @@ if [ ${PID:=0} -gt 1 -a ! "X$PID" = "X " ]; then ${KILL} ${PID} else - echo "Unable to read PID file, killing using alternate method" - killproc sshd TERM + echo "Unable to read PID file" fi } -- Tim Ri...
2012 Mar 16
1
[PATCH/cygwin]: Explicitely undefine _WIN32
...=========================================== RCS file: /cvs/openssh/openbsd-compat/bsd-cygwin_util.h,v retrieving revision 1.13 diff -u -p -r1.13 bsd-cygwin_util.h --- openbsd-compat/bsd-cygwin_util.h 17 Aug 2011 01:31:09 -0000 1.13 +++ openbsd-compat/bsd-cygwin_util.h 16 Mar 2012 21:51:21 -0000 @@ -37,6 +37,7 @@ #undef ERROR #include <windows.h> +#undef _WIN32 #include <sys/cygwin.h> #include <io.h> Thanks, Corinna -- Corinna Vinschen Cygwin Project Co-Leader Red Hat
2006 Dec 21
0
fstype: Fix reversed test for "-" on command line
...-by: Colin Watson <cjwatson at ubuntu.com> diff -Nru klibc-1.4.30/usr/kinit/fstype/main.c klibc-1.4.30.new/usr/kinit/fstype/main.c --- klibc-1.4.30/usr/kinit/fstype/main.c 2006-10-31 22:28:12.000000000 +0000 +++ klibc-1.4.30.new/usr/kinit/fstype/main.c 2006-12-21 10:51:46.000000000 +0000 @@ -37,7 +37,7 @@ return 1; } - if (argc > 1 && argv[1][0] == '-' && argv[1][1] == '\0') { + if (argc > 1 && !(argv[1][0] == '-' && argv[1][1] == '\0')) { fd = open(file = argv[1], O_RDONLY); if (fd < 0) { perror(arg...
2013 Mar 15
0
[PATCH] btrfs-progs: mkfs: add missing raid5/6 description
Signed-off-by: Matias Bjørling <m@bjorling.me> --- man/mkfs.btrfs.8.in | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/man/mkfs.btrfs.8.in b/man/mkfs.btrfs.8.in index 41163e0..db8c57c 100644 --- a/man/mkfs.btrfs.8.in +++ b/man/mkfs.btrfs.8.in @@ -37,7 +37,7 @@ mkfs.btrfs uses all the available storage for the filesystem. .TP \fB\-d\fR, \fB\-\-data \fItype\fR Specify how the data must be spanned across the devices specified. Valid -values are raid0, raid1, raid10 or single. +values are raid0, raid1, raid5, raid6, raid10 or single. .TP \fB\...
2014 Sep 09
1
[PATCH 1/2] accel_common: do not initialise the flags twice
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com> --- src/nv_accel_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nv_accel_common.c b/src/nv_accel_common.c index 4484c1c..eebb0ab 100644 --- a/src/nv_accel_common.c +++ b/src/nv_accel_common.c @@ -37,7 +37,7 @@ nouveau_allocate_surface(ScrnInfoPtr scrn, int width, int height, int bpp, Bool tiled = (usage_hint & NOUVEAU_CREATE_PIXMAP_TILED); Bool shared = FALSE; union nouveau_bo_config cfg = {}; - int flags = NOUVEAU_BO_MAP | (bpp >= 8 ? NOUVEAU_BO_VRAM : 0); + int flags; int cpp...
2015 Nov 20
1
[PATCH] Fix x86 build if we presume SSE4.1 (and earlier), but not AVX.
...4_1)) || \ + (defined(OPUS_X86_MAY_HAVE_AVX) && !defined(OPUS_X86_PRESUME_AVX)) #include "x86/x86cpu.h" /* We currently support 5 x86 variants: diff --git a/celt/x86/x86cpu.c b/celt/x86/x86cpu.c index 1a73dd1..555a576 100644 --- a/celt/x86/x86cpu.c +++ b/celt/x86/x86cpu.c @@ -37,7 +37,8 @@ #if (defined(OPUS_X86_MAY_HAVE_SSE) && !defined(OPUS_X86_PRESUME_SSE)) || \ (defined(OPUS_X86_MAY_HAVE_SSE2) && !defined(OPUS_X86_PRESUME_SSE2)) || \ - (defined(OPUS_X86_MAY_HAVE_SSE4_1) && !defined(OPUS_X86_PRESUME_SSE4_1)) + (defined(OPUS_X86_MAY_HAVE_SS...
2016 Sep 10
1
[PATCH] fifo/nv04: avoid ramht race against cookie insertion
...drm/nouveau/nvkm/engine/fifo/dmanv04.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drm/nouveau/nvkm/engine/fifo/dmanv04.c b/drm/nouveau/nvkm/engine/fifo/dmanv04.c index edec30f..0a7b6ed 100644 --- a/drm/nouveau/nvkm/engine/fifo/dmanv04.c +++ b/drm/nouveau/nvkm/engine/fifo/dmanv04.c @@ -37,7 +37,10 @@ nv04_fifo_dma_object_dtor(struct nvkm_fifo_chan *base, int cookie) { struct nv04_fifo_chan *chan = nv04_fifo_chan(base); struct nvkm_instmem *imem = chan->fifo->base.engine.subdev.device->imem; + + mutex_lock(&chan->fifo->base.engine.subdev.mutex); nvkm_ramht_r...