sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit 549df52aa59b77c73ba0495217a8045d57d5b098
parent 306e202a385d6916c5db67bb781d37e5f190822e
Author: Quentin Rameau <quinq@fifth.space>
Date:   Tue Dec 15 15:13:21 +0100

ed: fix cmd e/E

Ensure we have a filename before taking further action.

Diffstat:
ed.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ed.c b/ed.c @@ -1191,8 +1191,8 @@ repeat: goto unexpected; if (modflag) goto modified; - setscratch(); strcpy(savfname, getfname()); + setscratch(); deflines(curln, curln); doread(savfname); clearundo();