File 47d6d185-virfile-fix-indent.patch of Package libvirt
xxxxxxxxxx
1
commit 47d6d1855c1cd84e8cee451125f7e89306d4f885
2
Author: Peter Krempa <pkrempa@redhat.com>
3
Date: Mon Mar 28 13:13:20 2022 +0200
4
5
util: virfile: Fix indentation of preprocessor directives
6
7
stderr:
8
cppi: /home/pipo/libvirt/src/util/virfile.c: line 205: not properly indented
9
cppi: /home/pipo/libvirt/src/util/virfile.c: line 243: not properly indented
10
cppi: /home/pipo/libvirt/src/util/virfile.c: line 249: not properly indented
11
build-aux/syntax-check.mk: incorrect preprocessor indentation
12
make: *** [/home/pipo/libvirt/build-aux/syntax-check.mk:565: sc_preprocessor_indentation] Error 1
13
14
Fixes: c61d1e9ba0a0bec18fdb0bdd485060dc27a4e5cc
15
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
16
17
Index: libvirt-7.1.0/src/util/virfile.c
18
===================================================================
19
--- libvirt-7.1.0.orig/src/util/virfile.c
20
+++ libvirt-7.1.0/src/util/virfile.c
21
22
23
#ifndef WIN32
24
25
-#ifdef __linux__
26
+# ifdef __linux__
27
28
/**
29
* virFileWrapperSetPipeSize:
30
31
g_strerror(errno));
32
}
33
34
-#else /* !__linux__ */
35
+# else /* !__linux__ */
36
static void
37
virFileWrapperSetPipeSize(int fd G_GNUC_UNUSED)
38
{
39
return;
40
}
41
-#endif /* !__linux__ */
42
+# endif /* !__linux__ */
43
44
45
/**
46