|
@@ -1,7 +1,5 @@
|
1
|
|
-Index: LVM2.2.02.120/lib/commands/toolcontext.c
|
2
|
|
-===================================================================
|
3
|
|
---- LVM2.2.02.120.orig/lib/commands/toolcontext.c
|
4
|
|
-+++ LVM2.2.02.120/lib/commands/toolcontext.c
|
|
1
|
+--- a/lib/commands/toolcontext.c
|
|
2
|
++++ b/lib/commands/toolcontext.c
|
5
|
3
|
@@ -1637,8 +1637,10 @@ struct cmd_context *create_toolcontext(u
|
6
|
4
|
unsigned threaded)
|
7
|
5
|
{
|
|
@@ -31,10 +29,8 @@ Index: LVM2.2.02.120/lib/commands/toolcontext.c
|
31
|
29
|
if (cmd->linebuffer) {
|
32
|
30
|
/* Reset stream buffering to defaults */
|
33
|
31
|
if (is_valid_fd(STDIN_FILENO) &&
|
34
|
|
-Index: LVM2.2.02.120/tools/lvmcmdline.c
|
35
|
|
-===================================================================
|
36
|
|
---- LVM2.2.02.120.orig/tools/lvmcmdline.c
|
37
|
|
-+++ LVM2.2.02.120/tools/lvmcmdline.c
|
|
32
|
+--- a/tools/lvmcmdline.c
|
|
33
|
++++ b/tools/lvmcmdline.c
|
38
|
34
|
@@ -1606,6 +1606,7 @@ int lvm_split(char *str, int *argc, char
|
39
|
35
|
/* Make sure we have always valid filedescriptors 0,1,2 */
|
40
|
36
|
static int _check_standard_fds(void)
|