Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] progress.c: avoid use of dynamic-sized array

From: Boyd Lynn Gerber <hidden>
Date: 2016-06-15 22:44:42

On Mon, 9 Jun 2008, しらいしななこ wrote:
Quoting Boyd Lynn Gerber [off-list ref]:
quoted
Dynamically sized arrays are gcc and C99 construct.  Using them hurts
portability to older compilers, although using them is nice in this case
it is not desirable.  This patch removes the only use of the construct
in stop_progress_msg(); the function is about writing out a single line
of a message, and the existing callers of this function feed messages
of only bounded size anyway, so use of dynamic array is simply overkill.

Signed-off-by: Boyd Lynn Gerber <redacted>
I may be mistaken but isn't this Junio's patch?  If so (quoting
from SubmittingPatches document):

  If you are forwarding a patch from somebody else, optionally, at
  the beginning of the e-mail message just before the commit
  message starts, you can put a "From: " line to name that person.
It is his from my orignal modifications.  I thought he suggested I make 
the changes and resubmit it as a seperate patch.  Thanks for the 
clarifications.

--
Boyd Gerber [off-list ref]
ZENEZ	1042 East Fort Union #135, Midvale Utah  84047
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help