Subject: pkg/35147: devel/cogito: unportable fmt -s in cg-commit
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: \"\" <anthony.mallet@laas.fr>
List: pkgsrc-bugs
Date: 11/28/2006 11:30:00
>Number:         35147
>Category:       pkg
>Synopsis:       devel/cogito: unportable fmt -s in cg-commit
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 28 11:30:00 +0000 2006
>Originator:     "\"\" <Anthony Mallet" <anthony.mallet@laas.fr>
>Release:        NetBSD 4.99.4 i386
>Organization:
>Environment:


System: NetBSD 4.99.4 (CITRUS) #5: Tue Nov 28 00:12:24 CET 2006
	troot@citrus:/usr/obj/sys/arch/i386/compile/CITRUS



>Description:


another unportable fmt -s in cg-commit fixed in attached patch.
Cheers



>How-To-Repeat:





>Fix:


--- patch-ad begins here ---
$NetBSD$

--- cg-commit~	2006-09-29 13:58:15.000000000 +0200
+++ cg-commit	2006-11-28 11:27:36.000000000 +0100
@@ -382,7 +382,7 @@
 fi
 for msg in "${msgs[@]}"; do
 	[ "$written" ] && echo >>"$LOGMSG"
-	echo "$msg" | fmt -s >>"$LOGMSG"
+	echo "$msg" | fmt >>"$LOGMSG"
 	written=1
 done
 
--- patch-ad ends here ---