From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Wed, 05 Nov 2008 11:14:15 -0600 Subject: [U-Boot] [PATCH] strings: use puts() rather than printf() In-Reply-To: <1225832627-10248-1-git-send-email-vapier@gentoo.org> References: <1225832627-10248-1-git-send-email-vapier@gentoo.org> Message-ID: <4911D467.4020907@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Mike Frysinger wrote: > When running `strings` on really long strings, the stack tends to get > smashed due to printf(). Switch to puts() instead since we're only passing > the data through. ...which raises the question of why we don't have vsnprintf(). -Scott