OSDN Git Service

* Fixed guess next line when multiple file input. [Nkf-dev 46]
authorNARUSE, Yui <naruse@users.sourceforge.jp>
Tue, 2 Oct 2007 17:37:46 +0000 (17:37 +0000)
committerNARUSE, Yui <naruse@users.sourceforge.jp>
Tue, 2 Oct 2007 17:37:46 +0000 (17:37 +0000)
Makefile
nkf.c

index 634cec0..b74999d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-CC = cc
-CFLAGS = -O
+CC = pcc
+CFLAGS = -O --stats 
 # CFLAGS = -O3
 SHAR = shar 
 # SHAR = shar -T
diff --git a/nkf.c b/nkf.c
index 47033e0..cd91ed3 100644 (file)
--- a/nkf.c
+++ b/nkf.c
@@ -30,7 +30,7 @@
  * \e$B8=:_!"\e(Bnkf \e$B$O\e(B SorceForge \e$B$K$F%a%s%F%J%s%9$,B3$1$i$l$F$$$^$9!#\e(B
  * http://sourceforge.jp/projects/nkf/
 ***********************************************************************/
-/* $Id: nkf.c,v 1.139 2007/10/01 21:52:14 naruse Exp $ */
+/* $Id: nkf.c,v 1.140 2007/10/02 08:37:46 naruse Exp $ */
 #define NKF_VERSION "2.0.8"
 #define NKF_RELEASE_DATE "2007-10-02"
 #define COPY_RIGHT \
@@ -798,6 +798,7 @@ int main(int argc, char **argv)
        int is_argument_error = FALSE;
       while (argc--) {
            input_codename = NULL;
+           input_nextline = NULL;
 #ifdef CHECK_OPTION
            iconv_for_check = 0;
 #endif