version 1.15, 2007/08/31 23:14:21 |
version 1.16, 2007/09/10 14:29:53 |
|
|
(void)ignoresig(SIGINT, &oact, &oset); |
(void)ignoresig(SIGINT, &oact, &oset); |
fp = run_editor(setinput(mp), (off_t)mp->m_size, type, readonly); |
fp = run_editor(setinput(mp), (off_t)mp->m_size, type, readonly); |
if (fp != NULL) { |
if (fp != NULL) { |
(void)fseek(otf, 0L, 2); |
(void)fseek(otf, 0L, SEEK_END); |
size = ftell(otf); |
size = ftell(otf); |
mp->m_block = blockof(size); |
mp->m_block = blockof(size); |
mp->m_offset = offsetof(size); |
mp->m_offset = offsetof(size); |