Re: [PATCH] s390dbf: Use correct file descriptor for command output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- "Michael Holzheu" <holzheu@xxxxxxxxxxxxxxxxxx> wrote:

> Hi Dave,
> 
> Currently for the s390dbf command we use stdout as file descriptor.  This
> has the drawback that it is not possible to grep through the output of
> the command.
> 
> To solve the problem with this patch we use "fp" instead of "stdout".

Queued for the next release.

Thanks,
  Dave


> 
> Michael
> 
> PS: I am no longer able to download the crash tarball from your web site:
> http://people.redhat.com/anderson/crash-5.0.4.tar.gz
> ---
>  s390dbf.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- a/s390dbf.c
> +++ b/s390dbf.c
> @@ -1325,7 +1325,7 @@ void cmd_s390dbf()
>  	int i,c;
>  
>  	command_t cmd = {
> -		.ofp = stdout,
> +		.ofp = fp,
>  		.efp = stderr,
>  		.cmdstr = "s390dbf",
>  		.command = "s390dbf",
> 
> 

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility


[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux