opensm/main.c: Change size parameter in setvbuf call from 0 to BUFSIZ
PATCH 1/1 opensm/main.c: Change size parameter in setvbuf call from 0 to BUFSIZ
to eliminate Win8 assert as this is shared code
--- opensm/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
opensm/main.c +1 -1
@@ -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) */
Signature · 6 lines
1.7.6.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 4E9C6711.3020704-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org
Hi Hal,
Quoted 5 lines · Hal Rosenstock
to eliminate Win8 assert as this is shared code
---
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html