On Mon, Nov 29, 2004 at 12:35:53AM +0100, Gerrit P. Haase wrote: >Jim McCarthy wrote: >>Sorry, no patchfile, but ... >> >>1) Edit sedt.c and change all 'stricmp' to 'sedt_stricmp' to avoid >> conflict with 'stricmp' declaration in /usr/include/string.h >> >>2) In comd.c, add #include <errno.h> before line #include "proto.h" >> >>With these changes, build should result in a functional sedt.exe >>file. > >Well, not really, I found two more issues: > >diff -urd sedt/term.c sedt-0.0/term.c >--- sedt/term.c 1994-08-28 20:51:34.000000000 +0200 >+++ sedt-0.0/term.c 2004-11-28 23:17:21.615971200 +0100 >@@ -747,7 +747,7 @@ > } > _exit(1); > } >-#if !defined(SCO) & !defined(HPUX) >+#if !defined(SCO) & !defined(HPUX) & !defined(__CYGWIN__) > if (ioctl(0,TIOCGWINSZ,&ws)!=-1&&ws.ws_row!=0&&ws.ws_col!=0)
Why is this? TIOCGWINSZ is defined for cygwin. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/