cvs commit: src/usr.sbin/pkg_install/lib lib.h str.c
Mario Sergio Fujikawa Ferreira
lioux at FreeBSD.org
Mon May 26 10:12:24 PDT 2003
lioux 2003/05/26 10:12:22 PDT
FreeBSD src repository (doc,ports committer)
Modified files:
usr.sbin/pkg_install/lib lib.h str.c
Log:
pkg_create incorrectly does not add trailing '\n' when it receives
either COMMENT or DESCR from the command line. When a port is
installed, one gets both +COMMENT and +DESCR files with a trailing
'\n' character. However, +COMMENT does not contain a trailing '\n'
when it is installed from a package due to this behavior of pkg_create.
Therefore, make sure it behaves exactly the same regardless of
where got its information; either command line or files. The modified
functions are used by pkg_create.
PR: 52097
Reviewed by: bento, kris,
portmgr, re,
Michael Nottebrock <michaelnottebrock at gmx.net>,
Martin Horcicka <horcicka at FreeBSD.cz>
Approved by: re (scottl)
MFC after: 1 week
Revision Changes Path
1.49 +1 -0 src/usr.sbin/pkg_install/lib/lib.h
1.15 +22 -1 src/usr.sbin/pkg_install/lib/str.c
More information about the cvs-src
mailing list