search for: 73,11

Displaying 20 results from an estimated 64 matches for "73,11".

2005 Apr 14
0
predict.glm(..., type="response") dropping names (and a propsed (PR#7792)
...thresh <- -qcauchy(.Machine$double.eps) - eta <- pmin(thresh, pmax(eta, -thresh)) + eta <- pmin(pmax(eta, -thresh), thresh) pcauchy(eta) } mu.eta <- function(eta) @@ -73,11 +73,11 @@ "cloglog" = { linkfun <- function(mu) log(-log(1 - mu)) linkinv <- function(eta) - pmax(.Machine$double.eps, - pmin(1 - .Machine$double.eps, - expm1(-exp(eta)))) +...
2016 Feb 16
2
[PATCH] fish: reset the console on ^Z RHBZ#1213844
Patch registers SIGTSTP hook where it sends reset terminal color control sequence. Maros Zatko (1): fish: reset the console on ^Z RHBZ#1213844 fish/fish.c | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) -- 2.5.0
2019 Sep 05
1
[PATCH] ocaml: Change calls to caml_named_value() to cope with const value* return.
...s/uri-c.c | 6 ++---- common/mlvisit/visit-c.c | 4 +--- generator/daemon.ml | 2 +- 4 files changed, 5 insertions(+), 10 deletions(-) diff --git a/common/mlpcre/pcre-c.c b/common/mlpcre/pcre-c.c index be054a004..d23f17e05 100644 --- a/common/mlpcre/pcre-c.c +++ b/common/mlpcre/pcre-c.c @@ -73,12 +73,11 @@ init (void) static void raise_pcre_error (const char *msg, int errcode) { - value *exn = caml_named_value ("PCRE.Error"); value args[2]; args[0] = caml_copy_string (msg); args[1] = Val_int (errcode); - caml_raise_with_args (*exn, 2, args); + caml_raise_with_a...
2016 Feb 16
0
[PATCH] fish: reset the console on ^Z RHBZ#1213844
...ters SIGTSTP hook where it sends reset terminal color control sequence. --- fish/fish.c | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/fish/fish.c b/fish/fish.c index d26f8b3..b579898 100644 --- a/fish/fish.c +++ b/fish/fish.c @@ -73,6 +73,11 @@ static void cleanup_readline (void); static char *decode_ps1 (const char *); static void add_history_line (const char *); #endif +static void set_stophandler (void); +static void restore_stophandler (void); +static void user_control_z (int sig); + +static void (*otstpfn) = SIG_DFL;...
2018 May 29
2
[PATCH] Don't use deprecated API with openssl 1.1+
OpenSSL 1.1.0 has deprecated SSL_load_error_strings and SSL_library_init. Initialization is done automatically, so they're not needed with icecast. Fixes issue #2318 Signed-off-by: Eneas U de Queiroz <cote2004-github at yahoo.com> --- src/tls.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tls.c b/src/tls.c index 36edd86..6bd1aee 100644 --- a/src/tls.c +++ b/src/tls.c @@
2018 May 29
1
[PATCH v2 1/1] Don't use deprecated API with openssl 1.1+
...++ b/src/tls.c @@ -51,8 +51,10 @@ struct tls_tag { void tls_initialize(void) { +#if OPENSSL_VERSION_NUMBER < 0x10100000L SSL_load_error_strings(); /* readable error messages */ SSL_library_init(); /* initialize library */ +#endif } void tls_shutdown(void) { @@ -71,7 +73,11 @@ tls_ctx_t *tls_ctx_new(const char *cert_file, const char *key_file, const char * if (!ctx) return NULL; +#if OPENSSL_VERSION_NUMBER < 0x10100000L method = SSLv23_server_method(); +#else + method = TLS_server_method(); +#endif ctx->refc = 1; ctx->ct...
2015 Oct 10
2
[Bug 92377] New: Add support for early voltage table as seen on nv43
...switch (*ver) { case 0x12: + case 0x10: *hdr = 5; *cnt = nvbios_rd08(bios, volt + 2); *len = nvbios_rd08(bios, volt + 1); @@ -71,8 +73,11 @@ nvbios_volt_parse(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, { u16 volt = nvbios_volt_table(bios, ver, hdr, cnt, len); memset(info, 0x00, sizeof(*info)); + printk("nvbios_volt_parse called!\n"); + printk("volt_ta...
1998 May 26
0
Re: Beware of dangerous enviroment (Re: Overflows in minicom)
...3:01 1996 +++ libc-5.4.44/libc/locale/findlocale.c Sat May 16 15:32:10 1998 @@ -35,6 +35,8 @@ const struct locale_data *_nl_find_locale (const char *, size_t, int, char **); +extern char *__libc_secure_getenv(const char *); + static inline char * copy (const char *string) @@ -73,11 +75,11 @@ { /* The user decides which locale to use by setting environment variables. */ - *name = getenv ("LC_ALL"); + *name = __libc_secure_getenv ("LC_ALL"); if (*name == NULL || (*name)[0] == ''\0'') - *name = getenv (_nl_c...
2007 Apr 18
0
[Bridge] [PATCH] (4/11) bridge - ioctl cleanup and consolidation
...rq, int cmd) +{ + struct net_bridge *br = netdev_priv(dev); + unsigned long args[4]; + + if (cmd != SIOCDEVPRIVATE) + return -EOPNOTSUPP; + + if (copy_from_user(args, rq->ifr_data, sizeof(args))) + return -EFAULT; + + switch (args[0]) { case BRCTL_ADD_IF: case BRCTL_DEL_IF: { @@ -44,11 +73,11 @@ if (!capable(CAP_NET_ADMIN)) return -EPERM; - dev = dev_get_by_index(arg0); + dev = dev_get_by_index(args[1]); if (dev == NULL) return -EINVAL; - if (cmd == BRCTL_ADD_IF) + if (args[0] == BRCTL_ADD_IF) ret = br_add_if(br, dev); else ret = br_del_if(br, dev); @...
2019 Jan 01
0
[PATCH nbdkit] plugins, filters: Define and use NBDKIT_HANDLE_NOT_NEEDED.
...n. */ - static int h; - - return &h; + return NBDKIT_HANDLE_NOT_NEEDED; } #define THREAD_MODEL NBDKIT_THREAD_MODEL_PARALLEL diff --git a/plugins/pattern/pattern.c b/plugins/pattern/pattern.c index 46b5abd..1d1b234 100644 --- a/plugins/pattern/pattern.c +++ b/plugins/pattern/pattern.c @@ -73,14 +73,11 @@ pattern_config (const char *key, const char *value) #define THREAD_MODEL NBDKIT_THREAD_MODEL_PARALLEL -/* No meaning, just used as the address for the handle. */ -static int ph; - /* Create the per-connection handle. */ static void * pattern_open (int readonly) { - return &am...
2006 Sep 18
1
Re: dumpcore changes -- [Xen-changelog] [xen-unstable] In this patch, the xc_domain_dumpcore_via_callback() in xc_core.c of
...(int fd, char *buffer, unsigned int length); On 9/17/06, Xen patchbot-unstable <patchbot-unstable@lists.xensource.com> wrote: > > # HG changeset patch > # User root@procyon > # Node ID 11645dda144c3c8365dd2a6a64cb5a7d7da01170 > # Parent 30c659b655f15da7f6eeca68cd204162fbcf4733 > In this patch, the xc_domain_dumpcore_via_callback() in xc_core.c of > libxc is modified. Previously, the xc_domain_dumpcore_via_callback() > did not respond to error when copy_from_domain_page() failed. > In other words, the dump core remained silent even if mapping the domain >...
2007 Apr 18
0
[RFC, PATCH 11/24] i386 Vmi segment changes
...rc5/include/asm-i386/ptrace.h 2006-03-08 17:10:26.000000000 -0800 @@ -60,6 +60,7 @@ struct pt_regs { #ifdef __KERNEL__ #include <asm/vm86.h> +#include <asm/segment.h> struct task_struct; extern void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs, int error_code); @@ -73,11 +74,11 @@ extern void send_sigtrap(struct task_str */ static inline int user_mode(struct pt_regs *regs) { - return (regs->xcs & 3) != 0; + return (regs->xcs & SEGMENT_RPL_MASK) == 3; } static inline int user_mode_vm(struct pt_regs *regs) { - return ((regs->xcs & 3) |...
2007 Apr 18
0
[RFC, PATCH 11/24] i386 Vmi segment changes
...rc5/include/asm-i386/ptrace.h 2006-03-08 17:10:26.000000000 -0800 @@ -60,6 +60,7 @@ struct pt_regs { #ifdef __KERNEL__ #include <asm/vm86.h> +#include <asm/segment.h> struct task_struct; extern void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs, int error_code); @@ -73,11 +74,11 @@ extern void send_sigtrap(struct task_str */ static inline int user_mode(struct pt_regs *regs) { - return (regs->xcs & 3) != 0; + return (regs->xcs & SEGMENT_RPL_MASK) == 3; } static inline int user_mode_vm(struct pt_regs *regs) { - return ((regs->xcs & 3) |...
2015 Nov 05
1
[PATCH 1/2] test-data: phony-guests: Don't use *.tmp.* temporary files.
...#39; +cat > archlinux.release <<'EOF' DISTRIB_ID=CoreOS DISTRIB_RELEASE=647.0.0 DISTRIB_CODENAME="Red Dog" @@ -31,7 +31,7 @@ EOF # Create a disk image. guestfish <<EOF -sparse coreos.img.tmp.$$ 512M +sparse coreos.img-t 512M run part-init /dev/sda gpt @@ -73,11 +73,11 @@ mkdir /root mkdir /home write /etc/coreos/update.conf "GROUP=stable" -upload release.tmp.$$ /usr/share/coreos/lsb-release +upload archlinux.release /usr/share/coreos/lsb-release ln-s ../usr/share/coreos/lsb-release /etc/lsb-release write /etc/hostname "coreos.inval...
2007 Apr 18
2
[patch 3/8] Allow a kernel to not be in ring 0.
...ude/asm-i386/ptrace.h +++ 2.6.18-rc3-32/include/asm-i386/ptrace.h @@ -60,6 +60,7 @@ struct pt_regs { #ifdef __KERNEL__ #include <asm/vm86.h> +#include <asm/segment.h> struct task_struct; extern void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs, int error_code); @@ -73,11 +74,11 @@ extern void send_sigtrap(struct task_str */ static inline int user_mode(struct pt_regs *regs) { - return (regs->xcs & 3) != 0; + return (regs->xcs & SEGMENT_RPL_MASK) == USER_RPL; } static inline int user_mode_vm(struct pt_regs *regs) { - return ((regs->xcs &amp...
2007 Apr 18
2
[patch 3/8] Allow a kernel to not be in ring 0.
...ude/asm-i386/ptrace.h +++ 2.6.18-rc3-32/include/asm-i386/ptrace.h @@ -60,6 +60,7 @@ struct pt_regs { #ifdef __KERNEL__ #include <asm/vm86.h> +#include <asm/segment.h> struct task_struct; extern void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs, int error_code); @@ -73,11 +74,11 @@ extern void send_sigtrap(struct task_str */ static inline int user_mode(struct pt_regs *regs) { - return (regs->xcs & 3) != 0; + return (regs->xcs & SEGMENT_RPL_MASK) == USER_RPL; } static inline int user_mode_vm(struct pt_regs *regs) { - return ((regs->xcs &amp...
2016 Oct 24
2
[PATCH 1/2] mllib: curl: add optional tmpdir parameter
...quot; ".conf" in +let run { curl = curl; args = args; tmpdir = tmpdir } = + let config_file, chan = Filename.open_temp_file ?temp_dir:tmpdir + "guestfscurl" ".conf" in List.iter ( function | name, None -> fprintf chan "%s\n" name @@ -71,7 +73,11 @@ let run { curl = curl; args = args } = let cmd = sprintf "%s -q --config %s" (quote curl) (quote config_file) in let lines = external_command ~echo_cmd:false cmd in - Unix.unlink config_file; + (* Remove the temporary configuration only when not created under + * a prope...
2015 Oct 09
3
Python version for scripts in LLVM?
...ge is ./DSAextract <dot_file_to_modify> \ - <output_file> [list of nodes to extract]' + print('usage is ./DSAextract <dot_file_to_modify> \ + <output_file> [list of nodes to extract]') #open the input file input = open(sys.argv[1], 'r') @@ -71,11 +73,11 @@ #test code -#print '\n' +#print('\n') -print node_name_set +print(node_name_set) -#print node_set +#print(node_set) #open the output file Index: bisect =================================================================== --- bisect (revision 249819) +++ bisect (w...
2004 Nov 16
0
metadata switches for ffmpeg2theora
...outfile != stdout) - fclose (info.outfile); + if (info->outfile && info->outfile != stdout) + fclose (info->outfile); } Index: theorautils.h =================================================================== --- theorautils.h (revision 8208) +++ theorautils.h (working copy) @@ -73,11 +73,10 @@ } theoraframes_info; - -extern void theoraframes_init (); -extern int theoraframes_add_video (uint8_t * data, int width, int height, +extern void theoraframes_init (theoraframes_info *info); +extern int theoraframes_add_video (theoraframes_info *info, uint8_t * data, int width, int...
2007 Jun 01
2
another RFC patch: bzImage with ELF payload
...ge -$(obj)/zImage $(obj)/bzImage: $(obj)/setup.bin \ - $(obj)/vmlinux.bin $(obj)/tools/build FORCE - $(call if_changed,image) +$(obj)/zImage: FORCE @echo 'Kernel: $@ is ready' ' (#'`cat .version`')' $(obj)/vmlinux.bin: $(obj)/compressed/vmlinux FORCE @@ -81,8 +73,11 @@ cmd_image = $(obj)/tools/build $(BUILDFL SETUP_OBJS = $(addprefix $(obj)/,$(setup-y)) -LDFLAGS_setup.elf := -T -$(obj)/setup.elf: $(src)/setup.ld $(SETUP_OBJS) FORCE +$(obj)/payload.o: EXTRA_AFLAGS := -Wa,-I$(obj) +$(obj)/payload.o: $(src)/kernel.S $(obj)/vmlinux.bin + +LDFLAGS_bzImage :...