* find.c (search_content): Undo a recent change that caused an
infinite loop.
Этот коммит содержится в:
родитель
857efa25e5
Коммит
c267347457
@ -1,3 +1,8 @@
|
|||||||
|
2001-04-26 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* find.c (search_content): Undo a recent change that caused an
|
||||||
|
infinite loop.
|
||||||
|
|
||||||
2001-04-24 Andrew V. Samoilov <sav@bcs.zp.ua>
|
2001-04-24 Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||||
|
|
||||||
* view.c (get_line_at): previous newline is right condition
|
* view.c (get_line_at): previous newline is right condition
|
||||||
|
@ -468,7 +468,10 @@ search_content (Dlg_head *h, char *directory, char *filename)
|
|||||||
enable_interrupt_key ();
|
enable_interrupt_key ();
|
||||||
got_interrupt ();
|
got_interrupt ();
|
||||||
|
|
||||||
while ((i = read (pipe, &c, 1)) == 0){
|
while (1){
|
||||||
|
i = read (pipe, &c, 1);
|
||||||
|
if (i == 0)
|
||||||
|
break;
|
||||||
|
|
||||||
if (c == '\n'){
|
if (c == '\n'){
|
||||||
p = buffer;
|
p = buffer;
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user