add open_read_close() and similar stuff

This commit is contained in:
Denis Vlasenko
2006-10-14 02:23:43 +00:00
parent 88ca067690
commit ea62077b85
38 changed files with 228 additions and 234 deletions

View File

@ -171,7 +171,7 @@ int crontab_main(int ac, char **av)
}
EditFile(caller, tmp);
remove(tmp);
lseek(fd, 0L, 0);
lseek(fd, 0L, SEEK_SET);
repFd = fd;
}
option = REPLACE;