Re: [PATCH/RFC] recv_sideband: Band #2 always goes to stderr

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Schindelin
Date: Tuesday, March 10, 2009 - 8:07 am

Hi,

On Tue, 10 Mar 2009, Johannes Sixt wrote:


Didn't that turn out to be a false alarm?


I think, indeed, that you can avoid the memcpy() by using %.*s.  The 
private buffer is only used to make sure that the text is written in one 
go anyway (i.e. that two sidebands messages are not written to the same 
line because they use multiple calls to fprintf()/fwrite() per line), 
right?

Ciao,
Dscho

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] winansi: support ESC [ K (erase in line), Johannes Schindelin, (Mon Mar 9, 5:41 pm)
Re: [PATCH] winansi: support ESC [ K (erase in line), Johannes Sixt, (Tue Mar 10, 12:15 am)
[PATCH/RFC] recv_sideband: Band #2 always goes to stderr, Johannes Sixt, (Tue Mar 10, 12:30 am)
Re: [PATCH/RFC] recv_sideband: Band #2 always goes to stderr, Johannes Schindelin, (Tue Mar 10, 3:56 am)
Re: [PATCH] winansi: support ESC [ K (erase in line), Johannes Schindelin, (Tue Mar 10, 4:31 am)
Re: [PATCH/RFC] recv_sideband: Band #2 always goes to stderr, Johannes Schindelin, (Tue Mar 10, 4:39 am)
Re: [PATCH] winansi: support ESC [ K (erase in line), Peter Harris, (Tue Mar 10, 5:29 am)
Re: [PATCH/RFC] recv_sideband: Band #2 always goes to stderr, Johannes Schindelin, (Tue Mar 10, 5:52 am)
Re: [PATCH] winansi: support ESC [ K (erase in line), Johannes Schindelin, (Tue Mar 10, 5:54 am)
Re: [PATCH/RFC] recv_sideband: Band #2 always goes to stderr, Shawn O. Pearce, (Tue Mar 10, 7:38 am)
Re: [PATCH/RFC] recv_sideband: Band #2 always goes to stderr, Johannes Schindelin, (Tue Mar 10, 7:46 am)
Re: [PATCH/RFC] recv_sideband: Band #2 always goes to stderr, Shawn O. Pearce, (Tue Mar 10, 7:46 am)
Re: [PATCH/RFC] recv_sideband: Band #2 always goes to stderr, Johannes Schindelin, (Tue Mar 10, 8:07 am)
[PATCH 2/2] winansi: support ESC [ K (erase in line), Johannes Sixt, (Tue Mar 10, 2:58 pm)
Re: [PATCH 2/2] winansi: support ESC [ K (erase in line), Johannes Schindelin, (Wed Mar 11, 3:22 am)