Copy stable/10@r272459 to releng/10.1 as part ofthe 10.1-RELEASE process.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
Do not use __progname directly (except in [gs]etprogname(3)).Also, make an internal _getprogname() that is used only insidelibc. For libc, getprogname(3) is a weak symbol in case afunction of the same name is defined in userland.
Fix SCM ID's.
Fixed warnings.
Introduce getprogname(3) and setprogname(3) library calls. These getand set __progname, respectively.Discussed on: -arch (Feb 2001), -auditReviewed by: -auditApproved by: krisObtained from: (mostly) NetBSD