From f8980c8d1dd162031290602cb3d494d617ff51ba Mon Sep 17 00:00:00 2001 From: graham.gower@gmail.com Date: Thu, 18 Nov 2010 23:30:47 -0500 Subject: Remove an unnecessary allocation. According to SUS3: If the value of n is zero on a call to snprintf(), nothing shall be written, the number of bytes that would have been written had n been sufficiently large excluding the terminating null shall be returned, and s may be a null pointer. git-svn-id: http://opkg.googlecode.com/svn/trunk@583 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libbb/mode_string.c') -- cgit v0.9.1