I see no output from "debug_printf ("returning %d", res);" in trace file
without this fix... gcc bug?
2002-11-04 Sergey Okhapkin <[EMAIL PROTECTED]>
* ioctl.cc (ioctl): Add default case.
Index: ioctl.cc
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/ioctl.cc,v
retrieving revision 1.18
diff -u -p -r1.18 ioctl.cc
--- ioctl.cc 4 Nov 2002 04:09:14 -0000 1.18
+++ ioctl.cc 5 Nov 2002 00:14:48 -0000
@@ -50,6 +50,8 @@ ioctl (int fd, int cmd, ...)
return tcsetattr (fd, TCSADRAIN, (struct termios *) argp);
case TCSETAF:
return tcsetattr (fd, TCSAFLUSH, (struct termios *) argp);
+ default:
+ break;
}
int res = cfd->ioctl (cmd, argp);
Sergey Okhapkin
Somerset, NJ