[Fontconfig] fontconfig cleanup patch

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

 



On Thu, 22 Sep 2005, Patrick Lam wrote:

> I committed everything but the code in fclang.c, because I couldn't
> immediately see that the bound there was correct.

Thanks!
Oh Sorry.  The reason for the change in fclang.c was that I ran
it like this:

[behdad@home fc-lang]$ ./fc-lang --help
--help:0: No such file or directory

so I thought it's supposed to use *argv to print out the program
name, but apparently it really means to write "--help".

Just adjust this which was wrong in my patch:

diff -u -p -r1.11.4.5 fc-lang.c
--- fc-lang/fc-lang.c   22 Sep 2005 23:45:53 -0000      1.11.4.5
+++ fc-lang/fc-lang.c   23 Sep 2005 00:21:58 -0000
@@ -65,7 +65,7 @@ fatal (const char *file, int lineno, con
     if (lineno)
        fprintf (stderr, "%s:%d: %s\n", file, lineno, msg);
     else
-       fprintf (stderr, "%s:%d: %s\n", file, lineno, msg);
+       fprintf (stderr, "%s: %s\n", file, msg);
     exit (1);
 }


> pat

Thanks
--behdad


[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux