m4-commit
[Top][All Lists]
Advanced

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

Changes to m4/src/Attic/format.c,v [branch-1_4]


From: Eric Blake
Subject: Changes to m4/src/Attic/format.c,v [branch-1_4]
Date: Thu, 15 Jun 2006 21:51:38 +0000

CVSROOT:        /sources/m4
Module name:    m4
Branch:         branch-1_4
Changes by:     Eric Blake <ericb>      06/06/15 21:51:37

Index: src/format.c
===================================================================
RCS file: /sources/m4/m4/src/Attic/format.c,v
retrieving revision 1.1.1.1.2.1
retrieving revision 1.1.1.1.2.2
diff -u -b -r1.1.1.1.2.1 -r1.1.1.1.2.2
--- src/format.c        1 May 2005 11:54:12 -0000       1.1.1.1.2.1
+++ src/format.c        15 Jun 2006 21:51:37 -0000      1.1.1.1.2.2
@@ -1,6 +1,6 @@
 /* GNU m4 -- A simple macro processor
 
-   Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994
+   Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 2006
    Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
@@ -225,14 +225,14 @@
          width = ARG_INT (argc, argv);
          fmt++;
        }
-      else if (isdigit (*fmt))
+      else if (isdigit (to_uchar (*fmt)))
        {
          width = 0;
          do
            {
              width = width * 10 + *fmt++ - '0';
            }
-         while (isdigit (*fmt));
+         while (isdigit (to_uchar (*fmt)));
        }
 
       /* Maximum precision.  */
@@ -244,14 +244,14 @@
              prec = ARG_INT (argc, argv);
              ++fmt;
            }
-         else if (isdigit (*fmt))
+         else if (isdigit (to_uchar (*fmt)))
            {
              prec = 0;
              do
                {
                  prec = prec * 10 + *fmt++ - '0';
                }
-             while (isdigit (*fmt))
+             while (isdigit (to_uchar (*fmt)))
                ;
            }
        }
@@ -582,13 +582,13 @@
          width = ARG_INT (argc, argv);
          fmt++;
        }
-      else if (isdigit (*fmt))
+      else if (isdigit (to_uchar (*fmt)))
        {
          do
            {
              fmt++;
            }
-         while (isdigit (*fmt));
+         while (isdigit (to_uchar (*fmt)));
        }
 
       /* Maximum precision.  */
@@ -600,13 +600,13 @@
              prec = ARG_INT (argc, argv);
              ++fmt;
            }
-         else if (isdigit (*fmt))
+         else if (isdigit (to_uchar (*fmt)))
            {
              do
                {
                  fmt++;
                }
-             while (isdigit (*fmt));
+             while (isdigit (to_uchar (*fmt)));
            }
        }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]