Use ISSPACE instead of isspace
This commit is contained in:
parent
700b351bda
commit
685bd86966
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2001-10-11 Nick Clifton <nickc@cambridge.redhat.com>
|
||||||
|
|
||||||
|
* input-file.c: Include safe-ctype.h.
|
||||||
|
(input_file_open): Use ISSPACE instead of isspace.
|
||||||
|
|
||||||
2001-10-10 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
2001-10-10 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
||||||
|
|
||||||
* config/tc-mips.c (mips_cpreturn_offset): New variable.
|
* config/tc-mips.c (mips_cpreturn_offset): New variable.
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "as.h"
|
#include "as.h"
|
||||||
#include "input-file.h"
|
#include "input-file.h"
|
||||||
|
#include "safe-ctype.h"
|
||||||
|
|
||||||
static int input_file_get PARAMS ((char *, int));
|
static int input_file_get PARAMS ((char *, int));
|
||||||
|
|
||||||
|
@ -159,7 +159,7 @@ input_file_open (filename, pre)
|
||||||
if (c == 'N')
|
if (c == 'N')
|
||||||
{
|
{
|
||||||
fgets (buf, 80, f_in);
|
fgets (buf, 80, f_in);
|
||||||
if (!strncmp (buf, "O_APP", 5) && isspace (buf[5]))
|
if (!strncmp (buf, "O_APP", 5) && ISSPACE (buf[5]))
|
||||||
preprocess = 0;
|
preprocess = 0;
|
||||||
if (!strchr (buf, '\n'))
|
if (!strchr (buf, '\n'))
|
||||||
ungetc ('#', f_in); /* It was longer. */
|
ungetc ('#', f_in); /* It was longer. */
|
||||||
|
@ -169,7 +169,7 @@ input_file_open (filename, pre)
|
||||||
else if (c == 'A')
|
else if (c == 'A')
|
||||||
{
|
{
|
||||||
fgets (buf, 80, f_in);
|
fgets (buf, 80, f_in);
|
||||||
if (!strncmp (buf, "PP", 2) && isspace (buf[2]))
|
if (!strncmp (buf, "PP", 2) && ISSPACE (buf[2]))
|
||||||
preprocess = 1;
|
preprocess = 1;
|
||||||
if (!strchr (buf, '\n'))
|
if (!strchr (buf, '\n'))
|
||||||
ungetc ('#', f_in);
|
ungetc ('#', f_in);
|
||||||
|
|
Loading…
Reference in a new issue