mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
ed: no further write error handling necessary
This commit is contained in:
parent
6222762eca
commit
8a46f407ae
1 changed files with 0 additions and 2 deletions
|
@ -372,7 +372,6 @@ commands(void)
|
|||
if((io = create(file, OWRITE, 0666)) < 0)
|
||||
error(file);
|
||||
Binit(&iobuf, io, OWRITE);
|
||||
Blethal(&iobuf, nil);
|
||||
wrapp = 0;
|
||||
if(dol > zero)
|
||||
putfile();
|
||||
|
@ -672,7 +671,6 @@ rescue(void)
|
|||
io = create("ed.hup", OWRITE, 0666);
|
||||
if(io > 0){
|
||||
Binit(&iobuf, io, OWRITE);
|
||||
Blethal(&iobuf, nil);
|
||||
putfile();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue