Date: Mon, 9 Jun 2003 10:02:31 -0700 (PDT) From: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pkg_install/lib str.c Message-ID: <200306091702.h59H2VDc093917@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
lioux 2003/06/09 10:02:31 PDT
FreeBSD src repository (doc,ports committer)
Modified files: (Branch: RELENG_4)
usr.sbin/pkg_install/lib str.c
Log:
MFC: rev 1.15
"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 it got its information; either command line or files. The
modified functions are used by pkg_create."
PR: 52097
Revision Changes Path
1.6.2.6 +22 -1 src/usr.sbin/pkg_install/lib/str.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306091702.h59H2VDc093917>
