[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to gnats/gnats/pr.c
From: |
Yngve Svendsen |
Subject: |
Changes to gnats/gnats/pr.c |
Date: |
Mon, 25 Nov 2002 08:58:42 -0500 |
Index: gnats/gnats/pr.c
diff -c gnats/gnats/pr.c:1.63 gnats/gnats/pr.c:1.64
*** gnats/gnats/pr.c:1.63 Sun Oct 28 16:33:11 2001
--- gnats/gnats/pr.c Mon Nov 25 08:58:33 2002
***************
*** 267,273 ****
char *res = *linePtr;
/* Grab the first word ending in space or : */
! while (line < lineEnd && (! isspace ((int) *line)) && *line != ':')
{
line++;
}
--- 267,273 ----
char *res = *linePtr;
/* Grab the first word ending in space or : */
! while (line < lineEnd && (! isspace ((int)(unsigned char) *line)) && *line
!= ':')
{
line++;
}
***************
*** 280,286 ****
*headerLen = line - res;
! while (line < lineEnd && isspace ((int) *line))
{
line++;
}
--- 280,286 ----
*headerLen = line - res;
! while (line < lineEnd && isspace ((int)(unsigned char) *line))
{
line++;
}
***************
*** 383,389 ****
/* Skip leading spaces; I don't think this is really needed
anyway, since we've already done it in getFieldHeader (). */
! while (linelen > 0 && isspace ((int) *line))
{
line++;
linelen--;
--- 383,389 ----
/* Skip leading spaces; I don't think this is really needed
anyway, since we've already done it in getFieldHeader (). */
! while (linelen > 0 && isspace ((int)(unsigned char) *line))
{
line++;
linelen--;
***************
*** 391,397 ****
/* Fields that aren't MultiText shouldn't have spaces
at the end. */
! while (linelen > 0 && isspace ((int) line[linelen - 1]))
{
linelen--;
}
--- 391,397 ----
/* Fields that aren't MultiText shouldn't have spaces
at the end. */
! while (linelen > 0 && isspace ((int)(unsigned char) line[linelen -
1]))
{
linelen--;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Changes to gnats/gnats/pr.c,
Yngve Svendsen <=