version 1.17, 2017/11/27 23:39:03 |
version 1.18, 2019/09/03 23:08:42 |
|
|
static struct linenum_info *spare; /* We always keep one spare entry */ |
static struct linenum_info *spare; /* We always keep one spare entry */ |
|
|
extern int linenums; |
extern int linenums; |
extern volatile sig_atomic_t sigs; |
|
extern int sc_height; |
extern int sc_height; |
extern int screen_trashed; |
extern int screen_trashed; |
|
|
|
|
* Allow a signal to abort this loop. |
* Allow a signal to abort this loop. |
*/ |
*/ |
cpos = forw_raw_line(cpos, NULL, NULL); |
cpos = forw_raw_line(cpos, NULL, NULL); |
if (ABORT_SIGS()) { |
if (abort_sigs()) { |
abort_long(); |
abort_long(); |
return (0); |
return (0); |
} |
} |
|
|
* Allow a signal to abort this loop. |
* Allow a signal to abort this loop. |
*/ |
*/ |
cpos = back_raw_line(cpos, NULL, NULL); |
cpos = back_raw_line(cpos, NULL, NULL); |
if (ABORT_SIGS()) { |
if (abort_sigs()) { |
abort_long(); |
abort_long(); |
return (0); |
return (0); |
} |
} |
|
|
* Allow a signal to abort this loop. |
* Allow a signal to abort this loop. |
*/ |
*/ |
cpos = forw_raw_line(cpos, NULL, NULL); |
cpos = forw_raw_line(cpos, NULL, NULL); |
if (ABORT_SIGS()) |
if (abort_sigs()) |
return (-1); |
return (-1); |
if (cpos == -1) |
if (cpos == -1) |
return (-1); |
return (-1); |
|
|
* Allow a signal to abort this loop. |
* Allow a signal to abort this loop. |
*/ |
*/ |
cpos = back_raw_line(cpos, (char **)NULL, (int *)NULL); |
cpos = back_raw_line(cpos, (char **)NULL, (int *)NULL); |
if (ABORT_SIGS()) |
if (abort_sigs()) |
return (-1); |
return (-1); |
if (cpos == -1) |
if (cpos == -1) |
return (-1); |
return (-1); |