search for: 16,10

Displaying 20 results from an estimated 83 matches for "16,10".

Did you mean: 1,10
2003 Nov 29
1
[PATCH] ash not make -j safe, make spotless updates
...s doesnt work reliable, the patch adds a few more targets. Is there a good reason to build ash.shared in klibc? diff -p -purNx linux klibc-0.87.orig/ash/Makefile klibc-0.87/ash/Makefile --- klibc-0.87.orig/ash/Makefile 2003-02-10 12:05:21.000000000 +0100 +++ klibc-0.87/ash/Makefile 2003-11-29 13:16:57.000000000 +0100 @@ -12,6 +12,9 @@ OBJ2 = builtins.o cd.o dirent.o bltin/ec OBJS = $(OBJ1) $(OBJ2) +OBJ_NODES = cd.o eval.o exec.o expand.o jobs.o main.o nodes.o options.o parser.o redir.o show.o trap.o var.o + + SRCROOT = .. include ../MCONFIG @@ -63,6 +66,8 @@ init.c: mkinit $(SRCS)...
2013 Mar 07
5
multiple plots and looping assistance requested (revised codes)
Hi Irucka, I tried it and was able to plot it without any errors.? Here, your code indicates you need two lines. temper[[i]][1] ?temper[[1]][1] # which is the column 1. ? Month 1???? 1 2???? 2 3???? 3 ?temper[[1]][2] #? Data1 #1?? 1.5 #2? 12.3 #3? 11.4 Suppose I use names(temper) instead of seq_along(temper) pdf("irucka.pdf") ?lapply(names(temper),function(i)
2012 Oct 11
4
[PATCH] drm/nouveau: fix nouveau_mm/nouveau_mm_node leak
...+= gpuobj->node->offset; } diff --git a/drivers/gpu/drm/nouveau/core/include/core/gpuobj.h b/drivers/gpu/drm/nouveau/core/include/core/gpuobj.h index d09adf1..f65bf5b 100644 --- a/drivers/gpu/drm/nouveau/core/include/core/gpuobj.h +++ b/drivers/gpu/drm/nouveau/core/include/core/gpuobj.h @@ -16,7 +16,10 @@ struct nouveau_vm; struct nouveau_gpuobj { struct nouveau_object base; struct nouveau_object *parent; + + struct nouveau_mm *node_heap; struct nouveau_mm_node *node; + struct nouveau_mm heap; u32 flags; -- 1.7.12
2011 Mar 10
1
[LLVMdev] compiler-rt: Infinite loop/stack overflow in __modsi3()
...oop rather than a stack overflow :) Here's the patch, patterned after the correct implementation in umodsi3.c: diff --git a/lib/compiler-rt/lib/modsi3.c b/lib/compiler-rt/lib/modsi3.c index 388418a..3759ce0 100644 --- a/lib/compiler-rt/lib/modsi3.c +++ b/lib/compiler-rt/lib/modsi3.c @@ -16,8 +16,10 @@ /* Returns: a % b */ +su_int __divsi3(si_int a, si_int b); + si_int __modsi3(si_int a, si_int b) { - return a - (a / b) * b; + return a - __divsi3(a, b) * b; } Best, Matt
2004 Oct 22
1
[PATCH] off-by-one in asprintf/vasprintf
...printf is the number of bytes *including* the terminating '\0'. diff -u klibc-0.188/klibc/asprintf.c udev/klibc-0.188/klibc/asprintf.c --- klibc-0.188/klibc/asprintf.c 2004-10-22 12:07:22.678906352 -0600 +++ udev/klibc-0.188/klibc/asprintf.c 2004-10-22 12:08:03.859645928 -0600 @@ -16,10 +16,10 @@ va_start(ap, format); va_copy(ap1, ap); - bytes = vsnprintf(NULL, 0, format, ap1); + bytes = vsnprintf(NULL, 0, format, ap1) + 1; va_end(ap1); - *bufp = p = malloc(bytes+1); + *bufp = p = malloc(bytes); if ( !p ) return -1; diff -u klibc-0.188/klibc/vasprintf.c...
2013 Jun 06
1
[supermin PATCH] Add stdarg.h to fix issues with va_start.
...ys-apps/shadow/files/shadow-4.1.5-stdarg.patch?view=diff&r1=text&tr1=1.1&r2=text&tr2=1.1&diff_format=s helper/utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/helper/utils.c b/helper/utils.c index 67d8ad2..c211a03 100644 --- a/helper/utils.c +++ b/helper/utils.c @@ -16,10 +16,11 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <config.h> +#include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <dirent.h> -- 1.8.3.222.g430da9e
2013 Sep 22
1
type="message" possibility for capture.output() ?
...se, if someone was going to mess with this function more, it might be nice to have an option to have *both* streams captured ... Index: capture.output.R =================================================================== --- capture.output.R (revision 63969) +++ capture.output.R (working copy) @@ -16,8 +16,10 @@ # A copy of the GNU General Public License is available at # http://www.r-project.org/Licenses/ -capture.output <- function(..., file=NULL, append=FALSE) +capture.output <- function(..., file=NULL, append=FALSE, + type = c("output", "m...
2020 Sep 28
0
[libnbd PATCH 2/3] generator: Rename OPT_SET_META_CONTEXT states
...yle-opt-meta-context.c similarity index 90% rename from generator/states-newstyle-opt-set-meta-context.c rename to generator/states-newstyle-opt-meta-context.c index e2541fa..0dc48af 100644 --- a/generator/states-newstyle-opt-set-meta-context.c +++ b/generator/states-newstyle-opt-meta-context.c @@ -16,10 +16,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -/* State machine for negotiating NBD_OPT_SET_META_CONTEXT. */ +/* State machine for negotiating NBD_OPT_SET/LIST_META_CONTEXT. */ STATE_MACHINE { - NEWSTYLE.OPT_SET_META_CONTEXT.START: + NEWSTYLE....
2009 Jun 25
1
[PATCH node] Rerunning network config resets all network config. bz#507393
...n it ensures that all features of networking that we configure are reset and only those settings touched are applied. Signed-off-by: Darryl L. Pierce <dpierce at redhat.com> --- scripts/ovirt-config-networking | 46 +++++++++++++++++++++++++------------- 1 files changed, 30 insertions(+), 16 deletions(-) diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking index d29bd12..81f017c 100755 --- a/scripts/ovirt-config-networking +++ b/scripts/ovirt-config-networking @@ -16,8 +16,10 @@ WORKDIR=$(mktemp -d) || exit 1 trap '__st=$?; rm -rf "$WORKDIR"; s...
2008 Feb 11
3
[PATCH 1/5] Change vsmp compile dependency
Change Makefile so vsmp_64.o object is dependent on PARAVIRT, rather than X86_VSMP Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ravikiran Thirumalai <kiran@scalemp.com> Acked-by: Shai Fultheim <shai@scalemp.com> --- arch/x86/kernel/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/Makefile
2004 Aug 06
2
[PATCH] Solaris needs sys/types.h for uint32_t
...------- next part -------------- Index: src/md5.h =================================================================== RCS file: /usr/local/cvsroot/icecast/src/md5.h,v retrieving revision 1.2 diff -u -r1.2 md5.h --- src/md5.h 29 Jan 2004 01:02:06 -0000 1.2 +++ src/md5.h 9 Mar 2004 07:41:47 -0000 @@ -16,6 +16,10 @@ #include "config.h" #include "compat.h" +#ifdef HAVE_SYS_TYPES_H + #include <sys/types.h> +#endif + #define HASH_LEN 16 struct MD5Context +mb+rzqk7&zzmy:.mkabzhj]zrj) '+a{ +v&{ay,ry'rzg-b"V ~)mz
2009 Mar 05
1
[PATCH 3/5] COM32: Improve opendir() to deal with no '/' at end of string
...This checks and automatically appends a '/' to the end of the pathname string (by creating another string temporarily) then making the COMBOOT call. diff --git a/com32/lib/opendir.c b/com32/lib/opendir.c index aa2ba5b..7063f8c 100644 --- a/com32/lib/opendir.c +++ b/com32/lib/opendir.c @@ -16,10 +17,20 @@ DIR *opendir(const char *pathname) { DIR *newdir; com32sys_t regs; + char *tpath; + int pathlen; newdir = NULL; + pathlen = strlen(pathname); + if (pathname[pathlen-1] != '/') { + tpath = calloc(1, pathlen + 2); + strcpy(tpath, pathname); + strcpy(tpath + pathlen, &q...
2013 Apr 29
0
[PATCH v9 2/2] ARM: Enable selection of SMP operations at boot time
...+++ arch/arm/kernel/setup.c | 10 ++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/arch/arm/include/asm/mach/arch.h b/arch/arm/include/asm/mach/arch.h index 308ad7d..af8c54c 100644 --- a/arch/arm/include/asm/mach/arch.h +++ b/arch/arm/include/asm/mach/arch.h @@ -16,8 +16,10 @@ struct pt_regs; struct smp_operations; #ifdef CONFIG_SMP #define smp_ops(ops) (&(ops)) +#define smp_init_ops(ops) (&(ops)) #else #define smp_ops(ops) (struct smp_operations *)NULL +#define smp_init_ops(ops) (bool (*)(void))NULL #endif struct machine_desc { @@ -41,6 +43,...
2016 May 12
0
[PATCH 2/4] src/tmpdirs.c: Add internal documentation.
--- src/tmpdirs.c | 45 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 34 insertions(+), 11 deletions(-) diff --git a/src/tmpdirs.c b/src/tmpdirs.c index afa3dd4..293e4ea 100644 --- a/src/tmpdirs.c +++ b/src/tmpdirs.c @@ -16,6 +16,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +/** + * Handle temporary directories. + */ + #include <config.h> #include <stdio.h> @@ -31,9 +35,10 @@ #include "guestfs-internal.h" #include "guestfs-internal-actio...
2009 Jul 07
1
Obsoletes previous patch
This patch obsoletes the previously submitted patch. It adds a warning message to the user when they select to change the NTP settings.
2017 Nov 13
0
[PATCH v12 2/3] builder: add a template parameter to get_index
...et compressed_size = try Some (Int64.of_string (List.assoc ("compressed_size", None) fields)) with diff --git a/builder/index_parser.mli b/builder/index_parser.mli index f77ae9376..dc6b0b407 100644 --- a/builder/index_parser.mli +++ b/builder/index_parser.mli @@ -16,7 +16,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *) -val get_index : downloader:Downloader.t -> sigchecker:Sigchecker.t -> Sources.source -> Index.index +val get_index : downloader:Downloader.t -> sigchecker:Sigchecker.t -> ?template:bool -> Sources....
2006 Jul 13
0
[vorbis-tools] Some patches coming from Debian bugs
...;config.h> +#endif + #include <stdio.h> #include <stdlib.h> #include <string.h> Index: vorbiscomment/vcomment.c =================================================================== --- vorbiscomment/vcomment.c (revision 11702) +++ vorbiscomment/vcomment.c (working copy) @@ -8,16 +8,15 @@ * Of limited usability on its own, but could be useful. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include <stdio.h> #include <string.h> #include <stdlib.h> #include <locale.h> -#ifdef HAVE_CONFIG_H -#include "config.h" -#en...
2006 Jul 13
0
[vorbis-tools] Some patches coming from Debian bugs
...;config.h> +#endif + #include <stdio.h> #include <stdlib.h> #include <string.h> Index: vorbiscomment/vcomment.c =================================================================== --- vorbiscomment/vcomment.c (revision 11702) +++ vorbiscomment/vcomment.c (working copy) @@ -8,16 +8,15 @@ * Of limited usability on its own, but could be useful. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include <stdio.h> #include <string.h> #include <stdlib.h> #include <locale.h> -#ifdef HAVE_CONFIG_H -#include "config.h" -#en...
2020 Feb 07
0
[RFC PATCH v7 16/78] KVM: x86: use MSR_TYPE_R, MSR_TYPE_W and MSR_TYPE_RW with AMD code too
..._write, &tmp) : set_bit(bit_write, &tmp); + if (type & MSR_TYPE_R) + value ? clear_bit(bit_read, &tmp) : set_bit(bit_read, &tmp); + if (type & MSR_TYPE_W) + value ? clear_bit(bit_write, &tmp) : set_bit(bit_write, &tmp); + msrpm[offset] = tmp; } @@ -1113,7 +1116,8 @@ static void svm_vcpu_init_msrpm(u32 *msrpm) if (!direct_access_msrs[i].always) continue; - set_msr_interception(msrpm, direct_access_msrs[i].index, 1, 1); + set_msr_interception(msrpm, direct_access_msrs[i].index, + MSR_TYPE_RW, 1); } } @@ -1165,10 +1169,14 @@ static vo...
2017 Nov 21
0
[PATCH v13 2/3] builder: add a template parameter to get_index
...et compressed_size = try Some (Int64.of_string (List.assoc ("compressed_size", None) fields)) with diff --git a/builder/index_parser.mli b/builder/index_parser.mli index f77ae9376..dc6b0b407 100644 --- a/builder/index_parser.mli +++ b/builder/index_parser.mli @@ -16,7 +16,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *) -val get_index : downloader:Downloader.t -> sigchecker:Sigchecker.t -> Sources.source -> Index.index +val get_index : downloader:Downloader.t -> sigchecker:Sigchecker.t -> ?template:bool -> Sources....