CVSROOT: /cvs Module name: src Changes by: es...@cvs.openbsd.org 2018/02/27 15:46:53
Modified files: usr.sbin/pkg_add/OpenBSD: Add.pm AddCreateDelete.pm CollisionReport.pm Delete.pm PkgAdd.pm PkgCheck.pm PkgCreate.pm PkgDelete.pm Replace.pm State.pm UpdateSet.pm Log message: sanitize say/print output further - have confirm go thru f() every time (adding confirm_defaults_to_no/confirm_defaults_to_yes apis... verbose but effective) - check DESCR in pkg_create, as suggested by sthen@ - don't do the whole safe dance when not needed (optimization) - misnamed allowed -> forbidden (schwarze@) This effectively prevents DESCR from using diacritics. Sorry! Ingo makes a compelling argument that using UTF8 while installing a new box is currently fairly dangerous, considering tty setups. This affects about 10 ports at the moment, all of which were fixed before this commit.