CVSROOT: /cvs Module name: src Changes by: mill...@cvs.openbsd.org 2022/01/22 16:22:12
Modified files: bin/ed : main.c Log message: Flush all stdio streams before running a shell command. Otherwise, if ed's output is not line buffered (e.g. if it is redirected to a file or pipe) the shell command output may be displayed before data buffered by ed itself is written. >From Soeren Tempel. OK deraadt@