diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-04-19 18:00:49 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-04-19 18:00:49 +0000 |
| commit | d459926593b634265fde3cc3d107ba7d9afc4824 (patch) | |
| tree | 52c1847b456b4775b2fb82b9d577b52c8bd3cf73 /usr.bin | |
| parent | 0a61a2c2ce40f39993e5b11a14daa3e052e65259 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/ctags/print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ctags/print.c b/usr.bin/ctags/print.c index b2c313a556b7..bebdeb1bc90b 100644 --- a/usr.bin/ctags/print.c +++ b/usr.bin/ctags/print.c @@ -59,7 +59,7 @@ getline() saveftell = ftell(inf); (void)fseek(inf, lineftell, L_SET); if (xflag) - for (cp = lbuf; GETC(!=, '\n'); *cp++ = c) + for (cp = lbuf; GETC(!=, EOF) && c != '\n'; *cp++ = c) continue; /* * do all processing here, so we don't step through the |
