CVSROOT: /cvs Module name: src Changes by: mill...@cvs.openbsd.org 2024/07/16 21:05:19
Modified files: usr.bin/sed : main.c Log message: Display an error message for "sed -i" if the file is unwritable Previously, sed would fail silently if it was unable to move the temporary file into place. Also allow "sed -i" on symbolic link--the link will be broken but this matches GNU sed behavior. From espie@ OK op@