aboutsummaryrefslogtreecommitdiffhomepage
path: root/fishd.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-01-26 19:57:06 +1000
committerGravatar axel <axel@liljencrantz.se>2006-01-26 19:57:06 +1000
commit5054492c6aba3b73f147921c3a328702ec6ba07e (patch)
treeda0c7b94b943851523a56f0cc83fda007d7f212c /fishd.c
parent58931548234dd2ce2ff591a1390a22411b35ac97 (diff)
Fixes to make fish work on Cygwin. Firstly a bunch of minor fixes fo the wcs* fallback functions, secondly MSG_DONTWAIT (a socket flag) is set to zero if it isn't already defined
darcs-hash:20060126095706-ac50b-766c1e2c0408dc51fc7379af38005352f7603b1e.gz
Diffstat (limited to 'fishd.c')
-rw-r--r--fishd.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/fishd.c b/fishd.c
index ae4f74b3..7afc1187 100644
--- a/fishd.c
+++ b/fishd.c
@@ -74,6 +74,15 @@ time the original barrier request was sent have been received.
#endif
/**
+ Fallback if MSG_DONTWAIT isn't defined. That's actually prerry bad,
+ and may lead to strange fishd behaviour, but at least it should
+ work most of the time.
+*/
+#ifndef MSG_DONTWAIT
+#define MSG_DONTWAIT 0
+#endif
+
+/**
Small greeting to show that fishd is running
*/
#define GREETING "#Fish universal variable daemon\n"