This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Use WSAEWOULDBLOCK in ser_filter tool under Cygwin
- From: John Dallaway <jld at ecoscentric dot com>
- To: ecos-patches at sources dot redhat dot com
- Date: Wed, 30 Apr 2003 15:28:09 +0100
- Subject: Use WSAEWOULDBLOCK in ser_filter tool under Cygwin
- Organization: eCosCentric Limited
Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/host/tools/Utils/ChangeLog,v
retrieving revision 1.11
diff -u -5 -r1.11 ChangeLog
--- ChangeLog 30 Apr 2003 13:01:24 -0000 1.11
+++ ChangeLog 30 Apr 2003 13:57:26 -0000
@@ -1,8 +1,9 @@
2003-04-30 John Dallaway <jld@ecoscentric.com>
* common/eCosStd.h: Update version string to "2.net".
+ Use WSAEWOULDBLOCK under Cygwin.
2003-02-12 Bart Veer <bartv@ecoscentric.com>
* common/configure, common/Makefile.in:
Regenerate after acinclude.m4 update
Index: common/eCosStd.h
===================================================================
RCS file: /cvs/ecos/ecos/host/tools/Utils/common/eCosStd.h,v
retrieving revision 1.6
diff -u -5 -r1.6 eCosStd.h
--- common/eCosStd.h 30 Apr 2003 13:01:24 -0000 1.6
+++ common/eCosStd.h 30 Apr 2003 13:57:26 -0000
@@ -54,11 +54,11 @@
#define cPathsep '/'
#include <malloc.h> // malloc
#include <stdlib.h> // atoi
#include <errno.h>
- #define WOULDBLOCK EWOULDBLOCK
+ #define WOULDBLOCK WSAEWOULDBLOCK
#include "wcharunix.h"
#include <sys/time.h>
#define _stat stat