[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r19817 - gnunet/src/fs
From: |
gnunet |
Subject: |
[GNUnet-SVN] r19817 - gnunet/src/fs |
Date: |
Thu, 16 Feb 2012 13:58:11 +0100 |
Author: grothoff
Date: 2012-02-16 13:58:11 +0100 (Thu, 16 Feb 2012)
New Revision: 19817
Modified:
gnunet/src/fs/gnunet-helper-fs-publish.c
Log:
LRN: Use binary mode on W32 (lol -CG)
Modified: gnunet/src/fs/gnunet-helper-fs-publish.c
===================================================================
--- gnunet/src/fs/gnunet-helper-fs-publish.c 2012-02-16 12:29:06 UTC (rev
19816)
+++ gnunet/src/fs/gnunet-helper-fs-publish.c 2012-02-16 12:58:11 UTC (rev
19817)
@@ -401,6 +401,13 @@
const char *ex;
struct ScanTreeNode *root;
+#if WINDOWS
+ /* We're using stdout to communicate binary data back to the parent; use
+ * binary mode.
+ */
+ _setmode (1, _O_BINARY);
+#endif
+
/* parse command line */
if ( (argc != 3) && (argc != 2) )
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r19817 - gnunet/src/fs,
gnunet <=