bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] The same bug on different place


From: Petr Písař
Subject: [PATCH] The same bug on different place
Date: Thu, 28 Apr 2011 18:35:27 +0200

---
 man/texinfo2man.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/man/texinfo2man.c b/man/texinfo2man.c
index 792210e..2ae7af7 100644
--- a/man/texinfo2man.c
+++ b/man/texinfo2man.c
@@ -550,6 +550,9 @@ int main(
                            {
                               in_table = 1;
                               q = strchr (q, '\n');
+                              if (!q) {
+                                break;
+                              }
                               ++line_no;
                               continue;
                            }
-- 
1.7.4.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]