Displaying 20 results from an estimated 246 matches for "181,7".
Did you mean:
281,7
2006 Jun 05
3
possible bug in trunk base.rb? BREAK_RE.
...the "/m"
mode modifier.
I am still getting my head around the library so i may be missing
something but was that done on purpose?
Thanks.
jeremy
Index: base.rb
===================================================================
--- base.rb (revision 24)
+++ base.rb (working copy)
@@ -181,7 +181,7 @@
@@?
(.*?)/x
BLOCKS_GROUP_RE = /\n{2,}(?! )/m
- BLOCK_RE = /^(([a-z]+)(\d*))(#{A}#{C})\.(?::(\S+))? (.*)$/
+ BLOCK_RE = /^(([a-z]+)(\d*))(#{A}#{C})\.(?::(\S+))? (.*)$/m
SETEXT_RE = /\A(.+?)\n([=-])[=-]* *$/m
ATX_RE = /\A(\#{1,6}) # $1 = string of #...
2016 Oct 27
1
[PATCH] run.in: Quote contents of @VAR@ substitutions
...uot;
@@ -171,7 +171,7 @@ prepend ERL_LIBS "$b/erlang"
export ERL_LIBS
# For Lua.
-export LUA=@LUA@
+export LUA="@LUA@"
# Can't use 'prepend' here because Lua paths use semicolons.
if [ -z "$LUA_CPATH" ]; then
LUA_CPATH="$b/lua/?.so"
@@ -181,7 +181,7 @@ fi
export LUA_CPATH
# For golang.
-export GOLANG=@GOLANG@
+export GOLANG="@GOLANG@"
prepend GOPATH "$b/golang"
export GOPATH
if [ -z "$CGO_CFLAGS" ]; then
@@ -198,7 +198,7 @@ fi
export CGO_LDFLAGS
# For GObject, Javascript and friends.
-export GJ...
2017 Dec 24
2
[PATCH] vhost: remove unused lock check flag in vhost_dev_cleanup()
...if locked is set */
-void vhost_dev_cleanup(struct vhost_dev *dev, bool locked)
+void vhost_dev_cleanup(struct vhost_dev *dev)
{
int i;
diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h
index 79c6e7a60a5e..ff4d918e3e0a 100644
--- a/drivers/vhost/vhost.h
+++ b/drivers/vhost/vhost.h
@@ -181,7 +181,7 @@ bool vhost_dev_has_owner(struct vhost_dev *dev);
long vhost_dev_check_owner(struct vhost_dev *);
struct vhost_umem *vhost_dev_reset_owner_prepare(void);
void vhost_dev_reset_owner(struct vhost_dev *, struct vhost_umem *);
-void vhost_dev_cleanup(struct vhost_dev *, bool locked);
+voi...
2019 Feb 28
0
[PATCH] drm/nouveau/debugfs: Fix check of pm_runtime_get_sync failure
...uveau_debugfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_debugfs.c b/drivers/gpu/drm/nouveau/nouveau_debugfs.c
index 88a52f6..7dfbbbc 100644
--- a/drivers/gpu/drm/nouveau/nouveau_debugfs.c
+++ b/drivers/gpu/drm/nouveau/nouveau_debugfs.c
@@ -181,7 +181,7 @@ nouveau_debugfs_pstate_set(struct file *file, const char __user *ubuf,
}
ret = pm_runtime_get_sync(drm->dev);
- if (IS_ERR_VALUE(ret) && ret != -EACCES)
+ if (ret < 0 && ret != -EACCES)
return ret;
ret = nvif_mthd(ctrl, NVIF_CONTROL_PSTATE_USER, &arg...
2019 Mar 30
0
[PATCH AUTOSEL 5.0 59/67] drm/nouveau/debugfs: Fix check of pm_runtime_get_sync failure
...gfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_debugfs.c b/drivers/gpu/drm/nouveau/nouveau_debugfs.c
index 88a52f6b39fe..7dfbbbc1beea 100644
--- a/drivers/gpu/drm/nouveau/nouveau_debugfs.c
+++ b/drivers/gpu/drm/nouveau/nouveau_debugfs.c
@@ -181,7 +181,7 @@ nouveau_debugfs_pstate_set(struct file *file, const char __user *ubuf,
}
ret = pm_runtime_get_sync(drm->dev);
- if (IS_ERR_VALUE(ret) && ret != -EACCES)
+ if (ret < 0 && ret != -EACCES)
return ret;
ret = nvif_mthd(ctrl, NVIF_CONTROL_PSTATE_USER, &arg...
2018 Jan 09
1
[PATCH] vhost: Remove the unused variable.
...Zhang <xiangxia.m.yue at gmail.com>
---
drivers/vhost/vhost.c | 1 -
drivers/vhost/vhost.h | 4 ----
2 files changed, 5 deletions(-)
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c
index 33ac2b186b85..9b04cad91d65 100644
--- a/drivers/vhost/vhost.c
+++ b/drivers/vhost/vhost.c
@@ -181,7 +181,6 @@ void vhost_work_init(struct vhost_work *work, vhost_work_fn_t fn)
{
clear_bit(VHOST_WORK_QUEUED, &work->flags);
work->fn = fn;
- init_waitqueue_head(&work->done);
}
EXPORT_SYMBOL_GPL(vhost_work_init);
diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h
i...
2017 Jan 26
1
[PATCH] Use srandom (time (NULL) + getpid ()) throughout.
...nt argc, char *argv[])
textdomain (PACKAGE);
/* We use random(3) below. */
- srandom (time (NULL));
+ srandom (time (NULL) + getpid ());
enum { HELP_OPTION = CHAR_MAX + 1 };
diff --git a/fish/fish.c b/fish/fish.c
index b7d63cf..52a9093 100644
--- a/fish/fish.c
+++ b/fish/fish.c
@@ -181,7 +181,7 @@ main (int argc, char *argv[])
textdomain (PACKAGE);
/* We use random(3) in edit.c. */
- srandom (time (NULL));
+ srandom (time (NULL) + getpid ());
parse_config ();
diff --git a/tests/mount-local/test-parallel-mount-local.c b/tests/mount-local/test-parallel-mount-local....
2005 Jun 24
0
vmx_io signness gcc4 fix
Fixes sign issue with gcc4.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
--- xen/arch/x86/vmx_io.c.old 2005-06-24 14:40:00.000000000 -0500
+++ xen/arch/x86/vmx_io.c 2005-06-24 14:41:54.000000000 -0500
@@ -181,7 +181,7 @@ static void load_cpu_user_regs(struct cp
__vmwrite(GUEST_RIP, regs->rip);
}
-static inline void __set_reg_value(long *reg, int size, long value)
+static inline void __set_reg_value(unsigned long *reg, int size, long
value)
{
switch (size) {
case BYTE_64:
--
Jer...
2018 Aug 23
3
[PATCH] Fix error with --uninstall option on SUSE
...available on the `zypper rm` command.
---
customize/customize_run.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/customize/customize_run.ml b/customize/customize_run.ml
index f92e9a199..3eacdaca0 100644
--- a/customize/customize_run.ml
+++ b/customize/customize_run.ml
@@ -181,7 +181,7 @@ exec >>%s 2>&1
| "urpmi" -> sprintf "urpme %s" quoted_args
| "xbps" -> sprintf "xbps-remove -Sy %s" quoted_args
| "yum" -> sprintf "yum -y remove %s" quoted_args
- | "zypper&qu...
2004 May 03
4
ctags(1) command execution vulnerability
...- "mv %s OTAGS; fgrep -v '\t%s\t' OTAGS >%s; rm OTAGS",
+ "mv '%s' OTAGS; fgrep -v '\t%s\t' OTAGS >'%s'; rm OTAGS",
outfile, argv[step], outfile);
if (cmd == NULL)
err(1, "out of space");
@@ -181,7 +181,7 @@
put_entries(head);
(void)fclose(outf);
if (uflag) {
- (void)asprintf(&cmd, "sort -o %s %s",
+ (void)asprintf(&cmd, "sort -o '%s' '%s'",
outfile, outfile);
if (cmd == NULL)
err(1, "out of space");...
2001 Dec 04
0
PATCH: log key fingerprint upon successful login
...ching RSA1 key: dd:5f:1b:ed:2f:cd:a5:05:f6:d1:39:6b:d2:66:dc:2e
Dec 4 14:21:09 lizzy.bugworks.com sshd[7774]: [ID 800047 auth.info] Accepted
rsa for josb from 1.2.3.4 port 1889
--- openssh-3.0.2p1.dist/auth-rsa.c Mon Aug 6 14:01:49 2001
+++ openssh-3.0.2p1/auth-rsa.c Tue Dec 4 14:14:06 2001
@@ -181,7 +181,7 @@
*/
while (fgets(line, sizeof(line), f)) {
char *cp;
- char *options;
+ char *optionsp;
linenum++;
@@ -199,7 +199,7 @@
*/
if (*cp < '0' || *cp > '9') {
int quoted = 0;
- options = cp;
+ optionsp = cp;
for (; *cp && (quoted...
2015 Sep 10
1
[PATCH] launch: libvirt: Better error when bridge / virbr0 doesn't exist (RHBZ#1262127).
...ser how to
diagnose and fix the problem.
---
src/launch-libvirt.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/src/launch-libvirt.c b/src/launch-libvirt.c
index 1c0bfac..d4c4c47 100644
--- a/src/launch-libvirt.c
+++ b/src/launch-libvirt.c
@@ -181,6 +181,7 @@ static int is_blk (const char *path);
static void ignore_errors (void *ignore, virErrorPtr ignore2);
static void set_socket_create_context (guestfs_h *g);
static void clear_socket_create_context (guestfs_h *g);
+static int check_bridge_exists (guestfs_h *g, const char *brname);
#i...
2008 Oct 29
4
[PATCH] cpufreq.c: shut up compiler about cpufreq_dom
Some versions of GCC are too stupid to figure out that cpufreq_dom is
only used if !!domexist and always set in that case, and complain that
it may be used uninitialised.
(In general it is IMO better to avoid these kind of flag
variables; I would prefer structures like
for (...) { cpufreq_dom = dom; if (...) goto cpufreq_dom_found; }
cpufreq_dom = 0;
cpufreq_dom_found:
but on
2009 Jul 21
1
[PATCH node-image] Moved all temporary files into a single work directory to clean up.
...--tftp-root=${tftproot}
- --log-facility=/tmp/dnsmasq-${nodename}.log
+ --log-facility=$WORKDIR/dnsmasq-${nodename}.log
--log-queries
--log-dhcp
--pid-file=${pidfile}"
@@ -180,7 +181,7 @@ start_networking () {
local workdir=$5
local definition=""
local network=$NETWORK
- local xmlfile=$(mktemp)
+ local xmlfile=$WORKDIR/$nodename-$ifacename.xml
debug "start_networking ()"
for var in nodename ifacename use_dhcp start_dnsmasq wo...
2007 Sep 06
0
3 commits - libswfdec/swfdec_as_date.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite_movie.c
...return 0;
}
@@ -148,7 +148,7 @@ static void
swfdec_as_date_set_milliseconds_local (SwfdecAsDate *date, gint64 milliseconds)
{
date->milliseconds =
- milliseconds - date->utc_offset * 60 * 1000;
+ milliseconds - (double) date->utc_offset * 60 * 1000;
}
static void
@@ -181,7 +181,7 @@ swfdec_as_date_set_brokentime_utc (Swfde
} else {
date->milliseconds = 0;
}
- date->milliseconds += seconds * 1000;
+ date->milliseconds += (gint64) seconds * 1000;
}
static void
@@ -215,7 +215,7 @@ swfdec_as_date_set_brokentime_local (Swf
} else {
date...
2003 Jun 11
2
[PATCH] Fix typos, OpenBSD + Portable
...d, const char *ttyname, const char *user, uid_t uid,
Index: sshpty.c
===================================================================
RCS file: /cvs/src/usr.bin/ssh/sshpty.c,v
retrieving revision 1.9
diff -u -r1.9 sshpty.c
--- sshpty.c 2003/05/24 09:30:40 1.9
+++ sshpty.c 2003/06/11 12:29:21
@@ -181,7 +181,7 @@
error("chmod %.100s 0666 failed: %.100s", ttyname, strerror(errno));
}
-/* Makes the tty the processes controlling tty and sets it to sane modes. */
+/* Makes the tty the process's controlling tty and sets it to sane modes. */
void
pty_make_controlling_tty(int *t...
2019 Mar 30
1
[PATCH 2/5] x86: Convert some slow-path static_cpu_has() callers to boot_cpu_has()
...ser(struct mm_struct *mm)
k_pmd = pgd_to_pmd_walk(k_pgd, LDT_BASE_ADDR);
u_pmd = pgd_to_pmd_walk(u_pgd, LDT_BASE_ADDR);
- if (static_cpu_has(X86_FEATURE_PTI) && !mm->context.ldt)
+ if (boot_cpu_has(X86_FEATURE_PTI) && !mm->context.ldt)
set_pmd(u_pmd, *k_pmd);
}
@@ -181,7 +181,7 @@ static void map_ldt_struct_to_user(struct mm_struct *mm)
{
pgd_t *pgd = pgd_offset(mm, LDT_BASE_ADDR);
- if (static_cpu_has(X86_FEATURE_PTI) && !mm->context.ldt)
+ if (boot_cpu_has(X86_FEATURE_PTI) && !mm->context.ldt)
set_pgd(kernel_to_user_pgdp(pgd), *pgd...
2019 Apr 17
1
[PATCH] v2v: Implement SSH password authentication for Xen and VMX over SSH.
This isn't quite the full thing. I think that Pino is also working on
replacing the ssh and scp commands in the v2v/input_vmx.ml file with
libssh. Without those changes, -i vmx will still issue raw ssh and
scp commands, which will use ssh-agent (or keyboard-interactive).
The Xen input method doesn't use raw ssh and scp commands, so that one
is OK.
Rich.
2014 Dec 01
2
[PATCH v2] fish: show synopsis if command syntax is wrong
.../* Online help. */
+ const char *synopsis; /* Synopsis. */
/* The run_* function. */
int (*run) (const char *cmd, size_t argc, char *argv[]);
diff --git a/generator/fish.ml b/generator/fish.ml
index 3f53ffa..52cdfd5 100644
--- a/generator/fish.ml
+++ b/generator/fish.ml
@@ -181,7 +181,7 @@ Guestfish will prompt for these separately."
else "" in
let pod =
- sprintf "%s - %s\n\n=head1 SYNOPSIS\n\n %s\n\n=head1 DESCRIPTION\n\n%s%s%s"
+ sprintf "%s - %s\n\n=head1 SYNOPSIS\n\n%s\n\n=head1 DESCRIPTION\n\n%s%s%s"...
2007 Dec 13
5
cant start domU w/ pci [Error: function takes exactly 4 arguments (3 given)]
Hi all,
I''m trying to get a pci card working on a guest os (ast01)
on dum0 I hided the pci card w/:
# modprobe pciback hide=''(0b:08.0)''
then added this line to the guest os config file (/etc/xen/ast01)
pci = [ "0000:08:0e.0" ]
Whenever I try to start it fails w/:
# xm create ast01
Using config file "/etc/xen/ast01".
Error: function takes exactly 4