git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/4] Force pipes to flush immediately on NonStop platform
@ 2018-01-21 23:41 randall.s.becker
  2018-01-21 23:42 ` [PATCH v4 1/4] Add tar extract install options override in installation processing randall.s.becker
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: randall.s.becker @ 2018-01-21 23:41 UTC (permalink / raw)
  To: git; +Cc: Randall S. Becker

From: "Randall S. Becker" <rsbecker@nexbridge.com>

Call setbuf(stream,NULL) to force pipe flushes not enabled by
default on the NonStop platform in wrapper.c. This may be extended
in future to a configure option.

Signed-off-by: Randall S. Becker <rsbecker@nexbridge.com>
---
 wrapper.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/wrapper.c b/wrapper.c
index d20356a77..5b05a9162 100644
--- a/wrapper.c
+++ b/wrapper.c
@@ -403,6 +403,9 @@ FILE *xfdopen(int fd, const char *mode)
 	FILE *stream = fdopen(fd, mode);
 	if (stream == NULL)
 		die_errno("Out of memory? fdopen failed");
+#ifdef __TANDEM
+	setbuf(stream,NULL);
+#endif
 	return stream;
 }
 
-- 
2.16.0.31.gf1a482c


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

end of thread, other threads:[~2018-01-24 23:39 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-21 23:41 [PATCH v4 0/4] Force pipes to flush immediately on NonStop platform randall.s.becker
2018-01-21 23:42 ` [PATCH v4 1/4] Add tar extract install options override in installation processing randall.s.becker
2018-01-24 20:33   ` Junio C Hamano
2018-01-24 22:01     ` Todd Zullinger
2018-01-24 22:27       ` Randall S. Becker
2018-01-24 23:39     ` Ramsay Jones
2018-01-21 23:42 ` [PATCH v4 2/4] Define config options required for the HPE NonStop NSX and NSE platforms randall.s.becker
2018-01-24 21:19   ` Junio C Hamano
2018-01-24 21:49     ` randall.s.becker
2018-01-21 23:42 ` [PATCH v4 3/4] Bring NonStop platform definitions up to date in git-compat-util.h randall.s.becker
2018-01-24 20:36   ` Junio C Hamano
2018-01-24 20:49     ` Randall S. Becker
2018-01-24 21:17       ` Junio C Hamano
2018-01-24 21:45         ` Junio C Hamano
2018-01-24 21:51         ` Randall S. Becker
2018-01-21 23:42 ` [PATCH v4 4/4] Add intptr_t and uintptr_t to regcomp.c for NonStop platform randall.s.becker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).