gnats-diffs
[Top][All Lists]
Advanced

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

Changes to gnats/gnats/misc.c


From: Yngve Svendsen
Subject: Changes to gnats/gnats/misc.c
Date: Mon, 25 Nov 2002 08:58:42 -0500

Index: gnats/gnats/misc.c
diff -c gnats/gnats/misc.c:1.37 gnats/gnats/misc.c:1.38
*** gnats/gnats/misc.c:1.37     Mon Oct 14 18:50:11 2002
--- gnats/gnats/misc.c  Mon Nov 25 08:58:33 2002
***************
*** 272,278 ****
    next_token = end_line;
  
    /* skip whitespace at the end of the token */
!   while (end_line > line && isspace ((int) end_line[-1]))
      {
        end_line--;
      }
--- 272,278 ----
    next_token = end_line;
  
    /* skip whitespace at the end of the token */
!   while (end_line > line && isspace ((int)(unsigned char) end_line[-1]))
      {
        end_line--;
      }
***************
*** 647,653 ****
    {
      unsigned int i;
      for (i = 0; i < strlen (string); i++)
!       if (! isspace ((int)(string[i])))
        return FALSE;
      return TRUE;
    }
--- 647,653 ----
    {
      unsigned int i;
      for (i = 0; i < strlen (string); i++)
!       if (! isspace ((int)(unsigned char)(string[i])))
        return FALSE;
      return TRUE;
    }




reply via email to

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