]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix compilation error with picky compilers.
authorBruno Haible <bruno@clisp.org>
Wed, 23 Jun 2004 13:29:26 +0000 (13:29 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:52 +0000 (12:11 +0200)
gettext-tools/src/ChangeLog
gettext-tools/src/x-c.c

index 77bf9025dc5718308a5054e296d3ef7720f51386..28501c9d4b34ec26f32264ef433fc3864bf70a05 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-23  Bruno Haible  <bruno@clisp.org>
+
+       * x-c.c (phase1_getc): Fix phase0_getc invocation.
+       Reported by Matt Dreezer <matthew.dreezer@edl.uk.eds.com>.
+
 2004-05-14  Bruno Haible  <bruno@clisp.org>
 
        * format-java.c (message_format_parse): Fix argument of freesa() calls.
index 93a390f8c7b75c2665d3fea6b03dd0cb9e9f6a72..eaa0a9a4467a0bcb8299139021b2fc9e79688a68 100644 (file)
@@ -1,5 +1,5 @@
 /* xgettext C/C++/ObjectiveC backend.
-   Copyright (C) 1995-1998, 2000-2003 Free Software Foundation, Inc.
+   Copyright (C) 1995-1998, 2000-2004 Free Software Foundation, Inc.
 
    This file was written by Peter Miller <millerp@canb.auug.org.au>
 
@@ -408,7 +408,7 @@ phase1_getc ()
          return '\n';
 
        case '\\':
-         c = phase0_getc (fp);
+         c = phase0_getc ();
          if (c != '\n')
            {
              phase0_ungetc (c);