similar to: [PATCH libguestfs] maint: use spaces, not TABs for indentation

Displaying 20 results from an estimated 1000 matches similar to: "[PATCH libguestfs] maint: use spaces, not TABs for indentation"

2010 Aug 04
1
[PATCH] Send trace output to stderr
Trace output sent to stdout can be lost in the event of a crash due to buffering. This patch sends it to stderr instead. --- src/generator.ml | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/generator.ml b/src/generator.ml index 52e7aba..db674a6 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -6174,7 +6174,7 @@ check_state (guestfs_h
2009 Nov 19
1
[PATCH libguestfs] syntax-check: expand TABs in generator.ml
>From 6f128e90afb055f9899011c4a592eb289e678936 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering at redhat.com> Date: Thu, 19 Nov 2009 11:39:10 +0100 Subject: [PATCH libguestfs] syntax-check: expand TABs in generator.ml * src/generator.ml: Expand leading TABs to spaces. --- src/generator.ml | 46 +++++++++++++++++++++++----------------------- 1 files changed, 23 insertions(+), 23
2009 Aug 03
1
[PATCH 1/2] Convert all TABs-as-indentation to spaces.
Per discussion on IRC, here are two changes to convert all TABs-as-indentation to spaces. The first one is the fully-automated conversion. However, note that the command mentioned uses a file (the .x-sc* one) that is added only in the following patch. The second patch adds rules to help keep things that way: Document and enforce the new spaces-only indentation policy. * cfg.mk
2009 Nov 09
1
[PATCH libguestfs] indent with spaces, not TABs
One more after this, and "make syntax-check" will pass once more. >From 5c360133c0d4e09531d432abca0629798b87ff39 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering at redhat.com> Date: Mon, 9 Nov 2009 15:14:53 +0100 Subject: [PATCH libguestfs] indent with spaces, not TABs * HACKING: Expand indentation TABs. * configure.ac: Likewise. * daemon/daemon.h: Likewise. *
2009 May 04
3
[RFC][PATCH] poweroff COMBOOT module
This module is able to power off a system via APM. It was tested on QEMU, Bochs and VMware. Possible usage: TIMEOUT 3000 TOTALTIMEOUT 9000 ONTIMEOUT poweroff.com - Sebastian Index: syslinux-3.80-pre7/modules/poweroff.asm =================================================================== --- /dev/null +++ syslinux-3.80-pre7/modules/poweroff.asm @@ -0,0 +1,86 @@ + absolute 0 +pspInt20: resw 1
2009 May 29
1
[PATCH v2] klibc-utils: add simple ls
Simple utility to list information about a files. The utility which does the same thing as "ls -la". This is a useful test program. Signed-off-by: Alexey Gladkov <gladkov.alexey at gmail.com> --- usr/utils/Kbuild | 4 +- usr/utils/ls.c | 202 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 205 insertions(+), 1 deletions(-) create mode 100644
2009 Nov 20
1
[PATCH libguestfs] maint: remove unnecessary include of openat.h
>From 34af5f3be8b04443dc151e6d070aa49cbe59b7fc Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering at redhat.com> Date: Fri, 20 Nov 2009 11:50:54 +0100 Subject: [PATCH libguestfs] maint: remove unnecessary include of openat.h * daemon/realpath.c: Don't include "openat.h". not used. --- daemon/realpath.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff
2012 Sep 17
1
[PATCH libguestfs] maint: remove a subsumed syntax-check rule
Hi Rich, I noticed that libguestfs's cfg.mk had an old (and relatively inefficient) version of the rule that checks for empty lines at EOF. The one in maint.mk is much more efficient: >From cf93f04a980ec01ef37db9a0d4c7b99015169eee Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering at redhat.com> Date: Mon, 17 Sep 2012 11:49:34 +0200 Subject: [PATCH libguestfs] maint: remove a
2013 Dec 08
0
[LLVMdev] Win32: Crash in DLL created by llvm that calls into the "putchar" function
Hello list, I got a simple test case to reproduce a crash in code that has been generated by llvm. The code calls into the "putchar" function from LIBCMT.LIB. It works when creating an .exe file, but not when creating a .dll file and calling into an exported function. First, let me show how the code works as an .exe: > cat callPutchar.ll ; ModuleID = 'test' declare i32
2011 Jun 28
13
[PATCH hivex 02/14] maint: remove unnecessary test-before-free
From: Jim Meyering <meyering at redhat.com> * lib/hivex.c (hivex_node_set_value): Remove unnecessary test-before-free. --- lib/hivex.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/lib/hivex.c b/lib/hivex.c index d042f4f..a72fa77 100644 --- a/lib/hivex.c +++ b/lib/hivex.c @@ -2748,8 +2748,7 @@ hivex_node_set_value (hive_h *h, hive_node_h node, leave_partial:
2012 Apr 18
2
[PATCH libguestfs] maint: fix doc typos
Hi Rich, I ran this command to spot a few typos: git ls-files|misspellings -f -|grep -v '^po' Here are fixes: >From ec62fad96cc2884c8fd43ecb550a8bcac317cca0 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering at redhat.com> Date: Wed, 18 Apr 2012 11:15:57 +0200 Subject: [PATCH libguestfs] maint: fix doc typos Fix typos spotted by http://github.com/lyda/misspell-check. *
2011 May 13
3
[LLVMdev] IO intrinsics?
I found these lines in the BrainF example: //declare i32 @getchar() getchar_func = cast<Function>(module-> getOrInsertFunction("getchar", IntegerType::getInt32Ty(C), NULL)); //declare i32 @putchar(i32) putchar_func = cast<Function>(module-> getOrInsertFunction("putchar", IntegerType::getInt32Ty(C),
2011 May 13
1
[LLVMdev] IO intrinsics?
On 05/12/2011 11:08 PM, 陳韋任 wrote: > Hi, Hans > >> Since getchar and putchar are never defined, I'm assuming they are >> intrinsics, but they are not documented with the rest of the intrinsics. So >> are they intrinsics or something else? > > I _guess_ standard functions like getchar/putchar are linked by > default. Indeed, they're coming from libc. The
2012 Aug 28
1
[PATCH hivex] maint: remove unnecessary mkdir -p
Does hivex have a trivial-patch policy? >From e23c45a2f813ac29b022faa9112c1977b651862f Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering at redhat.com> Date: Tue, 28 Aug 2012 17:34:26 +0200 Subject: [PATCH hivex] maint: remove unnecessary mkdir -p * ocaml/Makefile.am (install-data-hook): Remove unneeded mkdir -p. It's job is handled by the very next mkdir -p. ---
2012 Aug 28
1
[PATCH hivex 1/2] maint: avoid some syntax-check test failures
Hi Rich, I've updated hivex to use the latest from gnulib and fixed a few syntax-check failures. With these changes, almost all of "make distcheck" succeeds. (details coming separately) >From c6300c44a1eda1a55a23249fde94882ea5a1c430 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering at redhat.com> Date: Tue, 28 Aug 2012 11:28:40 +0200 Subject: [PATCH hivex 1/2] maint:
2010 Oct 24
2
[LLVMdev] lli : external functions and target datalayout
Hi All, I have a C code: ////////////////////////////// #include "stdio.h" int main () { putchar('a'); return 0; } llvm-gcc -emit-llvm, I got //////////////////////////////////////// ; ModuleID = 't1.bc' target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32" target triple
2008 May 27
2
[PATCH] Fixes bug which strips every other digit in klibc-utils dmesg output
There is a bug in the way which klibc/usr/utils/dmesg.c tries to strip the initial <[0-7]> from kernel messages. The bug causes every other numerical digit to be stripped from the output. Fixed. A bug report with lots of details has been filed for Debian and Ubuntu: * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483186 * https://bugs.launchpad.net/ubuntu/+source/klibc/+bug/235282
2016 Apr 04
2
[PATCH 1/2] Use 'error' function consistently throughout.
Wherever we had code which did: if (something_bad) { perror (...); exit (EXIT_FAILURE); } replace this with use of the error(3) function: if (something_bad) error (EXIT_FAILURE, errno, ...); The error(3) function is supplied by glibc, or by gnulib on platforms which don't have it, and is much more flexible than perror(3). Since we already use error(3), there seems to be
2009 Sep 09
2
[PATCH] Add command trace functionality
-- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v -------------- next part -------------- >From 759de3f6289967a3c9978b4e947a38a4585f404c Mon Sep 17 00:00:00 2001 From: Richard Jones
2007 Apr 18
0
[Bridge] BCP code ported to pppd 2.4.2
Hello, i have ported the BCP (Bride Control Protocol) patch for pppd 2.4.1 mentioned in http://lists.osdl.org/pipermail/bridge/2004-September/000619.html to pppd 2.4.2. The kernel patch still works without problems with kernel 2.4.30. Perhaps someone else could use this patch ... Here again some documentation i have found about the BCP patch somewere else: When pppd negotiates BCP, it tells