Attached is a patch for
packages/net/athttpd/current/include/http.h
The size of the sockets array is using the wrong definition.
Rick
### Eclipse Workspace Patch 1.0
#P eCosLatest
Index: packages/net/athttpd/current/include/http.h
===================================================================
RCS file: /cvs/ecos/ecos-opt/net/net/athttpd/current/include/http.h,v
retrieving revision 1.2
diff -u -r1.2 http.h
--- packages/net/athttpd/current/include/http.h 27 Nov 2006 15:41:56 -0000
1.2
+++ packages/net/athttpd/current/include/http.h 26 Oct 2007 19:49:28 -0000
@@ -154,7 +154,7 @@
cyg_int32 payload_len;
char outbuffer[CYG_HTTPD_MAXOUTBUFFER+1];
- socket_entry sockets[CYGNUM_FILEIO_NFILE];
+ socket_entry sockets[CYGPKG_NET_MAXSOCKETS];
cyg_int32 fdmax;
// Socket handle.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss