On 01/ 3/13 10:56 AM, Egbert Eich wrote:
> The CPP macro may contain a list of preprocessors to chose from.
> In the usage message describing the -cpp command line option print
> the preprocessor that would actually be chosen.
> 
> Signed-off-by: Egbert Eich <[email protected]>
> ---
>  xrdb.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/xrdb.c b/xrdb.c
> index 8513f8a..74ac03b 100644
> --- a/xrdb.c
> +++ b/xrdb.c
> @@ -743,7 +743,7 @@ Syntax (void)
>            " -Dname[=value], -Uname, -Idirectory    passed to preprocessor\n"
>            "\n"
>            "A - or no input filename represents stdin.\n",
> -          ProgramName, CPP, BACKUP_SUFFIX);
> +          ProgramName, cpp_program ? cpp_program : "", BACKUP_SUFFIX);
>      exit (1);
>  }
>  

Reviewed-by: Alan Coopersmith <[email protected]>

-- 
        -Alan Coopersmith-              [email protected]
         Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to