diff options
Diffstat (limited to 'gas/input-file.c')
-rw-r--r-- | gas/input-file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/input-file.c b/gas/input-file.c index aae20a8..088af7d 100644 --- a/gas/input-file.c +++ b/gas/input-file.c @@ -171,7 +171,7 @@ input_file_open (const char *filename, if (c == 'N') { if (fgets (buf, sizeof (buf), f_in) - && !strncmp (buf, "O_APP", 5) && ISSPACE (buf[5])) + && startswith (buf, "O_APP") && ISSPACE (buf[5])) preprocess = 0; if (!strchr (buf, '\n')) ungetc ('#', f_in); /* It was longer. */ @@ -181,7 +181,7 @@ input_file_open (const char *filename, else if (c == 'A') { if (fgets (buf, sizeof (buf), f_in) - && !strncmp (buf, "PP", 2) && ISSPACE (buf[2])) + && startswith (buf, "PP") && ISSPACE (buf[2])) preprocess = 1; if (!strchr (buf, '\n')) ungetc ('#', f_in); |