public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] opensm/main.c: Change size parameter in setvbuf call from 0 to BUFSIZ
@ 2011-10-17 17:34 Hal Rosenstock
       [not found] ` <4E9C6711.3020704-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Hal Rosenstock @ 2011-10-17 17:34 UTC (permalink / raw)
  To: Alex Netes
  Cc: Stan Smith, Leonid Keller,
	linux-rdma (linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org)


to eliminate Win8 assert as this is shared code

Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
 opensm/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opensm/main.c b/opensm/main.c
index 51c8291..f7a6d83 100644
--- a/opensm/main.c
+++ b/opensm/main.c
@@ -645,7 +645,7 @@ int main(int argc, char *argv[])
 	};
 
 	/* force stdout to be line-buffered */
-	setvbuf(stdout, NULL, _IOLBF, 0);
+	setvbuf(stdout, NULL, _IOLBF, BUFSIZ);
 
 	/* Make sure that the opensm and complib were compiled using
 	   same modes (debug/free) */
-- 
1.7.6.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] opensm/main.c: Change size parameter in setvbuf call from 0 to BUFSIZ
       [not found] ` <4E9C6711.3020704-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
@ 2011-11-02 13:57   ` Alex Netes
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Netes @ 2011-11-02 13:57 UTC (permalink / raw)
  To: Hal Rosenstock
  Cc: Stan Smith, Leonid Keller,
	linux-rdma (linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org)

Hi Hal,

On 13:34 Mon 17 Oct     , Hal Rosenstock wrote:
> 
> to eliminate Win8 assert as this is shared code
> 
> Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> ---

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-02 13:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-17 17:34 [PATCH] opensm/main.c: Change size parameter in setvbuf call from 0 to BUFSIZ Hal Rosenstock
     [not found] ` <4E9C6711.3020704-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2011-11-02 13:57   ` Alex Netes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox