Mario Sergio Fujikawa Ferreira fc12c41ca3 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@gmx.net>,
		Martin Horcicka <horcicka@FreeBSD.cz>
Approved by:	re (scottl)
MFC after:	1 week
2003-05-26 17:12:22 +00:00
..
2003-04-04 17:49:21 +00:00
2003-05-22 11:52:23 +00:00
2002-12-27 12:15:40 +00:00
2002-10-10 00:32:55 +00:00
2003-05-02 14:55:42 +00:00
2002-07-14 14:47:15 +00:00
2003-05-22 11:52:23 +00:00
2003-05-22 11:56:41 +00:00
2003-04-04 17:49:21 +00:00
2003-04-04 17:49:21 +00:00
2002-07-14 14:47:15 +00:00
2003-02-24 22:53:26 +00:00
2002-04-20 12:27:18 +00:00
2002-04-20 12:27:18 +00:00
2003-05-22 11:54:53 +00:00
2003-02-24 22:53:26 +00:00
2002-12-27 12:15:40 +00:00
2003-04-28 11:54:01 +00:00
2003-04-04 17:49:21 +00:00
2003-04-04 17:49:21 +00:00
2003-04-04 17:49:21 +00:00
2002-07-14 14:47:15 +00:00
2002-07-14 14:47:15 +00:00
2002-11-27 15:31:08 +00:00
2003-05-22 11:52:23 +00:00
2002-07-14 14:47:15 +00:00
2003-04-04 17:49:21 +00:00
2003-04-25 22:31:06 +00:00
2002-07-14 14:47:15 +00:00
2003-04-04 17:49:21 +00:00
2003-04-04 17:49:21 +00:00
2002-12-14 00:20:43 +00:00
2002-07-14 14:47:15 +00:00
2002-07-06 19:34:18 +00:00
2003-04-04 17:49:21 +00:00
2003-04-04 17:49:21 +00:00
2003-04-04 17:49:21 +00:00
2003-04-29 19:53:00 +00:00
2002-07-14 14:47:15 +00:00
2003-04-04 17:49:21 +00:00
2003-04-04 17:49:21 +00:00
2003-05-19 15:52:01 +00:00
2003-05-08 00:28:36 +00:00
2002-07-14 14:47:15 +00:00
2003-04-04 17:49:21 +00:00
2003-04-04 17:49:21 +00:00
2002-12-27 12:15:40 +00:00
2002-04-20 12:27:18 +00:00
2003-04-04 17:49:21 +00:00
2003-04-04 17:49:21 +00:00
2003-04-04 17:49:21 +00:00
2003-04-16 09:53:29 +00:00
2003-02-24 22:53:26 +00:00
2002-07-14 14:47:15 +00:00
2002-07-14 14:47:15 +00:00
2003-05-19 15:52:01 +00:00
2002-07-28 02:27:07 +00:00
2003-04-04 17:49:21 +00:00
2003-04-04 17:49:21 +00:00
2003-05-04 22:13:00 +00:00
2002-07-14 14:47:15 +00:00
2003-03-02 21:04:21 +00:00
2003-05-22 11:52:23 +00:00
2002-07-14 14:47:15 +00:00
2003-04-04 17:49:21 +00:00