[hackers] [scc] [cc1] Fix commit 04b94d8 || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Mon, 16 Jan 2017 17:06:14 +0100 (CET)

commit 0c7104c6a979801a9ad3c164dce3812974dc1601
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Mon Jan 16 17:02:37 2017 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Mon Jan 16 17:02:37 2017 +0100

    [cc1] Fix commit 04b94d8
    
    The condition to have on EOF is to have an input which
    reads of a file.

diff --git a/cc1/lex.c b/cc1/lex.c
index 9b8e7ea..6fb6df1 100644
--- a/cc1/lex.c
+++ b/cc1/lex.c
_AT_@ -653,7 +653,7 @@ repeat:
                  * we don't have more inputs, or when the next
                  * next input is from a file
                  */
- if (!input || !input->next || !input->next->fp)
+ if (!input || !input->next || input->next->fp)
                         return;
         }
         if (!moreinput())
Received on Mon Jan 16 2017 - 17:06:14 CET

This archive was generated by hypermail 2.3.0 : Mon Jan 16 2017 - 17:12:18 CET