Mail Archives: cygwin/2001/11/11/08:26:36
I came a across a couple of glitches when I came to compile inetutils, minor
stuff, but I thought I'd mention them (that's inetutils-1.3.2-15 and
cygwin-1.3.4-4).
rexecd.c includes <windows.h> inside of a function, which doesn't work any
more since windows.h now contains some functions definitions.
And, talks/msgs.c defines `timerclear' which doesn't work since it's now in
the standard headers as a macro.
--- rexecd/rexecd.c.orig Wed Jul 5 12:44:42 2000
+++ rexecd/rexecd.c Wed Nov 7 02:44:36 2001
@@ -78,6 +78,10 @@ static char sccsid[] = "@(#)rexecd.c 8.1
#include <sys/select.h>
#endif
+#ifdef __CYGWIN__
+#include <windows.h>
+#endif
+
/*VARARGS1*/
int error();
@@ -122,7 +126,6 @@ doit(f, fromp)
struct sockaddr_in *fromp;
{
#ifdef __CYGWIN__
-#include <windows.h>
HANDLE hToken;
#endif
char *cmdbuf, *cp, *namep;
--- talk/msgs.c.orig Wed Nov 7 11:47:40 2001
+++ talk/msgs.c Wed Nov 7 11:53:08 2001
@@ -91,12 +91,3 @@ end_msgs()
signal(SIGALRM, SIG_DFL);
}
-#ifdef __CYGWIN__
-void timerclear (tv)
-struct timeval *tv;
-{
- tv->tv_sec = 0;
- tv->tv_usec = 0;
-}
-#endif
-
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -