Correct close statement.
authorAndreas Jaeger <aj@suse.de>
Fri, 18 May 2001 13:01:32 +0000 (13:01 +0000)
committerAndreas Jaeger <aj@suse.de>
Fri, 18 May 2001 13:01:32 +0000 (13:01 +0000)
manual/texis.awk

index a2a8dbf..1537247 100644 (file)
@@ -8,13 +8,13 @@ BEGIN {
        {
            while ((getline < input[s]) > 0)
            {
-               if ($1 == "@include") 
+               if ($1 == "@include")
                {
                    input[++s] = $2;
                    print $2, "\\";
                }
            }
-           close(input[stackptr]);
+           close(input[s]);
        }
     }
     print "";