Displaying 20 results from an estimated 71 matches for "43,13".
Did you mean:
23,13
2015 Feb 24
4
Current 6.8 git build issues on HP-UX
...mpat/bsd-misc.c b/openbsd-compat/bsd-misc.c
index 65e8003..40efc87 100644
--- a/openbsd-compat/bsd-misc.c
+++ b/openbsd-compat/bsd-misc.c
@@ -31,8 +31,6 @@
#include <time.h>
#include <unistd.h>
-#include "xmalloc.h"
-
#ifndef HAVE___PROGNAME
char *__progname;
#endif
@@ -43,13 +41,12 @@ char *__progname;
*/
char *ssh_get_progname(char *argv0)
{
+ char *p, *q;
#ifdef HAVE___PROGNAME
extern char *__progname;
- return xstrdup(__progname);
+ p = progname;
#else
- char *p;
-
if (argv0 == NULL)
return ("unknown"); /* XXX */
p = strrchr(argv0, '...
2020 Apr 09
0
[PATCH nbdkit v2 3/3] tmpdisk: Implement this plugin using fileops.
...pdisk_plugin_la_LIBADD = \
+ $(top_builddir)/common/fileops/libfileops.la \
$(top_builddir)/common/utils/libutils.la \
$(NULL)
diff --git a/plugins/tmpdisk/tmpdisk.c b/plugins/tmpdisk/tmpdisk.c
index 6d8efc08..23f335ac 100644
--- a/plugins/tmpdisk/tmpdisk.c
+++ b/plugins/tmpdisk/tmpdisk.c
@@ -43,13 +43,13 @@
#include <errno.h>
#include <assert.h>
#include <sys/types.h>
-#include <sys/stat.h>
#include <sys/wait.h>
#define NBDKIT_API_VERSION 2
#include <nbdkit-plugin.h>
#include "cleanup.h"
+#include "fileops.h"
#include &qu...
2006 Mar 20
1
do_mounts new sysfs support?
...eated
before passing control to kinit? The reason I ask is that I need to
call fstype and load the proper fs module before passing control.
Again, thanks for klibc!
--- usr/kinit/do_mounts.c 2006-03-13 01:14:12.000000000 -0600
+++ usr/kinit/do_mounts.c 2006-03-20 11:32:12.000000000 -0600
@@ -43,6 +43,13 @@
goto fail;
buf[len - 1] = '\0';
res = (dev_t) strtoul(buf, &s, 16);
+ if (*s == ':')
+ {
+ dev_t maj, min;
+ maj = (int)res;
+ min = (dev_t) strtoul(s+1, &s, 16);
+ res = (dev_t) (maj<<8|min);
+ }
if...
2015 Feb 24
6
Current 6.8 git build issues on HP-UX
HP-UX 11.23/11.31 build failures
OS Build_Target CC
OpenSSL BUILD TEST
============== =========================== ================
============= ====== =================
HP-UX 11.23 ia64-hp-hpux11.23 C/aC++ C.11.23.12
0.9.8zb *F1
HP-UX 11.23 ia64-hp-hpux11.23 gcc 4.3.1
0.9.8zb *F2
HP-UX 11.31 ia64-hp-hpux11.31
2000 Aug 26
0
Re: [R] too large alpha or beta in dbeta ? (PR#643)
...rn x + a + b;
+
+# define xmax 171.61447887182298/* (fixme) -->> ./gammalims.c */
+
+#else
+ static double xmax = 0; double xmin;
+ if (xmax == 0)
+ gammalims(&xmin, &xmax);
#endif
+
if (a <= 0 || b <= 0) ML_ERR_return_NAN;
if (x < 0 || x > 1)
@@ -35,10 +43,13 @@
if (x < 0 || x > 1)
return R_D__0;
+
+#define R_LOG_DBETA log(x)*(a - 1) + log(1 - x)*(b - 1) - lbeta(a, b)
- if(give_log) {
- return log(x)*(a - 1) + log(1 - x)*(b - 1) - lbeta(a, b);
- }
+ if(give_log)
+ return R_LOG_DBETA;
+ else if (a + b >= xmax) /* beta(a...
2000 Aug 28
0
Re: [R] too large alpha or beta in dbeta ? (PR#643)
...rn x + a + b;
+
+# define xmax 171.61447887182298/* (fixme) -->> ./gammalims.c */
+
+#else
+ static double xmax = 0; double xmin;
+ if (xmax == 0)
+ gammalims(&xmin, &xmax);
#endif
+
if (a <= 0 || b <= 0) ML_ERR_return_NAN;
if (x < 0 || x > 1)
@@ -35,10 +43,13 @@
if (x < 0 || x > 1)
return R_D__0;
+
+#define R_LOG_DBETA log(x)*(a - 1) + log(1 - x)*(b - 1) - lbeta(a, b)
- if(give_log) {
- return log(x)*(a - 1) + log(1 - x)*(b - 1) - lbeta(a, b);
- }
+ if(give_log)
+ return R_LOG_DBETA;
+ else if (a + b >= xmax) /* beta(a...
2015 Feb 24
2
Current 6.8 git build issues on HP-UX
...7be415 100644
> --- a/openbsd-compat/bsd-misc.c
> +++ b/openbsd-compat/bsd-misc.c
> @@ -31,8 +31,6 @@
> #include <time.h>
> #include <unistd.h>
>
> -#include "xmalloc.h"
> -
> #ifndef HAVE___PROGNAME
> char *__progname;
> #endif
> @@ -43,13 +41,12 @@ char *__progname;
> */
> char *ssh_get_progname(char *argv0)
> {
> + char *p, *q;
> #ifdef HAVE___PROGNAME
> extern char *__progname;
>
> - return xstrdup(__progname);
> + p = __progname;
> #else
> - char *p;
> -
> if (argv0 == NULL)
&...
2008 Aug 16
0
relist.Rd patch
...}
+ \item{flesh}{a vector to be relisted}
+ \item{skeleton}{a list, the structure of which determines the structure
+ of the result}
\item{x}{an \R object, typically a list (or vector).}
\item{recursive}{logical. Should unlisting be applied to list
components of \code{x}?}
@@ -42,13 +43,13 @@
}
\details{
Some functions need many parameters, which are most easily represented in
- complex structures. Unfortunately, many mathematical functions in \R,
+ nested list structures. Unfortunately, many mathematical functions in \R,
including \code{\link{optim}} and \code{\link{n...
2003 Jan 16
1
Possible patch for Irix Makefile problem
...Video: PictureTel/AT&T by request.
Maynard, MA 01754 | Disclaimer: I speak for myself, not Stratus.
### START OF PATCH ###
diff -urp old/rsync/Makefile.in new/rsync/Makefile.in
--- old/rsync/Makefile.in Thu Jan 16 16:06:00 2003
+++ new/rsync/Makefile.in Thu Jan 16 16:14:29 2003
@@ -43,8 +43,13 @@ OBJS=$(OBJS1) $(OBJS2) $(OBJS3) $(DAEMON
TLS_OBJ = tls.o syscall.o lib/permstring.o
# Programs we must have to run the test cases
-CHECK_PROGS = rsync$(EXEEXT) tls$(EXEEXT) getgroups$(EXEEXT) \
- trimslash$(EXEEXT) t_unsafe$(EXEEXT)
+RSYNC_EXE=rsync$(EXEEXT)
+TLS_EXE=tls$(EXE...
2016 Feb 09
2
[PATCH] v2v: move virtio_win to windows_virtio
....ml | 9 +--------
v2v/windows_virtio.ml | 13 ++++++++++---
v2v/windows_virtio.mli | 2 +-
3 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/v2v/convert_windows.ml b/v2v/convert_windows.ml
index 38fa300..f6f0911 100644
--- a/v2v/convert_windows.ml
+++ b/v2v/convert_windows.ml
@@ -43,13 +43,6 @@ let convert ~keep_serial_console (g : G.guestfs) inspect source =
try Sys.getenv "VIRT_TOOLS_DATA_DIR"
with Not_found -> Guestfs_config.datadir // "virt-tools" in
- let virtio_win =
- try Sys.getenv "VIRTIO_WIN"
- with Not_found ->...
2011 Mar 31
0
[PATCH 7/7] x86: cleanup bogus CONFIG_ACPI_PCI uses
...) DMI scan and ACPI boot code.
acpi_pci_disabled had only a single reader, which is off by default
(i.e. must be enable on the command line), so it seems pointless to
keep it.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
--- a/xen/arch/x86/acpi/boot.c
+++ b/xen/arch/x86/acpi/boot.c
@@ -43,21 +43,13 @@
#include <mach_apic.h>
#include <mach_mpparse.h>
-#define CONFIG_ACPI_PCI
-
#define BAD_MADT_ENTRY(entry, end) ( \
(!entry) || (unsigned long)entry + sizeof(*entry) > end || \
((struct acpi_subtable_header *)entry)->length != sizeof(*entry))
#de...
2006 Dec 12
0
[781] trunk/wxruby2: Added instance class method to avoid proliferation of help windows
...nbsp      2006-12-11 20:11:29 UTC (rev 780)
+++ trunk/wxruby2/doc/textile/helpcontroller.txtl        2006-12-12 00:13:56 UTC (rev 781)
</span><span class="lines">@@ -43,9 +43,13 @@
</span><span class="cx">
</span><span class="cx"> <div id="methods">
</span><span class="cx">
</span><del>-h2. Methods
</del><ins>+h2. Class Methods
</ins><span class=&qu...
2015 Feb 13
2
[PATCH] ./run: Use 'prepend' function to build paths.
...v' by hand and comparing
environment variables to the expected values.
---
run.in | 103 +++++++++++++++++++++++++++++++++++------------------------------
1 file changed, 55 insertions(+), 48 deletions(-)
diff --git a/run.in b/run.in
index bf7ea1b..46b47c3 100755
--- a/run.in
+++ b/run.in
@@ -43,6 +43,13 @@ if [ "$1" = "--test" ]; then
shift
fi
+# Function to intelligently prepend a path to an environment variable.
+# See http://stackoverflow.com/a/9631350
+prepend()
+{
+ eval $1="$2\${$1:+:\$$1}"
+}
+
# Source and build directories (absolute paths...
2017 Apr 26
2
Setup a new samba AD DC
...+if [ -f "$KRB5CCNAME" -a ! -r "$KRB5CCNAME" ]
+then
+ echo "File krbcc ticket cache $KRB5CCNAME is not readable. Remove it with 'rm -f $KRB5CCNAME'"
+ exit 1
+fi
+
# Kerberos principal
SETPRINCIPAL="dhcpduser@${REALM}"
# Kerberos keytab
@@ -43,13 +49,15 @@
fi
# Check for Kerberos keytab
-if [ ! -f /etc/dhcp/dhcpduser.keytab ]; then
- echo "Required keytab /etc/dhcpduser.keytab not found, it needs to be created."
+dhcpduser_keytab='/etc/samba/dhcpduser.keytab'
+#dhcpduser_keytab=/etc/dhcp/dhcpduser.keytab
+if [ !...
2019 Nov 05
0
[PATCH V8 5/6] virtio: introduce a mdev based transport
...o_mdev.c | 407 +++++++++++++++++++++++++++++++++++
3 files changed, 415 insertions(+)
create mode 100644 drivers/virtio/virtio_mdev.c
diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
index 078615cf2afc..8d18722ab572 100644
--- a/drivers/virtio/Kconfig
+++ b/drivers/virtio/Kconfig
@@ -43,6 +43,13 @@ config VIRTIO_PCI_LEGACY
If unsure, say Y.
+config VIRTIO_MDEV_DEVICE
+ tristate "VIRTIO driver for Mediated devices"
+ depends on VFIO_MDEV && VIRTIO
+ default n
+ help
+ VIRTIO based driver for Mediated devices.
+
config VIRTIO_PMEM
tristate "Suppor...
2019 Oct 17
0
[PATCH V4 5/6] virtio: introduce a mdev based transport
...o_mdev.c | 409 +++++++++++++++++++++++++++++++++++
3 files changed, 417 insertions(+)
create mode 100644 drivers/virtio/virtio_mdev.c
diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
index 078615cf2afc..8d18722ab572 100644
--- a/drivers/virtio/Kconfig
+++ b/drivers/virtio/Kconfig
@@ -43,6 +43,13 @@ config VIRTIO_PCI_LEGACY
If unsure, say Y.
+config VIRTIO_MDEV_DEVICE
+ tristate "VIRTIO driver for Mediated devices"
+ depends on VFIO_MDEV && VIRTIO
+ default n
+ help
+ VIRTIO based driver for Mediated devices.
+
config VIRTIO_PMEM
tristate "Suppor...
2019 Oct 11
0
[PATCH V3 6/7] virtio: introduce a mdev based transport
...o_mdev.c | 416 +++++++++++++++++++++++++++++++++++
3 files changed, 424 insertions(+)
create mode 100644 drivers/virtio/virtio_mdev.c
diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
index 078615cf2afc..8d18722ab572 100644
--- a/drivers/virtio/Kconfig
+++ b/drivers/virtio/Kconfig
@@ -43,6 +43,13 @@ config VIRTIO_PCI_LEGACY
If unsure, say Y.
+config VIRTIO_MDEV_DEVICE
+ tristate "VIRTIO driver for Mediated devices"
+ depends on VFIO_MDEV && VIRTIO
+ default n
+ help
+ VIRTIO based driver for Mediated devices.
+
config VIRTIO_PMEM
tristate "Suppor...
2020 Jan 08
0
[PATCH v2 1/9] iomap: Constify ioreadX() iomem argument (as in generic implementation)
...IO_CONCAT(__IO_PREFIX,readw)(const volatile void __iomem *a)
{
- void __iomem *addr = (void __iomem *)a;
+ const void __iomem *addr = (const void __iomem *)a;
return IO_CONCAT(__IO_PREFIX,ioread16)(addr);
}
diff --git a/arch/alpha/include/asm/jensen.h b/arch/alpha/include/asm/jensen.h
index 436dc905b6ad..916895155a88 100644
--- a/arch/alpha/include/asm/jensen.h
+++ b/arch/alpha/include/asm/jensen.h
@@ -305,7 +305,7 @@ __EXTERN_INLINE int jensen_is_mmio(const volatile void __iomem *addr)
that it doesn't make sense to merge them. */
#define IOPORT(OS, NS) \
-__EXTERN_INLI...
2020 Feb 19
0
[RESEND PATCH v2 1/9] iomap: Constify ioreadX() iomem argument (as in generic implementation)
...IO_CONCAT(__IO_PREFIX,readw)(const volatile void __iomem *a)
{
- void __iomem *addr = (void __iomem *)a;
+ const void __iomem *addr = (const void __iomem *)a;
return IO_CONCAT(__IO_PREFIX,ioread16)(addr);
}
diff --git a/arch/alpha/include/asm/jensen.h b/arch/alpha/include/asm/jensen.h
index 436dc905b6ad..916895155a88 100644
--- a/arch/alpha/include/asm/jensen.h
+++ b/arch/alpha/include/asm/jensen.h
@@ -305,7 +305,7 @@ __EXTERN_INLINE int jensen_is_mmio(const volatile void __iomem *addr)
that it doesn't make sense to merge them. */
#define IOPORT(OS, NS) \
-__EXTERN_INLI...
2020 Jul 09
0
[PATCH v3 1/4] iomap: Constify ioreadX() iomem argument (as in generic implementation)
...IO_CONCAT(__IO_PREFIX,readw)(const volatile void __iomem *a)
{
- void __iomem *addr = (void __iomem *)a;
+ const void __iomem *addr = (const void __iomem *)a;
return IO_CONCAT(__IO_PREFIX,ioread16)(addr);
}
diff --git a/arch/alpha/include/asm/jensen.h b/arch/alpha/include/asm/jensen.h
index 436dc905b6ad..916895155a88 100644
--- a/arch/alpha/include/asm/jensen.h
+++ b/arch/alpha/include/asm/jensen.h
@@ -305,7 +305,7 @@ __EXTERN_INLINE int jensen_is_mmio(const volatile void __iomem *addr)
that it doesn't make sense to merge them. */
#define IOPORT(OS, NS) \
-__EXTERN_INLI...