cvs commit: src/usr.sbin/pkg_install/lib str.c
Mario Sergio Fujikawa Ferreira
lioux at FreeBSD.org
Mon Jun 9 10:02:32 PDT 2003
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
More information about the cvs-src
mailing list